Subject: bind9 on -current
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 05/19/2004 15:54:46
Hello,
While trying to build net/bind9 on NetBSD-2.0E built Monday, I get the
following failure, but don't know how to begin fixing it. Any help would
be fantastic,
Thanks,
Louis
# make package
===> Checking for vulnerabilities in bind-9.2.3nb4
===> Building for bind-9.2.3nb4
making all in /usr/pkgsrc/net/bind9/work/bind-9.2.3/make
making all in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib
making all in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind
making all in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/bsd
making all in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/dst
making all in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/include
making all in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/inet
making all in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/irs
/bin/sh /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/libtool gcc -O2
-I/usr/include -I/usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind
-I/usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/port/netbsd/include
-I.. -I./../include -I/usr/include -D_REENTRANT -W -Wall
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -c gai_strerror.c
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
gcc -O2 -I/usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind
-I/usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/port/netbsd/include
-I.. -I./../include -D_REENTRANT -W -Wall -Wmissing-prototypes
-Wcast-qual -Wwrite-strings -c gai_strerror.c -fPIC -DPIC -o
.libs/gai_strerror.o
In file included from /usr/include/time.h:135,
from /usr/include/pthread.h:44,
from gai_strerror.c:23:
/usr/include/sys/time.h:240: error: conflicting types for
`isc__gettimeofday'
/usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/port_after.h:365: error:
previous declaration of `isc__gettimeofday'
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind/irs
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib/bind
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/bind9/work/bind-9.2.3/lib
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/bind9/work/bind-9.2.3
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/bind9
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/bind9