Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 07:53:44 +0100 (CET)
From:      Helge Oldach <portmanagernov05@oldach.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88778: sysutils/portmanager honors BUILD_DEPENDS and chokes on -ui
Message-ID:  <200511100653.jAA6riw4083370@sep.oldach.net>
Resent-Message-ID: <200511100700.jAA70U6c016010@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511100653.jAA6riw4083370>