[MacPorts] #24142: portindex evaluates platform variant for current platform and stores
#24142: portindex evaluates platform variant for current platform and stores ---------------------------------+------------------------------------------ Reporter: raimue@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.9.0 Component: base | Version: Keywords: portindex | Port: ---------------------------------+------------------------------------------ The portindex generation evaluates the platform variants for the current platform it is running on. If a generated PortIndex is then used on a different platform the information might be incorrect. This is a problem for different dependencies or for the replaced_by option. -- Ticket URL: <http://trac.macports.org/ticket/24142> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24142: portindex evaluates platform variant for current platform and stores ---------------------------------+------------------------------------------ Reporter: raimue@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.9.0 Component: base | Version: Keywords: portindex | Port: ---------------------------------+------------------------------------------ Comment(by raimue@…): This problem is currently existing on our main ports tree for example for darwinbuild, which uses `replaced_by darwinbuild-legacy` in the platform variants. The PortIndex is being generated on a darwin 9 machine, which causes upgrade to go for darwinbuild-legacy instead on any platform. -- Ticket URL: <http://trac.macports.org/ticket/24142#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24142: portindex evaluates platform variant for current platform and stores ---------------------------------+------------------------------------------ Reporter: raimue@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.9.0 Component: base | Version: Keywords: portindex | Port: ---------------------------------+------------------------------------------ Comment(by raimue@…): Possible solutions: * Make portindex ignore platform variants * Add another mportopen to macports::_upgrade to verify replaced_by before use * Always generate portindex locally, using a merging SQLite backend for speed -- Ticket URL: <http://trac.macports.org/ticket/24142#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24142: portindex evaluates platform variant for current platform and stores ---------------------------------+------------------------------------------ Reporter: raimue@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.9.0 Component: base | Version: Keywords: portindex | Port: ---------------------------------+------------------------------------------ Comment(by jmr@…): Might as well be a dupe of #17157, I think. -- Ticket URL: <http://trac.macports.org/ticket/24142#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24142: portindex evaluates platform variant for current platform and stores ----------------------------------+----------------------------------------- Reporter: raimue@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: Resolution: duplicate | Keywords: portindex Port: | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate * milestone: MacPorts 1.9.0 => -- Ticket URL: <http://trac.macports.org/ticket/24142#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts