Opened 11 years ago
Closed 11 years ago
#43603 closed defect (fixed)
mu: universal variant
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.99 |
Keywords: | haspatch | Cc: | |
Port: | mu |
Description
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.
Attachments (2)
Change History (8)
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 follow-up: 2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
The attached patch fixes it for me, but it removes a block you added to fix an upstream bug that I cannot reproduce.
comment:2 Changed 11 years ago by seanfarley (Sean Farley)
Replying to 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.
comment:3 follow-up: 4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
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?
comment:4 Changed 11 years ago by seanfarley (Sean Farley)
Replying to 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.
comment:5 Changed 11 years ago by seanfarley (Sean Farley)
Ok, I was able to fix this with help from --disable-silent-rules
so thanks for that. I'll get your patch incorporated.
comment:6 Changed 11 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | new → closed |
proposed patch