[MacPorts] #58480: chasen-base @2.3.3: can't build on macOS 10.14 Mojave

MacPorts noreply at macports.org
Wed May 22 11:44:59 UTC 2019


#58480: chasen-base @2.3.3: can't build on macOS 10.14 Mojave
---------------------------+--------------------
  Reporter:  chrstphrchvz  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.5.4
Resolution:                |   Keywords:
      Port:  chasen-base   |
---------------------------+--------------------

Comment (by ryandesign):

 I guess the problem is that the `-syslibroot` flag is being passed to the
 compiler (which doesn't understand it) when it's meant for the linker
 (which would understand it). MacPorts is supplying that flag with the
 proper `-Wl,` prefix to indicate that it should only be passed to the
 linker, but the bundled libtool appears to be stripping that away.
 Upgrading to a newer chasen-base may fix this if newer chasen-base
 includes a newer bundled libtool, or we might convince the build to use
 MacPorts libtool instead.

 MacPorts only uses the `-syslibroot` flag when it is necessary to use an
 SDK. Mojave is the first version of macOS on which it is always necessary
 to use an SDK, since as of Mojave headers are no longer installed in
 /usr/include. MacPorts also uses an SDK on older systems in certain
 scenarios, such as if you are building for a different OS version than the
 one you are running or if you are building universal on Mac OS X 10.4
 PowerPC.

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


More information about the macports-tickets mailing list