From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 25 14:10:13 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2BEF16A407 for ; Sat, 25 Nov 2006 14:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74EDA43D55 for ; Sat, 25 Nov 2006 14:09:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kAPEABQm016311 for ; Sat, 25 Nov 2006 14:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kAPEABE6016306; Sat, 25 Nov 2006 14:10:11 GMT (envelope-from gnats) Resent-Date: Sat, 25 Nov 2006 14:10:11 GMT Resent-Message-Id: <200611251410.kAPEABE6016306@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, "James O'Gorman" Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB09916A412; Sat, 25 Nov 2006 14:05:08 +0000 (UTC) (envelope-from jamesog@starbug.netinertia.co.uk) Received: from starbug.netinertia.co.uk (starbug.netinertia.co.uk [217.147.82.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC47343D46; Sat, 25 Nov 2006 14:04:20 +0000 (GMT) (envelope-from jamesog@starbug.netinertia.co.uk) Received: from jamesog by starbug.netinertia.co.uk with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Gny9h-000LAr-Mt; Sat, 25 Nov 2006 14:05:21 +0000 Message-Id: Date: Sat, 25 Nov 2006 14:05:21 +0000 From: "James O'Gorman" Sender: "James O'Gorman" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: dougb@FreeBSD.org Subject: ports/105846: Bug in make build-depends-list lists incorrect dependencies X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: James O'Gorman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2006 14:10:13 -0000 >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: