[MacPorts] #54446: nghttp2 @1.24.0 does not build on PPC Leopard, Mac OS X 10.5.8, with configure.cxx_stdlib = macports-libstdc++ and macports-gcc-6 because "'AI_NUMERICSERV' was not declared in this scope"
MacPorts
noreply at macports.org
Sun Jul 9 07:46:33 UTC 2017
#54446: nghttp2 @1.24.0 does not build on PPC Leopard, Mac OS X 10.5.8, with
configure.cxx_stdlib = macports-libstdc++ and macports-gcc-6 because
"'AI_NUMERICSERV' was not declared in this scope"
-----------------------+---------------------
Reporter: ballapete | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Keywords: leopard, | Port: nghttp2
-----------------------+---------------------
I added to `Portfile`
{{{
4 PortGroup cxx11 1.1
}}}
and the build started. It ended here:
{{{
/opt/local/bin/g++-mp-6 -DHAVE_CONFIG_H -I. -I..
-DPKGDATADIR='"/opt/local/share/nghttp2"' -I../lib/includes
-I../lib/includes -I../lib -I../src/includes -I../third-party
-I/opt/local/include/libxml2 -I/opt/local/include/openssl
-I/opt/local/include -DHAVE_CONFIG_H -I/opt/local/include -pipe -Os
-D_GLIBCXX_USE_CXX11_ABI=0 -m32 -MT libnghttpx_a-shrpx_config.o -MD -MP
-MF .deps/libnghttpx_a-shrpx_config.Tpo -c -o libnghttpx_a-shrpx_config.o
`test -f 'shrpx_config.cc' || echo './'`shrpx_config.cc
shrpx_config.cc: In function 'int
shrpx::configure_downstream_group(shrpx::Config*, bool, bool, const
shrpx::TLSConfig&)':
shrpx_config.cc:3743:61: error: 'AI_NUMERICSERV' was not declared in this
scope
auto resolve_flags = numeric_addr_only ? AI_NUMERICHOST |
AI_NUMERICSERV : 0;
^~~~~~~~~~~~~~
make[3]: *** [libnghttpx_a-shrpx_config.o] 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_www_nghttp2/nghttp2/work/nghttp2-1.24.0/src'
make[2]: *** [all-recursive] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54446>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list