[MacPorts] #15520: upgrade processes the same dep multiple times if different depspecs are used
#15520: upgrade processes the same dep multiple times if different depspecs are used ------------------------------+--------------------------------------------- Reporter: jmr@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Low | Milestone: MacPorts base bugs Component: ports | Version: 1.7.0 Keywords: | ------------------------------+--------------------------------------------- The depscache is meant to prevent the same port from being upgraded more than once. However, it stores full depspecs, so if one port depends on bin:perl:perl5.8 and another on port:perl5.8, perl5.8 will be upgraded twice. This is usually a non-issue, but it causes extra port rebuilds if -f is used. I suggest a two-part fix: 1. Always skip processing foo if port:foo is in the depscache, and 2. When processing a dep with a depspec other than port:, add a port: entry to the depscache if and only if the port actually ends up being installed. -- Ticket URL: <http://trac.macports.org/ticket/15520> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15520: upgrade processes the same dep multiple times if different depspecs are used -------------------------------+-------------------------------------------- Reporter: jmr@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Low | Milestone: MacPorts base bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: -------------------------------+-------------------------------------------- Changes (by jmr@macports.org): * status: new => closed * resolution: => fixed Comment: Committed the fix in r37433. -- Ticket URL: <http://trac.macports.org/ticket/15520#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15520: upgrade processes the same dep multiple times if different depspecs are used -------------------------------+-------------------------------------------- Reporter: jmr@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Low | Milestone: MacPorts 1.7.0 Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: | -------------------------------+-------------------------------------------- Changes (by jmr@…): * milestone: MacPorts Future => MacPorts 1.7.0 -- Ticket URL: <http://trac.macports.org/ticket/15520#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15520: upgrade processes the same dep multiple times if different depspecs are used -------------------------------+-------------------------------------------- Reporter: jmr@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Low | Milestone: MacPorts 1.7.0 Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | -------------------------------+-------------------------------------------- Changes (by jmr@…): * component: ports => base -- Ticket URL: <http://trac.macports.org/ticket/15520#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts