[MacPorts] #41916: graphviz-devel @2.35.20131223.0545 fails to build on PPC Tiger because of undeclared 'AI_NUMERICSERV'
MacPorts
noreply at macports.org
Tue Dec 24 07:13:46 PST 2013
#41916: graphviz-devel @2.35.20131223.0545 fails to build on PPC Tiger because of
undeclared 'AI_NUMERICSERV'
-----------------------------+--------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.99
Keywords: | Port: graphviz-devel
-----------------------------+--------------------------------
The failure happens here:
{{{
make[5]: Entering directory `/opt/local/var/macports/build
/_opt_mports_trunk_dports_graphics_graphviz-devel/graphviz-
devel/work/graphviz-2.35.20131223.0545/cmd/lefty/os/unix'
/bin/sh ../../../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
-DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/common
-I../../../../cmd/lefty -I/opt/local/include -I/opt/local/include -pipe
-Os -arch ppc -fno-common -Wall -DNDEBUG -MT io.lo -MD -MP -MF
.deps/io.Tpo -c -o io.lo io.c
libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../../..
-I../../../../lib/common -I../../../../cmd/lefty -I/opt/local/include
-I/opt/local/include -pipe -Os -arch ppc -fno-common -Wall -DNDEBUG -MT
io.lo -MD -MP -MF .deps/io.Tpo -c io.c -fno-common -DPIC -o .libs/io.o
io.c: In function 'serverconnect':
io.c:296: error: 'AI_NUMERICSERV' undeclared (first use in this function)
io.c:296: error: (Each undeclared identifier is reported only once
io.c:296: error: for each function it appears in.)
make[5]: *** [io.lo] Error 1
make[5]: Leaving directory `/opt/local/var/macports/build
/_opt_mports_trunk_dports_graphics_graphviz-devel/graphviz-
devel/work/graphviz-2.35.20131223.0545/cmd/lefty/os/unix'
}}}
Previous release @2.35.20131202.0545_0 compiled OK.
/usr/include/netdb.h does not declare AI_NUMERICSERV, the same on Leopard.
Both OS have
{{{
#define AI_NUMERICHOST 0x00000004 /* prevent name resolution */
}}}
Snow Leopard has AI_NUMERICSERV defined as 0x00001000.
--
Ticket URL: <https://trac.macports.org/ticket/41916>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list