From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 10 07:00:33 2005 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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FB5316A41F for ; Thu, 10 Nov 2005 07:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87F7743D55 for ; Thu, 10 Nov 2005 07:00:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAA70UIQ016011 for ; Thu, 10 Nov 2005 07:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAA70U6c016010; Thu, 10 Nov 2005 07:00:30 GMT (envelope-from gnats) Resent-Date: Thu, 10 Nov 2005 07:00:30 GMT Resent-Message-Id: <200511100700.jAA70U6c016010@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, Helge Oldach Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 326FD16A41F for ; Thu, 10 Nov 2005 06:53:53 +0000 (GMT) (envelope-from hmo@sep.oldach.net) Received: from rigel.oldach.net (rigel.oldach.net [194.8.96.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CAA143D45 for ; Thu, 10 Nov 2005 06:53:51 +0000 (GMT) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (p548F8CAC.dip0.t-ipconnect.de [84.143.140.172]) by rigel.oldach.net (8.13.4/8.13.4/hmo30jul04) with ESMTP id jAA6rjak075814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 10 Nov 2005 07:53:47 +0100 (CET) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1]) by sep.oldach.net (8.13.4/8.13.4/hmo26jun05) with ESMTP id jAA6riCr083371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 10 Nov 2005 07:53:45 +0100 (CET) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.13.4/8.13.4/Submit/hmo26jun05) id jAA6riw4083370; Thu, 10 Nov 2005 07:53:44 +0100 (CET) (envelope-from hmo) Message-Id: <200511100653.jAA6riw4083370@sep.oldach.net> Date: Thu, 10 Nov 2005 07:53:44 +0100 (CET) From: Helge Oldach To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/88778: sysutils/portmanager honors BUILD_DEPENDS and chokes on -ui X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Helge Oldach List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 07:00:33 -0000 >Number: 88778 >Category: ports >Synopsis: sysutils/portmanager honors BUILD_DEPENDS and chokes on -ui >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: Thu Nov 10 07:00:29 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD localhost 4.11-STABLE FreeBSD 4.11-STABLE #2197: Tue Oct 18 00:25:48 CEST 2005 toor@localhost:/usr/obj/usr/src/sys/GENERIC i386 >Description: Since 0.3.3_2 portmanager changed behaviour. a) It now also honors BUILD_DEPENDS and rebuilds all ports that depend on a port that has BUILD_DEPENDS defined, even if those are not installed. Actually they are "leaf" ports, so it is safe to have them deleted. It is just pointless to build these ports, in particular, as the *depending* port itself is NOT rebuilt by portmanager. Example: sysutils/uptimed depends on devel/libtool15. This is a BUILD_DEPENDS and is indeed marked as such by "make -V". There is no RUN_DEPENDS with sysutils/uptimed. If I (intentionally) delete devel/libtool15, portmanager will rebuild it. However it will NOT rebuild sysutils/uptimed. I was initially thinking that this was just a paradigm change that should just be documented, but after thinking about it, I believe this is just wrong. As a minimum there should be a knob to to enable the old behaviour. b) -ui doesn't work: rCreateCommandLineDb 0.3.3_2 info: executing rm -f /usr/local/share/portmanager/commandLine.db rParseCommandLine 0.3.3_2 error: /usr/ports/-ui is not a valid port directory rParseCommandLine 0.3.3_2 info:either you have used an invalid command line switch as the first option or you are trying to update a non existent port path, see man portmanager(1) MGPMrCommandLine 0.3.3_2 error: rParseCommandLine returned errorCode 1 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: