[MacPorts] #68649: Error: Failed to build fxscintilla

MacPorts noreply at macports.org
Sun Nov 12 06:59:34 UTC 2023


#68649: Error: Failed to build fxscintilla
--------------------------+--------------------
  Reporter:  raydebug     |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  fxscintilla  |
--------------------------+--------------------

Comment (by ryandesign):

 We see build failure on the Big Sur and later buildbot workers as well, so
 in the absence of a log from you that could confirm it, let's assume
 you're seeing the same thing. On our macOS 13 arm64 worker the failure
 begins with these lines:

 {{{
 Undefined symbols for architecture arm64:
   "FX::FXDCWindow::FXDCWindow(FX::FXDrawable*)", referenced from:
       SurfaceImpl::dc() in libfxscintilla_la-PlatFOX.o
   "FX::FXMenuPane::FXMenuPane(FX::FXWindow*, unsigned int)", referenced
 from:
       Menu::CreatePopUp() in libfxscintilla_la-PlatFOX.o
   "FX::fxdllClose(void*)", referenced from:
       DynamicLibraryImpl::~DynamicLibraryImpl() in libfxscintilla_la-
 PlatFOX.o
       DynamicLibraryImpl::~DynamicLibraryImpl() in libfxscintilla_la-
 PlatFOX.o
   "FX::FXComposite::onKeyPress(FX::FXObject*, unsigned int, void*)",
 referenced from:
       FXScintilla::onKeyPress(FX::FXObject*, unsigned int, void*) in
 libfxscintilla_la-ScintillaFOX.o
   "FX::FXComposite::create()", referenced from:
       FXScintilla::create() in libfxscintilla_la-ScintillaFOX.o
   "FX::FXComposite::detach()", referenced from:
       vtable for PopupListBox in libfxscintilla_la-PlatFOX.o
       vtable for FXScintilla in libfxscintilla_la-ScintillaFOX.o
 }}}

 I've omitted many more symbol names that follow. Noting that this software
 uses libtool, and that I do not see the `-undefined` flag being used, this
 is probably [https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605 the well-
 known macOS 11+ libtool undefined symbol bug] which is easy enough to
 patch.

 fxscintilla 1.78.0 was released in 2009 so I'm not surprised it's having
 trouble building today since this particular problem only affects macOS 11
 and later and macOS 11 was released in 2020. Newer versions 2.1.0 (from
 2009), 2.2.0, 2.11.0, and 2.22.0 (from 2010), and 2.28.0 (from 2011) are
 available [http://download.savannah.nongnu.org/releases/fxscintilla/ on
 Non-GNU Savannah]. Tags (but no distfiles) for versions up to 3.5.2 (from
 2014) are [https://github.com/yetanothergeek/fxscintilla/tags on GitHub].
 3.5.3 (from 2015) is available in the repository but was not tagged. There
 have been no commits since 2015, the web site hasn't been updated since
 2011, and there have been no mailing list posts since 2010. No issues or
 pull requests have ever been filed in the GitHub repository. Scintilla
 development has continued and is currently on version 5.3.8 released a
 week ago, but fxscintilla hasn't kept pace with scintilla development and
 appears to be a dead project. Still, someone could try updating the port
 to a newer version.

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


More information about the macports-tickets mailing list