Opened 4 years ago

Closed 21 months ago

#62206 closed defect (fixed)

wxWidgets-3.2 @3.1.4_1+universal: clang: error: invalid arch name '-arch -arch'

Reported by: tellowkrinkle (TellowKrinkle) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: elfmz
Port: wxWidgets-3.2

Description (last modified by tellowkrinkle (TellowKrinkle))

Build fails with +universal

Seems some package is mangling the cflags/cxxflags/ldflags and turning -arch x86_64 -arch i386 into -arch -arch. Clearing configure.universal_cflags, configure.universal_ldflags, etc in the portfile (so that the arch declaration only goes through the configure --enable-universal_binary=x86_64,i386 command line argument) seems to fix it, though I don't know if that's the proper way to do things

Attachments (1)

main.log (64.0 KB) - added by tellowkrinkle (TellowKrinkle) 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by tellowkrinkle (TellowKrinkle)

Attachment: main.log added

comment:1 Changed 4 years ago by tellowkrinkle (TellowKrinkle)

Description: modified (diff)

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to mojca
Status: newassigned
Summary: wxWidgets-3.2 @ 3.1.4_1 Universal build failswxWidgets-3.2 @3.1.4_1: Universal build fails

Weird! Thank you for reporting.

comment:3 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: elfmz added
Summary: wxWidgets-3.2 @3.1.4_1: Universal build failswxWidgets-3.2 @3.1.4_1+universal: clang: error: invalid arch name '-arch -arch'

Has duplicate #67010.

comment:4 Changed 21 months ago by tellowkrinkle (TellowKrinkle)

Resolution: fixed
Status: assignedclosed

In 042f7ee70459fd636f8641ac26640eb53a768609/macports-ports (master):

wxWidgets-3.2: Fix universal build

Closes: #62206

Note: See TracTickets for help on using tickets.