Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

main.log (657.5 KB) - added by ballapete (Peter "Pete" Dyballa) 10 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Keywords: tiger leopard added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
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 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

comment:3 in reply to:  2 Changed 10 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.