[MacPorts] #62134: wget @1.21.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of "error: 'for' loop initial declaration used outside C99 mode'"
MacPorts
noreply at macports.org
Sat Jan 23 20:24:16 UTC 2021
#62134: wget @1.21.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of
"error: 'for' loop initial declaration used outside C99 mode'"
------------------------+---------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: leopard
Port: wget |
------------------------+---------------------
Comment (by ballapete):
`make check` fails like this:
{{{
make[4]: Leaving directory
'/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_wget/wget/work/wget-1.21.1/src'
/usr/bin/gcc-4.2 -DNDEBUG -pipe -Os -arch ppc -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -o wget_cookie_fuzzer
wget_cookie_fuzzer.o main.o ../src/libunittest.a ../lib/libgnu.a
/opt/local/lib/libiconv.dylib /opt/local/lib/libintl.dylib -Wl,-framework
-Wl,CoreFoundation -lpthread -Wl,-framework -Wl,CoreFoundation
-L/opt/local/lib -lpcre2-8 -lidn2 -lnettle /opt/local/lib/libgnutls.dylib
-L/opt/local/lib -lz -L/opt/local/lib -lpsl
Undefined symbols:
"_uc_width", referenced from:
_rpl_wcwidth in libgnu.a(wcwidth.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [Makefile:1999: wget_cookie_fuzzer] Error 1
make[3]: Leaving directory
'/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_net_wget/wget/work/wget-1.21.1/fuzz'
}}}
I am going to try `GCC7`!
--
Ticket URL: <https://trac.macports.org/ticket/62134#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list