#41916 closed defect (fixed)
graphviz-devel @2.35.20131223.0545: error: 'AI_NUMERICSERV' undeclared
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.99 |
Keywords: | tiger leopard | Cc: | |
Port: | graphviz-devel |
Description
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.
Attachments (1)
Change History (4)
Changed 11 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Keywords: | tiger leopard added |
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Summary: | graphviz-devel @2.35.20131223.0545 fails to build on PPC Tiger because of undeclared 'AI_NUMERICSERV' → graphviz-devel @2.35.20131223.0545: error: 'AI_NUMERICSERV' undeclared |
I've reported this problem to the developers of Graphviz: http://www.graphviz.org/mantisbt/view.php?id=2406
comment:2 follow-up: 3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 11 years ago by ballapete (Peter "Pete" Dyballa)
Replying to ryandesign@…:
graphviz-devel @2.37.20140112.0545_0 built fine!
Note: See
TracTickets for help on using
tickets.
main.log