From owner-svn-src-projects@FreeBSD.ORG Tue May 22 02:37:04 2012 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8660106566C; Tue, 22 May 2012 02:37:04 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D47578FC0A; Tue, 22 May 2012 02:37:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4M2b4GG083154; Tue, 22 May 2012 02:37:04 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4M2b49e083152; Tue, 22 May 2012 02:37:04 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201205220237.q4M2b49e083152@svn.freebsd.org> From: Mark Linimon Date: Tue, 22 May 2012 02:37:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r235770 - projects/portbuild/scripts X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2012 02:37:05 -0000 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