[MacPorts] #62348: wxWidgets broken on macOS BigSur due to XCode 12 issue

MacPorts noreply at macports.org
Mon Feb 22 18:07:26 UTC 2021


#62348: wxWidgets broken on macOS BigSur due to XCode 12 issue
--------------------------+-----------------------
 Reporter:  MSoegtropIMC  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:  bigsur        |       Port:  wxWidgets
--------------------------+-----------------------
 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!

-- 
Ticket URL: <https://trac.macports.org/ticket/62348>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list