Your message dated Sat, 12 May 2012 01:07:32 +0200
with message-id <20120511230732.GA16703@type>
and subject line Re: bind9: Fix IPv6 support on hurd-i386
has caused the Debian Bug report #651001,
regarding bind9: Fix IPv6 support on hurd-i386
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
651001: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651001
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: bind9
Version: 1:9.8.1.dfsg-1
Severity: normal
Tags: patch
Hello,
This fixes IPv6 support on hurd-i386: _GNU_SOURCE is also needed, since
it's glibc like on Linux. Also, EPFNOSUPPORT is returned when ipv6 is
not enabled on the system.
Samuel
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable'), (1, 'experimental')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- configure.in.orig 2011-12-04 23:21:32.000000000 +0100
+++ configure.in 2011-12-04 23:21:35.000000000 +0100
@@ -263,7 +263,7 @@
# as it breaks how the two halves (Basic and Advanced) of the IPv6
# Socket API were designed to be used but we have to live with it.
# Define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
- *-linux*)
+ *-linux*|*-gnu*)
STD_CDEFINES="$STD_CDEFINES -D_GNU_SOURCE"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
;;
--- configure.orig 2011-12-04 23:25:28.000000000 +0100
+++ configure 2011-12-04 23:25:32.000000000 +0100
@@ -11807,7 +11807,7 @@
# as it breaks how the two halves (Basic and Advanced) of the IPv6
# Socket API were designed to be used but we have to live with it.
# Define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
- *-linux*)
+ *-linux*|*-gnu*)
STD_CDEFINES="$STD_CDEFINES -D_GNU_SOURCE"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
;;
--- ./lib/isc/unix/net.c.orig 2011-12-04 23:44:51.000000000 +0100
+++ ./lib/isc/unix/net.c 2011-12-04 23:44:59.000000000 +0100
@@ -130,6 +130,9 @@
#ifdef EAFNOSUPPORT
case EAFNOSUPPORT:
#endif
+#ifdef EPFNOSUPPORT
+ case EPFNOSUPPORT:
+#endif
#ifdef EPROTONOSUPPORT
case EPROTONOSUPPORT:
#endif
--- End Message ---
--- Begin Message ---
Version: 1:9.8.1.dfsg.P1-4
Hello,
This was actually fixed by application of Cristoph Egger's patch from
#658201 (exactly the same change)...
(EPFNOSUPPORT is not returned by socket() any more).
Samuel
--- End Message ---