[MacPorts] #56647: octave @4.4.0_3 fails to build when using Apple's clang compiler

MacPorts noreply at macports.org
Mon Jun 11 02:16:09 UTC 2018


#56647: octave @4.4.0_3 fails to build when using Apple's clang compiler
--------------------------+---------------------------------
  Reporter:  josephsacco  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.5.2
Resolution:               |   Keywords:
      Port:  octave       |
--------------------------+---------------------------------

Comment (by kencu):

 Seems to fail due to this:
 {{{
 ld: in
 '/System/Library/Frameworks//Accelerate.framework/Versions/A/Accelerate.tbd',
 unexpected token: !tapi-tbd-v3 for architecture x86_64
 }}}

 Please try this:
 {{{
 sudo port -v install ld64 +ld64_xcode
 sudo port clean octave
 sudo port -v install octave
 }}}
 and you should have better success, I hope.

 `ld64` from MacPorts is a bit too old to handle the output of modern
 `Xcode` bits. The error you usually see is in regards to that `unexpected
 token: !tapi-tbd-v3` business.

 By setting `ld64 + ld64_xcode` you get the Xcode default linker, which
 speaks `tapi`.

 We should make `ld64 + ld64_xcode` the default on `10.13`.

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


More information about the macports-tickets mailing list