Date: Sat, 25 Nov 2006 14:05:21 +0000 From: "James O'Gorman" <james@netinertia.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dougb@FreeBSD.org Subject: ports/105846: Bug in make build-depends-list lists incorrect dependencies Message-ID: <E1Gny9h-000LAr-Mt@starbug.netinertia.co.uk> Resent-Message-ID: <200611251410.kAPEABE6016306@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105846 >Category: ports >Synopsis: Bug in make build-depends-list lists incorrect dependencies >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: Sat Nov 25 14:10:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: James O'Gorman >Release: FreeBSD 6.0-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD starbug.netinertia.co.uk 6.0-RELEASE-p11 FreeBSD 6.0-RELEASE-p11 #0: Wed Sep 13 14:27:48 BST 2006 root@starbug.netinertia.co.uk:/usr/obj/usr/src/sys/STARBUG i386 >Description: When running make build-depends-list, the list produced is not always accurate: For e.g. www/trac defines BUILD_DEPENDS as: BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite20 \ ${PYTHON_SITELIBDIR}/neo_cgi.so:${PORTSDIR}/www/clearsilver-python \ ${PYTHON_SITELIBDIR}/svn/__init__.py:${PORTSDIR}/devel/subversion-python However: starbug:/usr/ports/www/trac# make -VPYTHON_SITELIBDIR /usr/local/lib/python2.4/site-packages starbug:/usr/ports/www/trac# ls -l /usr/local/lib/python2.4/site-packages/svn/__init__.py -rw-r--r-- 1 root wheel 760 25 Nov 13:31 /usr/local/lib/python2.4/site-packages/svn/__init__.py starbug:/usr/ports/www/trac# make build-depends-list /usr/ports/databases/py-pysqlite20 /usr/ports/devel/subversion-python /usr/ports/lang/python24 /usr/ports/www/clearsilver-python build-depends-list should not display devel/subversion-python as the required file already exists (devel/subversion is installed with WITH_PYTHON). This confuses portmaster as it tries to install devel/subversion-python when it shouldn't. >How-To-Repeat: Install devel/subversion with WITH_PYTHON=yes, and install www/trac using sysutils/portmaster. Portmaster incorrectly identifies devel/subversion-python as a dependency as it relies on build-depends-list. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Gny9h-000LAr-Mt>