[MacPorts] #30392: Variant conflict causes port info to fail
#30392: Variant conflict causes port info to fail ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: ------------------------------------------+--------------------------------- I'm running the latest macports from trunk. I see the following strange error with the splash port: {{{ $ port info splash Error: splash: Variant gcc45 conflicts with gcc44 Error: Unable to open port: Error evaluating variants }}} In the portfile I see the following: {{{ default_variants +gcc44 +pgplot }}} And in my variants.conf file I have the following: {{{ +python26 +gcc45 }}} So it appears that variants with {{{conflicts}}} should not appear in {{{default_variants}}}. I'm not sure where the problem is exactly, base or the port. But certainly {{{port info}}} does not need to evaluate variants before executing. I'm Cc'ing the maintainer of the splash port. -- Ticket URL: <https://trac.macports.org/ticket/30392> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30392: Variant conflict causes port info to fail ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): @ daniel.price: The splash port needs to remove +gcc44 as a default_variant and instead use something like the following. Is it alright if I update the port? {{{ if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { default_variants +gcc44 } }}} -- Ticket URL: <https://trac.macports.org/ticket/30392#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30392: splash: gcc44 should not be default variant if user chooses other gcc variant ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: splash ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * port: => splash -- Ticket URL: <https://trac.macports.org/ticket/30392#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30392: splash: gcc44 should not be default variant if user chooses other gcc variant ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: splash ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): @ryandesign: I still think that there is "base" issue involved here. -- Ticket URL: <https://trac.macports.org/ticket/30392#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30392: splash: gcc44 should not be default variant if user chooses other gcc variant ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: splash ------------------------------------------+--------------------------------- Comment(by daniel.price@…): Hi @macsforever2000, Sorry about that! I've made the changes in the Portfile. There were some other things to fix as @ryandesign mentioned (from http://lists.macosforge.org/pipermail /macports-dev/2011-June/014932.html) so I've done these at the same time. Hopefully that should all work as expected now. In general though you should feel free to make changes. (New Portfile attached) Daniel -- Ticket URL: <https://trac.macports.org/ticket/30392#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30392: splash: gcc44 should not be default variant if user chooses other gcc variant ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: splash ------------------------------------------+--------------------------------- Comment(by daniel.price@…): btw, I've (re-)tested the Portfile on my own machine and seems to work OK -- Ticket URL: <https://trac.macports.org/ticket/30392#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30392: splash: gcc44 should not be default variant if user chooses other gcc variant ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: splash ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * component: base => ports Comment: Replying to [comment:3 macsforever2000@…]:
@ryandesign: I still think that there is "base" issue involved here.
Let's discuss that on the mailing list then, to come to an agreement about what the issue is and how it should be solved. This ticket is specifically about resolving this problem for the splash port. -- Ticket URL: <https://trac.macports.org/ticket/30392#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30392: splash: gcc44 should not be default variant if user chooses other gcc variant ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: splash ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): splash updated in r82451. -- Ticket URL: <https://trac.macports.org/ticket/30392#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30392: splash: gcc44 should not be default variant if user chooses other gcc variant -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: Port: splash | -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/30392#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts