Opened 4 months ago

Closed 3 months ago

Last modified 3 months ago

#62348 closed defect (fixed)

wxWidgets broken on macOS BigSur due to XCode 12 issue

Reported by: MSoegtropIMC Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: bigsur Cc:
Port: wxwidgets-3.0

Description (last modified by ryandesign (Ryan Schmidt))

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!

Change History (13)

comment:1 Changed 4 months ago by MSoegtropIMC

P.S.: I tested today on a freshly installed BigSur machine that MacPorts as of today supplies faulty wxWidgets shared libraries.

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

wxwidgets just needs a revbump, but only Ryan knows if the buildbot has been updated to the newest Xcode which has to be done first.

It was Ryan who first noticed back in November that install_name_tool was broken and opened up the Apple Radar for it -- my only contribution here, if any, was to notice that it appears that install_name_tool has since been fixed :>

Last edited 4 months ago by kencu (Ken) (previous) (diff)

comment:3 Changed 4 months ago by jmroot (Joshua Root)

Owner: set to mojca
Port: wxwidgets-3.0 added; wxWidgets removed
Status: newassigned

comment:4 Changed 4 months ago by cctile (Charles Choi)

Seeing this issue as well, impacts gnuplot

cchoi@cchoi-C02T90MGG8WL:~> gnuplot
objc[85767]: Class wxNSAppController is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721dc40) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cc40). One of the two will be used. Which one is undefined.
objc[85767]: Class ModalDialogDelegate is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721dc68) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cc68). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSApplication is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721dcb8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607ccb8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxCPWCDelegate is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721dd08) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cd08). One of the two will be used. Which one is undefined.
objc[85767]: Class wxMacFontPanelAccView is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721dd58) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cd58). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSButton is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721ddd0) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cdd0). One of the two will be used. Which one is undefined.
objc[85767]: Class wxDisclosureNSButton is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721ddf8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cdf8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSPopUpButton is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721de70) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607ce70). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSComboBox is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721de98) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607ce98). One of the two will be used. Which one is undefined.
objc[85767]: Class DropSourceDelegate is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721dee8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cee8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxOpenPanelDelegate is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721df38) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cf38). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSProgressIndicator is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721dfb0) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cfb0). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSTableColumn is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721dfd8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607cfd8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSTableDataSource is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e028) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d028). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSTableView is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e0a0) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d0a0). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSMenu is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e0c8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d0c8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSMenuController is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e118) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d118). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSMenuItem is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e168) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d168). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSWindow is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e1b8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d1b8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSPanel is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e208) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d208). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNonOwnedWindowController is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e258) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d258). One of the two will be used. Which one is undefined.
objc[85767]: Class wxTabViewController is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e2a8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d2a8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSTabView is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e320) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d320). One of the two will be used. Which one is undefined.
objc[85767]: Class WXCTabViewImageItem is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e348) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d348). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSRadioButton is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e398) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d398). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSScroller is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e410) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d410). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSSlider is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e460) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d460). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSStepper is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e4b0) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d4b0). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSSearchField is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e4d8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d4d8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSBox is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e550) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d550). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSStaticTextView is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e578) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d578). One of the two will be used. Which one is undefined.
objc[85767]: Class wxMaximumLengthFormatter is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e5c8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d5c8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSSecureTextField is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e640) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d640). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSTextScrollView is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e690) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d690). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSTextFieldEditor is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e6b8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d6b8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSTextView is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e730) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d730). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSTextField is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e758) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d758). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSToolbarItem is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e7a8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d7a8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSToolbarDelegate is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e7f8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d7f8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSToolbar is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e848) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d848). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSToolBarButton is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e898) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d898). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSView is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e8e8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d8e8). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSAnimationDelegate is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10721e938) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10607d938). One of the two will be used. Which one is undefined.
objc[85767]: Class wxPointerObject is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e503e0) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf3e0). One of the two will be used. Which one is undefined.
objc[85767]: Class wxCustomRendererObject is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e50430) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf430). One of the two will be used. Which one is undefined.
objc[85767]: Class wxDVCNSTableColumn is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e50480) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf480). One of the two will be used. Which one is undefined.
objc[85767]: Class wxSortDescriptorObject is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e504d0) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf4d0). One of the two will be used. Which one is undefined.
objc[85767]: Class wxCocoaOutlineDataSource is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e50520) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf520). One of the two will be used. Which one is undefined.
objc[85767]: Class wxCustomCell is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e50598) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf598). One of the two will be used. Which one is undefined.
objc[85767]: Class wxImageTextCell is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e505c0) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf5c0). One of the two will be used. Which one is undefined.
objc[85767]: Class wxCocoaOutlineView is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e50610) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf610). One of the two will be used. Which one is undefined.
objc[85767]: Class wxNSDatePicker is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e50688) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf688). One of the two will be used. Which one is undefined.
objc[85767]: Class wxOSXStatusItemTarget is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.0.4.0.dylib (0x106e506d8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_adv-3.0.dylib (0x105caf6d8). One of the two will be used. Which one is undefined.

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

do this:

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

while it is sorted out if it is time for a revbump, depending on the Xcode installed on the buildbot.

Last edited 4 months ago by kencu (Ken) (previous) (diff)

comment:6 Changed 4 months ago by MSoegtropIMC

If the commands posted by Ken don't fix it, you need to update XCode.

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

Description: modified (diff)

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.

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

I won't claim anything, but I witnessed this 61933#comment:10 and that is all I know about that.

Last edited 3 months ago by kencu (Ken) (previous) (diff)

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

@mojca -- please consider revbumping wxWidgets-3.0 to (see if it will) fix this issue for everyone plagued by it all these months.

It is a closed maintainer port, but beyond that to be honest it's not really clear to me how to revbump it exactly.

There is some other subport wx-Python that is a near but different version and it says to revbump that as well --- but I can't tell if that means to revbump wx-Python when you're revbumping wxWidgets-3.0.

comment:10 Changed 3 months ago by Davide Gerhard <ra1nb0w@…>

In 99c30095c04cb62e39c94b26288ed20f1fb5d2cc/macports-ports (master):

wxWidgets-3.2: revision bump to fix build on macOS 10.11

Seems the same issue reported for the 3.0 version
#62348

Closes: #62491

comment:11 Changed 3 months ago by Davide Gerhard <ra1nb0w@…>

In 146afc28ccb997c77aa5c934a0d08bd62acb0118/macports-ports (master):

py-wxpython-4.0: revision bump to fix build on macOS 10.11

Because it uses an internal build of wxWidgets therefore just as
precaution I bump the revision.

Seems the same issue reported for the 3.0 version
#62348

comment:12 Changed 3 months ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: assignedclosed

comment:13 in reply to:  9 Changed 3 months ago by mojca (Mojca Miklavec)

Replying to kencu:

it's not really clear to me how to revbump it exactly.

There is some other subport wx-Python that is a near but different version and it says to revbump that as well --- but I can't tell if that means to revbump wx-Python when you're revbumping wxWidgets-3.0.

wxPython should generally be left intact unless someone happens to release wxPython 3.0.X in the meantime. It probably needs to be stuck at 3.0.2 "forever", or at least until we have migrated all the wxpython code to Phoenix (version >= 4).

Note: See TracTickets for help on using tickets.