From owner-svn-src-projects@FreeBSD.ORG Mon Jul 30 15:37:48 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 292101065676; Mon, 30 Jul 2012 15:37:48 +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 EEEEE8FC19; Mon, 30 Jul 2012 15:37:47 +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 q6UFbl6R008011; Mon, 30 Jul 2012 15:37:47 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6UFblFD008009; Mon, 30 Jul 2012 15:37:47 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201207301537.q6UFblFD008009@svn.freebsd.org> From: Mark Linimon Date: Mon, 30 Jul 2012 15:37:47 +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: r238911 - 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: Mon, 30 Jul 2012 15:37:48 -0000 Author: linimon (doc,ports committer) Date: Mon Jul 30 15:37:47 2012 New Revision: 238911 URL: http://svn.freebsd.org/changeset/base/238911 Log: One more try. Modified: projects/portbuild/scripts/buildscript Modified: projects/portbuild/scripts/buildscript ============================================================================== --- projects/portbuild/scripts/buildscript Mon Jul 30 15:30:42 2012 (r238910) +++ projects/portbuild/scripts/buildscript Mon Jul 30 15:37:47 2012 (r238911) @@ -70,6 +70,20 @@ add_pkg() { else eval $pkg_cmd_add $i if [ $? -ne 0 ]; then +# XXX MCL this is where the truncated packages kill us. +# echo "begin debug block" +# echo +# echo "remember, you are in a chroot, with dir ${dir}" +# echo +# echo "PKG_PATH is $PKG_PATH and contains" +# ls -al $PKG_PATH +# echo +# df -g +# echo +# ps axwwl +# echo +# echo "end debug block" +# XXX MCL this is where the truncated packages kill us. echo "error in dependency $i, exiting" cleanup 0 fi @@ -166,7 +180,7 @@ pkg_sufx=${PKG_SUFX} # Use pkgng if available. #if [ -x /usr/sbin/pkg ]; then use_pkgng="no" -grep "^WITH_PKGNG[ ]*=" /etc/make.conf | sed -e "s/.*=//;s/ //" | grep "[Yy][Ee][Ss]$" && use_pkgng="yes" +grep "^WITH_PKGNG[ ]*=" /etc/make.conf | sed -e "s/.*=//;s/ //" | grep -q "[Yy][Ee][Ss]$" && use_pkgng="yes" # Keep restricted distfiles in a subdirectory for extra protection # against leakage @@ -267,6 +281,7 @@ else echo "================================================================" echo "========================================" +# XXX MCL this is where the truncated packages kill us. add_pkg ${BD} # Files we do not care about changing between pre-build and post-cleanup @@ -429,10 +444,10 @@ EOF grep -vE ' (extra|missing)$' /tmp/list3 > /tmp/list6 if [ "x${NOPLISTCHECK}" = "x" ]; then if grep -vq "$L/etc/" /tmp/list4; then - #echo "1" > /tmp/status + echo "1" > /tmp/status fi if [ -s /tmp/list5 ]; then - #echo "1" > /tmp/status + echo "1" > /tmp/status fi fi echo "================================================================"