[MacPorts] #43603: mu: universal variant
#43603: mu: universal variant --------------------------+-------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Keywords: | Port: mu --------------------------+-------------------- mu fails to build with the universal variant. Log attached. It would be easier to see why it failed (i.e. see where the `-arch` flags are missing) if you disabled silent build rules. -- Ticket URL: <https://trac.macports.org/ticket/43603> MacPorts <http://www.macports.org/> Ports system for OS X
#43603: mu: universal variant ---------------------------+---------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: haspatch Port: mu | ---------------------------+---------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: The attached patch fixes it for me, but it removes a block you added to fix an upstream bug that I cannot reproduce. -- Ticket URL: <https://trac.macports.org/ticket/43603#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43603: mu: universal variant ---------------------------+---------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: haspatch Port: mu | ---------------------------+---------------------- Comment (by sean@…): Replying to [comment:1 ryandesign@…]:
The attached patch fixes it for me, but it removes a block you added to fix an upstream bug that I cannot reproduce.
Do you need to remove that block in order to compile universal? This port has such odd corners (such as the c++11 and MACOSX_DEPLOYMENT_TARGET problems) that I just don't know, man. -- Ticket URL: <https://trac.macports.org/ticket/43603#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43603: mu: universal variant ---------------------------+---------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: haspatch Port: mu | ---------------------------+---------------------- Comment (by ryandesign@…): Yes, removing that block was what made the universal variant work. The block sets CXXFLAGS; it's not surprising to me that this would override the `-arch` flags MacPorts usually sets in the CXXFLAGS. Could you go into more detail about the issue you were fixing with that block? What OS X version were you on? Any unusual settings? -- Ticket URL: <https://trac.macports.org/ticket/43603#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43603: mu: universal variant ---------------------------+---------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: haspatch Port: mu | ---------------------------+---------------------- Comment (by sean@…): Replying to [comment:3 ryandesign@…]:
Yes, removing that block was what made the universal variant work. The block sets CXXFLAGS; it's not surprising to me that this would override the `-arch` flags MacPorts usually sets in the CXXFLAGS.
Could you go into more detail about the issue you were fixing with that block? What OS X version were you on? Any unusual settings?
I'm on mavericks and it was with mu-devel (forgot to check mu). I tried adding to the configure.cxxflags but mu wouldn't pick it up for some reason. I even tried adding to the cxxflags variable and then appending that to configure.args but still no dice. I would love for someone else to be able to take a look but it'd be hard to verify the errors because you'll need a mu database to test against. -- Ticket URL: <https://trac.macports.org/ticket/43603#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43603: mu: universal variant ---------------------------+---------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: haspatch Port: mu | ---------------------------+---------------------- Comment (by sean@…): Ok, I was able to fix this with help from `--disable-silent-rules` so thanks for that. I'll get your patch incorporated. -- Ticket URL: <https://trac.macports.org/ticket/43603#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43603: mu: universal variant ---------------------------+---------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: fixed | Keywords: haspatch Port: mu | ---------------------------+---------------------- Changes (by sean@…): * status: new => closed * resolution: => fixed Comment: Fixed in r119823, r119824, and r119825. Thanks for the report! -- Ticket URL: <https://trac.macports.org/ticket/43603#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts