Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 17:43:51 -0400
From:      "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Scot Hetzel <swhetzel@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: ports structure -- problem with pkgtools.conf
Message-ID:  <C5455193-5F02-44DF-B305-5039B9678D88@ece.cmu.edu>
In-Reply-To: <p06230927c086afe16971@[128.113.24.47]>
References:  <20060508200926.GA6005@daemons.gr> <1147119806.18944.59.camel@ikaros.oook.cz> <20060508203709.GA32661@daemons.gr> <747dc8f30605090333s39680f91l79a2beddd2f8b829@mail.gmail.com> <20060509144751.GU3099@numachi.com> <790a9fff0605090831o4e8efbaarf53ca844bb348758@mail.gmail.com> <p06230927c086afe16971@[128.113.24.47]>

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

On May 9, 2006, at 4:50 PM, Garance A Drosihn wrote:

> At 10:31 AM -0500 5/9/06, Scot Hetzel wrote:
>> The problem with pkgtools.conf (and all the other port
>> management tools) is that it only works for the port
>> that you are currently building.  If that port has
>> dependancies, the settings in pkgtools.conf for the
>> dependancies are not applied to the dependent port.
>> Instead you need to build the dependent ports first.
>
> Seems to me I have hit occasions where portupgrade
> did not seem to catch some dependency, but that
> dependency was in fact built when I went to build
> my original target-port.  But I forget in what
> circumstances that has come up.

That's a different bug:  portupgrade doesn't update its internal  
database to account for dependencies having been built by the ports  
system itself.

I've been bitten by both of these, and have since migrated to  
make.conf instead of pkgtools.conf (this still leaves the above bug,  
but I work around it with "FORCE_PKG_REGISTER=1 portupgrade ..." ---  
probably this has risks though).

-- 
brandon s. allbery     [linux,solaris,freebsd,perl]       
allbery@kf8nh.com
system administrator  [openafs,heimdal,too many hats]   
allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university       
KF8NH





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C5455193-5F02-44DF-B305-5039B9678D88>