[MacPorts] #64894: n2n fails to build for ppc on 10.6.8 Rosetta: Macports picks a wrong compiler (was: n2n fails to build for ppc on 10.6.8 Rosetta)

MacPorts noreply at macports.org
Sun Mar 27 10:11:59 UTC 2022


#64894: n2n fails to build for ppc on 10.6.8 Rosetta: Macports picks a wrong
compiler
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc, snowleopard, rosetta
      Port:  n2n           |
---------------------------+-------------------------------------------
Description changed by barracuda156:

Old description:

> {{{
> /usr/bin/gcc-4.2 -std=gnu99 -L/opt/local/libexec/openssl11/lib
> -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -pthread -L .
> src/supernode.o libn2n.a   -ln2n -lcrypto -lzstd  -o src/supernode
> ld: -L must be immediately followed by a directory path (no space)
> collect2: ld returned 1 exit status
> make: *** [src/edge] Error 1
> make: *** Waiting for unfinished jobs....
> ld: -L must be immediately followed by a directory path (no space)
> collect2: ld returned 1 exit status
> make: *** [src/supernode] Error 1
> }}}

New description:

 The build fails with `gcc-4.2`:

 {{{
 /usr/bin/gcc-4.2 -std=gnu99 -L/opt/local/libexec/openssl11/lib
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -pthread -L .
 src/supernode.o libn2n.a   -ln2n -lcrypto -lzstd  -o src/supernode
 ld: -L must be immediately followed by a directory path (no space)
 collect2: ld returned 1 exit status
 make: *** [src/edge] Error 1
 make: *** Waiting for unfinished jobs....
 ld: -L must be immediately followed by a directory path (no space)
 collect2: ld returned 1 exit status
 make: *** [src/supernode] Error 1
 }}}

--

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


More information about the macports-tickets mailing list