[MacPorts] #51815: librsvg @2.40.16 does not build on PPC Mac OS X 10.5.8, Leopard, because of "./libtool: eval: line 1085: syntax error near unexpected token `|' "

MacPorts noreply at macports.org
Sun Jul 10 03:54:02 PDT 2016


#51815: librsvg @2.40.16 does not build on PPC Mac OS X 10.5.8, Leopard, because of
"./libtool: eval: line 1085: syntax error near unexpected token `|' "
------------------------------+----------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  larryv@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.4
Resolution:                   |   Keywords:
      Port:  libtool          |
------------------------------+----------------------

Comment (by Peter_Dyballa@…):

 Replying to [comment:2 ryandesign@…]:
 > Replying to [ticket:51815 Peter_Dyballa@…]:

 >
 > This problem was [https://lists.gnu.org/archive/html/bug-
 libtool/2015-07/msg00000.html described on the libtool mailing list]
 before. It seems to be a problem with nm, and that the configure script
 does not exit after detecting nm's failure to parse the compiler's output.

 On PPC Tiger, Mac OS X 10.4.11, I have the same problem.

 If it's true that a misconfigured nm produces this fault, then /usb/bin/nm
 should be used instead of /opt/local/bin/nm, which comes from LLVM version
 3.4.2. Invoking configure on the command line this nm produces a clear
 failure:

 {{{
 + printf '%s\n' 'configure:7787: result: failed'
 }}}

 Setting NM=/usr/bin/nm seems to bring more success:

 {{{
 + printf '%s\n' 'configure:7790: result: ok'
 }}}

 It seems to produce this value: `lt_cv_sys_global_symbol_pipe='sed -n -e
 '\''s/^.*[      ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-
 Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''`

-- 
Ticket URL: <https://trac.macports.org/ticket/51815#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list