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

MacPorts noreply at macports.org
Sun Mar 14 23:09:28 UTC 2021


#62348: wxWidgets broken on macOS BigSur due to XCode 12 issue
----------------------------+----------------------
  Reporter:  MSoegtropIMC   |      Owner:  mojca
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:  bigsur
      Port:  wxwidgets-3.0  |
----------------------------+----------------------

Old 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!

New 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 (#61933) for some discussion and history.

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

--

Comment (by ryandesign):

 I've updated both of the macOS 11 worker machines to macOS 11.2.3 and
 Xcode 12.4, which some claim fixes this issue. I have not verified that.

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


More information about the macports-tickets mailing list