From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 20 03:50:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB04E33E for ; Tue, 20 Nov 2012 03:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id ADAA48FC12 for ; Tue, 20 Nov 2012 03:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAK3o0li086632 for ; Tue, 20 Nov 2012 03:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAK3o0Yh086628; Tue, 20 Nov 2012 03:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 20 Nov 2012 03:50:00 GMT Resent-Message-Id: <201211200350.qAK3o0Yh086628@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7D7E338 for ; Tue, 20 Nov 2012 03:49:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 8E6BA8FC13 for ; Tue, 20 Nov 2012 03:49:15 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qAK3nFi5017881 for ; Tue, 20 Nov 2012 03:49:15 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qAK3nFBX017880; Tue, 20 Nov 2012 03:49:15 GMT (envelope-from nobody) Message-Id: <201211200349.qAK3nFBX017880@red.freebsd.org> Date: Tue, 20 Nov 2012 03:49:15 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173731: [bsd.ports.mk] Doesn't clean dependency directory if not installed or call reinstall; results in build failure later X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 03:50:00 -0000 >Number: 173731 >Category: ports >Synopsis: [bsd.ports.mk] Doesn't clean dependency directory if not installed or call reinstall; results in build failure later >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 20 03:50:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9.1-PRERELEASE >Organization: EMC Isilon >Environment: FreeBSD forza.west.isilon.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r240770: Thu Sep 20 19:28:45 PDT 2012 gcooper@forza.west.isilon.com:/usr/obj/usr/src/sys/FORZA i386 >Description: I started a build in a chroot with a "tainted" ${WRKSRC} for gmake and instead of it properly installing the package, it noticed that it was missing and kept on going. Example: ===> Found saved configuration for postgresql-client-9.0.10 ===> Extracting for postgresql-client-9.0.10 => SHA256 Checksum OK for postgresql/postgresql-9.0.10.tar.bz2. ===> Patching for postgresql-client-9.0.10 ===> Applying FreeBSD patches for postgresql-client-9.0.10 ===> postgresql-client-9.0.10 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Returning to build of postgresql-client-9.0.10 ===> postgresql-client-9.0.10 depends on shared library: xml2.5 - not found ===> Verifying install for xml2.5 in /usr/ports/textproc/libxml2 ===> Extracting for libxml2-2.7.8_5 => SHA256 Checksum OK for gnome2/libxml2-2.7.8.tar.gz. ===> Patching for libxml2-2.7.8_5 ===> Applying FreeBSD patches for libxml2-2.7.8_5 /usr/bin/find /usr/ports/textproc/libxml2/work/libxml2-2.7.8 -type f -name configure -exec /bin/sh -c " mtime=\$(date -r \$(stat -f '%m' \$0) '+%Y%m%d%H%M.%S'); /usr/bin/sed -i '.batman' -e 's|freebsd1\*)|freebsd1.\*)|g' -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \$0; touch -mt \$mtime \$0" {} \; || /usr/bin/true ===> libxml2-2.7.8_5 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Returning to build of libxml2-2.7.8_5 .. configure: creating ./config.status config.status: creating libxml2.spec config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/libxml/Makefile config.status: creating doc/Makefile config.status: creating doc/examples/Makefile config.status: creating doc/devhelp/Makefile config.status: creating example/Makefile config.status: creating python/Makefile config.status: creating python/tests/Makefile config.status: creating xstc/Makefile config.status: creating include/libxml/xmlversion.h config.status: creating xml2-config config.status: creating libxml-2.0.pc config.status: creating libxml-2.0-uninstalled.pc config.status: creating python/setup.py config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory Done configuring ===> Building for libxml2-2.7.8_5 env: gmake: No such file or directory *** [do-build] Error code 1 Stop in /usr/ports/textproc/libxml2. *** [lib-depends] Error code 1 Stop in /usr/ports/databases/postgresql90-client. *** [install] Error code 1 Stop in /usr/ports/databases/postgresql90-client. *** [lib-depends] Error code 1 Stop in /usr/ports/databases/py-PyGreSQL. >How-To-Repeat: cd /usr/ports/devel/gmake; make install # Mount same ports tree in a chroot or over NFS without devel/gmake installed. cd /usr/ports/textproc/libxml2; make install >Fix: If the dependency was not fulfilled for a given package, the port should be cleaned (there's no telling what the port was build for previously, so instead of being smart, it's best to rebuild the port). >Release-Note: >Audit-Trail: >Unformatted: