[MacPorts] #54228: octave @4.2.1 build failure on SnowLeopard with clang-3.9 due to malformed object error, but succeeds with clang-3.8

MacPorts noreply at macports.org
Sun Jul 2 13:38:10 UTC 2017


#54228: octave @4.2.1 build failure on SnowLeopard with clang-3.9 due to malformed
object error, but succeeds with clang-3.8
---------------------+---------------------------------
  Reporter:  kencu   |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  snowleopard
      Port:  octave  |
---------------------+---------------------------------

Comment (by kencu):

 This ranlib issue still occurs with the last update to octave as well, of
 course. This fix is easy enough in the portfile. Change this:
 {{{
 # avoid depends_build-append port:cctools
 configure.env-append RANLIB=/usr/bin/ranlib
 }}}
 to this:
 {{{
 # avoid depends_build-append port:cctools
 configure.env-append RANLIB=${prefix}/bin/ranlib
 }}}

 It appears it's now inevitable that we need to use cctools, at least on
 systems of a certain vintage.

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


More information about the macports-tickets mailing list