Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2005 15:10:26 +1100
From:      Sam Lawrance <boris@brooknet.com.au>
To:        Randy Bush <randy@psg.com>
Cc:        ports@freebsd.org
Subject:   Re: Azureus_2.3.0.4 dependency missing
Message-ID:  <82BBCD8F-3064-4FEE-A683-93BB24B83448@brooknet.com.au>
In-Reply-To: <17260.11594.78899.465990@roam.psg.com>
References:  <17260.1322.542751.224777@roam.psg.com> <A43D26A9-2A45-4971-B95B-A5D2FB93F2D5@brooknet.com.au> <48BD55D4-C668-4538-92D3-0F44EAA20AC4@brooknet.com.au> <17260.3134.688977.462078@roam.psg.com> <2C2470C3-6E8B-4485-A99A-D2294DD54034@brooknet.com.au> <17260.3367.54955.183366@roam.psg.com> <BCA4196B-DD95-4251-9591-6EAA2AC8C35B@brooknet.com.au> <17260.7879.966887.506503@roam.psg.com> <20051105030046.GA34356@xor.obsecurity.org> <17260.8628.999676.370092@roam.psg.com> <20051105031744.GA50437@xor.obsecurity.org> <17260.11594.78899.465990@roam.psg.com>

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

On 05/11/2005, at 2:55 PM, Randy Bush wrote:

>> Look at the example in the pkg_which manpage and go through and clean
>> out all the old cruft you have on your system (back it up first in
>> case you make a mistake).
>>
>
> # find /usr/local /usr/X11R6 -type f | xargs pkg_which -v | fgrep  
> '?' | wc
>    37912   75824 2379746
>
> uh, piping that to awk and rm would be a total disaster.  it would
> remove all of the current perl port, and 42 similar pieces.  going
> through by hand finds little it would do that actually needs to be
> done.  something is very broken here.

Perl would be one of the major victims of having  
FORCE_PACKAGE_REGISTER always set.  Many Perl-related files are  
installed with a version in the pathname.

For example, when portupgrading after a perl upgrade, the dependency  
checks run by the port makefile look under the new version pathname  
rather than the old version one.  The port would find no file under  
the new version and so proceeds to install the dependency (which  
ordinarily would fail if FORCE_PKG_REGISTER is not set), leaving  
behind crusty remnants of the old version.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82BBCD8F-3064-4FEE-A683-93BB24B83448>