Re: [MacPorts] #12989: port -f upgrade considered harmful
#12989: port -f upgrade considered harmful --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.5.0 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by jmr@…): Replying to [comment:9 stephen@…]:
When I say "port -f upgrade p5-pathtools" I expect p5-pathtools to be rebuilt. However, if I put -f in an upgrade command, I cannot predict how much will be rebuilt unless I'm wiling to trace the whole dependency graph.
There's a dry-run mode in trunk.
For example, IIRC if p5-pathtools depends on p5-foo, and both depend on perlt, you can expect perl to be rebuilt twice.
Actually, perl will only be rebuilt once.
OTOH, if you do -f -n then outdated prerequisites won't get rebuilt either.
If things are genuinely outdated then you don't have to use -f. Of course you do have to manually intervene and use -f on some of the activations, but that's #12710.
It's also an unsightly waste of space in cases like this where copies of files get replicated ad infinitum.
Again, the ports shouldn't conflict. #12710. -- Ticket URL: <http://trac.macports.org/ticket/12989#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts