Date: Tue, 22 May 2012 02:37:04 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r235770 - projects/portbuild/scripts Message-ID: <201205220237.q4M2b49e083152@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon (doc,ports committer) Date: Tue May 22 02:37:04 2012 New Revision: 235770 URL: http://svn.freebsd.org/changeset/base/235770 Log: Add two more cases to "fetch". These have arisen due to our new restrictions on package builds which were previously able to access the network post-"make extract". Several ports fail due to not obeying this restriction. While here, add a backstop to check to see if the log is incomplete. Since this rarely happens, put it all the way at the end. Modified: projects/portbuild/scripts/processonelog Modified: projects/portbuild/scripts/processonelog ============================================================================== --- projects/portbuild/scripts/processonelog Tue May 22 02:24:52 2012 (r235769) +++ projects/portbuild/scripts/processonelog Tue May 22 02:37:04 2012 (r235770) @@ -122,7 +122,7 @@ elif bzgrep -qE "((Can't|unable to) open reason="DISPLAY"; tag="display" elif bzgrep -qE '(No checksum recorded for|(Maybe|Either) .* is out of date, or)' $1; then reason="distinfo_update"; tag="distinfo" -elif bzgrep -qE "Member name contains .\.\." $1; then +elif bzgrep -qE "(error.*hostname nor servname provided|fetch:.*No address record|Member name contains .\.\.)" $1; then reason="fetch"; tag="fetch" elif bzgrep -qE "(pnohang: killing make checksum|fetch: transfer timed out)" $1; then reason="fetch_timeout"; tag="fetch-timeout" @@ -177,6 +177,10 @@ elif bzgrep -q "pkg_create: make_dist: t elif bzgrep -q "Segmentation fault" $1; then reason="segfault"; tag="segfault" +# note: searching for string-not-found here (builds that terminated early) +elif [ ! bzgrep -qE "^build of .* ended at" $1 ]; then + reason="cluster"; tag="cluster" + else reason="???"; tag="unknown" fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205220237.q4M2b49e083152>