#67010 closed defect (duplicate)

wxWidgets-3.2 fails to install as universal (arm64 + x86_64) — has PR

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

Description

Setup:

  • MacOS Big Sur x86-64
  • macports.conf contains following directive:
universal_archs     	arm64 x86_64
  • variants.conf contains following directive:
+universal

Running: sudo port install wxWidgets-3.2 +universal Installation fails, giving following errors in main.log:

:info:build /usr/bin/clang -c -o wxregex_pcre2_auto_possess.o -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/work/wxWidgets-3.2.2.1/build/lib/wx/include/osx_cocoa-unicode-3.2 -I../include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -D_FILE_OFFSET_BITS=64  -DNDEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/work/wxWidgets-3.2.2.1/build/3rdparty/pcre/src -D__WX__ -DHAVE_CONFIG_H -DPCRE2_CODE_UNIT_WIDTH=32 -Wall -Wundef -arch arm64 -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch -arch -fno-common  -fvisibility=hidden -dynamic -fPIC -DPIC -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch arm64 -arch x86_64 ../3rdparty/pcre/src/pcre2_auto_possess.c
:info:build /usr/bin/clang -c -o wxregex_pcre2_compile.o -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/work/wxWidgets-3.2.2.1/build/lib/wx/include/osx_cocoa-unicode-3.2 -I../include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -D_FILE_OFFSET_BITS=64  -DNDEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/work/wxWidgets-3.2.2.1/build/3rdparty/pcre/src -D__WX__ -DHAVE_CONFIG_H -DPCRE2_CODE_UNIT_WIDTH=32 -Wall -Wundef -arch arm64 -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch -arch -fno-common  -fvisibility=hidden -dynamic -fPIC -DPIC -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch arm64 -arch x86_64 ../3rdparty/pcre/src/pcre2_compile.c
:info:build /usr/bin/clang -c -o wxregex_pcre2_config.o -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/work/wxWidgets-3.2.2.1/build/lib/wx/include/osx_cocoa-unicode-3.2 -I../include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -D_FILE_OFFSET_BITS=64  -DNDEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/work/wxWidgets-3.2.2.1/build/3rdparty/pcre/src -D__WX__ -DHAVE_CONFIG_H -DPCRE2_CODE_UNIT_WIDTH=32 -Wall -Wundef -arch arm64 -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch -arch -fno-common  -fvisibility=hidden -dynamic -fPIC -DPIC -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch arm64 -arch x86_64 ../3rdparty/pcre/src/pcre2_config.c
:info:build /usr/bin/clang -c -o wxregex_pcre2_context.o -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/work/wxWidgets-3.2.2.1/build/lib/wx/include/osx_cocoa-unicode-3.2 -I../include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -D_FILE_OFFSET_BITS=64  -DNDEBUG -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_wxWidgets-3.2/wxWidgets-3.2/work/wxWidgets-3.2.2.1/build/3rdparty/pcre/src -D__WX__ -DHAVE_CONFIG_H -DPCRE2_CODE_UNIT_WIDTH=32 -Wall -Wundef -arch arm64 -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch -arch -fno-common  -fvisibility=hidden -dynamic -fPIC -DPIC -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -arch arm64 -arch x86_64 ../3rdparty/pcre/src/pcre2_context.c
:info:build clang: error: invalid arch name '-arch -arch'
:info:build clang: error: invalid arch name '-arch -arch'

Change History (6)

comment:1 Changed 21 months ago by elfmz

Also one additional note: wxWidgets-3.0 installed fine in same env, but it has other problems that prevent me from using it, so i need wxWidgets-3.2 but not 3.0

comment:3 Changed 21 months ago by kencu (Ken)

Summary: wxWidgets-3.2 fails to install as universal (arm64 + x86_64)wxWidgets-3.2 fails to install as universal (arm64 + x86_64) — has PR

comment:4 Changed 21 months ago by kencu (Ken)

looks like this is a duplicate of #62206

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

Owner: set to mojca
Port: wxWidgets-3.2 added
Status: newassigned

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

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.