Subject: pkg/20019: pkgsrc/net/bind9 under Linux missing /usr/include/isc/ipv6.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 01/23/2003 15:56:51
>Number: 20019
>Category: pkg
>Synopsis: pkgsrc/net/bind9 under Linux missing /usr/include/isc/ipv6.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 23 15:57:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
http://bsd.reedmedia.net/
>Environment:
>Description:
pkgsrc/net/bind9 under Linux didn't install
/usr/include/isc/ipv6.h
The configure does:
checking for IPv6 structures... yes
** this is where it decides not to install that include/isc/ipv6.h
checking for Kame IPv6 support... no
checking for in6_addr... yes
checking for in6addr_any... yes
checking for in6addr_loopback... yes
checking for sin6_scope_id in struct sockaddr_in6... yes
checking for in6_pktinfo... yes
checking for IPv6 structures... yes
checking for Kame IPv6 support... no
checking for in6_addr... yes
checking for in6addr_any... yes
checking for sin6_scope_id in struct sockaddr_in6... yes
checking for in6_pktinfo... yes
(So the lib/isc/include/isc/Makefile is generated without needing to
install that header).
The install does:
for i in app.h assertions.h base64.h bitstring.h boolean.h buffer.h bufferlist.
h commandline.h entropy.h error.h event.h eventclass.h file.h formatcheck.h fs
access.h heap.h hex.h hmacmd5.h interfaceiter.h lang.h lex.h lfsr.h lib.h lis
t.h log.h magic.h md5.h mem.h msgcat.h msgs.h mutexblock.h netaddr.h ondestroy.
h os.h print.h quota.h random.h ratelimiter.h refcount.h region.h resource.h
result.h resultclass.h rwlock.h serial.h sha1.h sockaddr.h socket.h stdio.h str
ing.h symtab.h task.h taskpool.h timer.h types.h util.h; do install -c -o root
-g root -m 444 ./$i /usr/include/isc ; done
It does install to /usr/include/lwres/ipv6.h
The install ends with:
/bin/ls: /usr/include/isc/ipv6.h: No such file or directory
===> Registering installation for bind-9.2.1
pkg_create: can't stat `/usr/include/isc/ipv6.h'
>How-To-Repeat:
do a make install under net/bind9 under Linux.
antelope:~/netbsd/usr/pkgsrc/net/bind9 $ bmake show-var VARNAME=USE_INET6
NO
>Fix:
Make sure the PLIST doesn't have that header if it is not installed.
The Makefile says
# IPv6 ready, automatically detected
include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
# No need to set USE_INET6, will auto-detect.
and
# include/isc/ipv6.h is installed on non-ipv6 platforms
IPV6H= ""
if defined(USE_INET6) && ${USE_INET6} == "YES"
IPV6H= "@comment "
endif
PLIST_SUBST+= IPV6H=${IPV6H}
>Release-Note:
>Audit-Trail:
>Unformatted: