Opened 4 years ago

Last modified 3 years ago

#62348 closed defect

wxWidgets broken on macOS BigSur due to XCode 12 issue — at Initial Version

Reported by: MSoegtropIMC Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: bigsur Cc:
Port: wxwidgets-3.0

Description

wxWidgets is broken on macOS BigSur due to a bug in XCode 12, which apparently has been fixed meanwhile, but the binaries supplied by MacPorts for wxWidgets are faulty.

See: https://lists.macports.org/pipermail/macports-users/2020-December/049255.html

The effect of the bug is that /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib contains modified copies of dylib files instead of symlinks. Several wxWidgets apps I tried on BigSur don't start for this reason (wxMaxima, FileZilla e.g.)

Recompiling wxWidgets locally with:

sudo port -f uninstall wxwidgets-3.0
sudo port -v -s install wxwidgets-3.0

fixes this. So in order to fix the wxWidgets port it might be sufficient to just recompile the current versions on the MacPorts servers. If the MacPorts build servers still have the old version of XCode, they need to be updated. The XCode version which has clang-1200.0.32.29 seems to work.

See ticket wxmaxima ticket (https://trac.macports.org/ticket/61933) for some discussion and history.

Many thanks @kencu for finding the root cause for this!

Change History (0)

Note: See TracTickets for help on using tickets.