Opened 10 years ago

Closed 10 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)

main.log (128.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.
mu.diff (1.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.
proposed patch

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: mu.diff added

proposed patch

comment:1 Changed 10 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 in reply to:  1 Changed 10 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 Changed 10 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 in reply to:  3 Changed 10 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 10 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 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Fixed in r119823, r119824, and r119825. Thanks for the report!

Note: See TracTickets for help on using tickets.