[MacPorts] #57330: netbpm fails to build (getline)

MacPorts noreply at macports.org
Tue Oct 9 15:47:24 UTC 2018


#57330: netbpm fails to build (getline)
------------------------+------------------------
  Reporter:  rmottola   |      Owner:  ryandesign
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  duplicate  |   Keywords:  leopard
      Port:  netpbm     |
------------------------+------------------------
Changes (by mf2k):

 * keywords:  netpbm leopard getline => leopard


Old description:

> netpbm fails to build on Leopard 10.5
>
> /opt/local/bin/gcc-mp-6 -o pbmtopgm pbmtopgm.o
> -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced-r3369/lib
> -lnetpbm -L/opt/local/lib -Wl,-headerpad_max_install_names    -lm
> Undefined symbols for architecture i386:
>   "_getline", referenced from:
>       _process_next_command in input.o
> ld: symbol(s) not found for architecture i386
> collect2: error: ld returned 1 exit status
>

> Failure happens both with system gcc 4.2 and with gcc 6 from macports.
> Clang 3.9 also has the same error.

New description:

 netpbm fails to build on Leopard 10.5
 {{{
 /opt/local/bin/gcc-mp-6 -o pbmtopgm pbmtopgm.o
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced-r3369/lib
 -lnetpbm -L/opt/local/lib -Wl,-headerpad_max_install_names    -lm
 Undefined symbols for architecture i386:
   "_getline", referenced from:
       _process_next_command in input.o
 ld: symbol(s) not found for architecture i386
 collect2: error: ld returned 1 exit status
 }}}

 Failure happens both with system gcc 4.2 and with gcc 6 from macports.
 Clang 3.9 also has the same error.

--

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


More information about the macports-tickets mailing list