Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2009 16:27:41 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portmaster is not always recursive
Message-ID:  <4A99B96D.3060106@FreeBSD.org>
In-Reply-To: <4A999B4A.3000603@quip.cz>
References:  <4A89CB20.3000408@quip.cz> <4A8E2121.6040507@FreeBSD.org> <4A8E8ACA.3060705@quip.cz> <4A8EF583.8090806@FreeBSD.org> <4A9966FE.7060509@quip.cz> <4A998242.80005@FreeBSD.org> <4A999B4A.3000603@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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




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