repeated rebuilding

Ryan Schmidt ryandesign at macports.org
Wed Dec 10 18:14:17 PST 2008


On Dec 10, 2008, at 19:08, Christopher Vance wrote:

> On Wed, Dec 10, 2008 at 9:13 AM, Joshua Root <jmr at macports.org> wrote:
>> Christopher Vance wrote:
>>> When I do
>>>    port upgrade outdated
>>> some packages get rebuilt several times.
>>>
>>> Isn't port supposed to calculate and order transitive  
>>> dependencies to stop this?
>>
>> No, but it is meant to not rebuild anything that isn't outdated. What
>> you describe should not be possible unless you're using the -f  
>> option,
>> which causes ports to rebuilt even if they don't appear to be  
>> outdated.
>
> I had copied -f from a porticus run without understanding what it  
> meant.

Then that explains it. You basically never want to use "-f" with  
"port upgrade" unless you also use "-n". See:

http://trac.macports.org/ticket/12989




More information about the macports-users mailing list