portmaster is not always recursive

Doug Barton dougb at FreeBSD.org
Sat Aug 29 23:27:52 UTC 2009


Miroslav Lachman wrote:
> Doug Barton wrote:
>> Miroslav Lachman wrote:
>>
>>
>>> I have another case, where portmaster did not update dependency.
>>>
>>> I started with the following list of available updates
>>>
>>> root at elsa ~/# portmaster fetch update && pkg_version -vIL =
>>> apache-2.2.11_7               <  needs updating (index has 2.2.13)
>>
>>
>> Portmaster doesn't use the INDEX file at all, so all bets are off at
>> this point. However ...
> 
> I know it, the same output is produced by pkg_version -vL =, -vIL = is
> just faster, 

That's true as long as the INDEX file is in synch with the ports tree,
which is not guaranteed. For portmaster purposes you're better off
with portmaster -L. See the man page for a handy alias suggestion to
strip down the output to just what needs updating.

> but ports tree was fresh.
> The first part of the command was `portsnap fetch update`, it was my
> typo in the e-mail, not on the commandline.

Yes, I figured that. :)

> Your list of dependencies was with default OPTIONS for PHP5 port, but I
> am not using defaults.

Ok, I'm not sure what to tell you about this one, I'll need more
information. Please do the following:

1. Make sure you are using portmaster version 2.11
2. Add -x to the end of the shebang line in /usr/local/sbin/portmaster
3. Do 'script pm.log'
4. In the script session, do: portmaster -HDv php5-mcrypt

Then send me the pm.log, it will be quite long so I wouldn't bother
posting it.


Doug

-- 

    This .signature sanitized for your protection



More information about the freebsd-ports mailing list