Subject: pkg/25665: Some pkg's conficts with new imported bind9 / resolv.h (missing _res)
To: None <gnats-bugs@gnats.NetBSD.org>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: pkgsrc-bugs
Date: 05/22/2004 08:41:05
>Number:         25665
>Category:       pkg
>Synopsis:       Some packages (I tried net/linc and net/ORBit2) rely in their
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 22 06:42:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0E
>Organization:
>Environment:
System: NetBSD mogli 2.0E NetBSD 2.0E (MOGLI) #3: Fri May 21 19:29:28 MEST 2004 root@lwle5:/usr/src/sys/arch/i386/compile/MOGLI i386
Architecture: i386
Machine: i386

>Description:
	See synopsis.
>How-To-Repeat:
	Try to build pkgsrc/net/linc or pkgsrc/netORBit2 on a current
	-current systems and see it failing like:

/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../linc2/include -I../../linc2/include -pthread -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include    -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE  -I/usr/pkg/include -I/usr/include  -march=athlon-mp -O2 -I/usr/pkg/include -I/usr/include -c -o linc-protocols.lo `test -f 'linc-protocols.c' || echo './'`linc-protocols.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linc2/include -pthread -I/usr/obj/pkg/net/ORBit2/work.i386/.buildlink/include/glib/glib-2.0 -I/usr/obj/pkg/net/ORBit2/work.i386/.buildlink/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -I/usr/obj/pkg/net/ORBit2/work.i386/.buildlink/include -march=athlon-mp -O2 -c linc-protocols.c -MT linc-protocols.lo -MD -MP -MF .deps/linc-protocols.TPlo  -fPIC -DPIC -o .libs/linc-protocols.o
linc-protocols.c: In function `link_protocol_get_sockaddr_ipv4':
linc-protocols.c:361: error: `_res' undeclared (first use in this function)
linc-protocols.c:361: error: (Each undeclared identifier is reported only once
linc-protocols.c:361: error: for each function it appears in.)
gmake[3]: *** [linc-protocols.lo] Error 1

>Fix:
	Not known.
>Release-Note:
>Audit-Trail:
>Unformatted:
 		config on the extern variable _res which is 'removed'
 		in the new bind9 resolv.h due it's presumed _REENTRANT
 		capability (in featuretest.h I guess).