[MacPorts] #17992: non-installed ports cause warning about non-matching variants on upgrade
MacPorts
noreply at macports.org
Wed Jan 14 07:16:47 PST 2009
#17992: non-installed ports cause warning about non-matching variants on upgrade
------------------------------+---------------------------------------------
Reporter: jmr@… | Owner: gwhitney@…
Type: defect | Status: assigned
Priority: Normal | Milestone: MacPorts Future
Component: base | Version: 1.8.0
Keywords: | Port:
------------------------------+---------------------------------------------
Comment(by jmr@…):
Upgrading anything with a soft dependency on XFree86 is sufficient to
reproduce (with XFree86 not installed). E.g. `sudo port upgrade graphviz`.
Nothing needs to be outdated.
I think the hack is there because it blindly compares version_installed to
version_in_tree, without first checking if the port is in fact installed
(and hence if version_installed exists). So the former is set to the
latter earlier on.
It would of course be far better to avoid such hacks altogether. The whole
upgrade proc really needs a good cleanup and refactor.
Your change was good, but now we just need to file off the rough edges.
--
Ticket URL: <http://trac.macports.org/ticket/17992#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list