[MacPorts] #61096: libtheora @1.1.1_2:error:Failed to build libtheora: command execution failed

MacPorts noreply at macports.org
Mon Aug 31 20:26:49 UTC 2020


#61096: libtheora @1.1.1_2:error:Failed to build libtheora: command execution
failed
------------------------+------------------------
  Reporter:  keke-cute  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.99
Resolution:             |   Keywords:
      Port:  libtheora  |
------------------------+------------------------
Changes (by ryandesign):

 * status:  new => accepted
 * owner:  (none) => ryandesign


Comment:

 Comparing the log on macOS 10.15/Xcode 11.6 with the one from macOS 11
 beta/Xcode 12beta, on macOS 10.15 it is building with `-Wl,-flat_namespace
 -Wl,-undefined -Wl,suppress` while on macOS 11 it's not. This is the
 "Yosemite libtool bug" where libtool misidentifies OS X 10.10 and later as
 Mac OS X 10.1 and incorrectly uses the flat namespace with -undefined
 suppress when it should use the two-level namespace with -undefined
 dynamic_lookup. In addition, libtool completely misses macOS 11 and later,
 adding neither of the flags, hence making the undefined symbols and error,
 rather than being allowed as the project's authors had intended. This has
 already been fixed in the libtool port. We should backport the patch to
 this port's configure script.

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


More information about the macports-tickets mailing list