Bug#515110: bind9: FTBFS on i386 with 64-bit kernel

2009-08-24 Thread Ondřej Surý
LaMont,

could you please reapply this patch to 9.6.x?

Thanks,
Ondrej

On Wed, Mar 18, 2009 at 19:55, LaMont Joneslam...@debian.org wrote:
 On Wed, Mar 18, 2009 at 05:50:22PM +0100, Sven Joachim wrote:
 The kernel information is unreliable, it is better to use
 dpkg-architecture and pass its output to 'configure'.  Here is a patch
 that fixes the FTBFS and should also enable cross-compilation:

 Except for any part of the build that actually runs the built
 binaries...  Cross compiliation is inherently painful.

 Anyway, patch applied.  thanks,
 lamont







-- 
Ondřej Surý ond...@sury.org
http://blog.rfc1925.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#515110: bind9: FTBFS on i386 with 64-bit kernel

2009-03-30 Thread Ondřej Surý
found 515110 1:9.6.0.dfsg.P1-1
thank you

LaMont,

9.6.0 from experimental doesn't have the patch. Looks like you forgot
to merge changes to debian/rules.

Thanks,
Ondrej.
-- 
Ondřej Surý ond...@sury.org
http://blog.rfc1925.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#515110: bind9: FTBFS on i386 with 64-bit kernel

2009-03-18 Thread LaMont Jones
tag 515110 + wontfix
severity 515110 wishlist
--

It is perfectly reasonable to ask the kernel what we are, and build
accordingly.  Given the valid solution of using linux32, I don't see
that this is even a bug.  Leaving it open anyway, but won't be fixing
it.

lamont



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#515110: bind9: FTBFS on i386 with 64-bit kernel

2009-03-18 Thread Sven Joachim
tags 515110 + patch
thanks

On 2009-03-18 15:07 +0100, LaMont Jones wrote:

 tag 515110 + wontfix
 severity 515110 wishlist
 --

 It is perfectly reasonable to ask the kernel what we are, and build
 accordingly.

The kernel information is unreliable, it is better to use
dpkg-architecture and pass its output to 'configure'.  Here is a patch
that fixes the FTBFS and should also enable cross-compilation:

--8---cut here---start-8---
diff -u bind9-9.5.1.dfsg.P1/debian/rules bind9-9.5.1.dfsg.P1/debian/rules
--- bind9-9.5.1.dfsg.P1/debian/rules
+++ bind9-9.5.1.dfsg.P1/debian/rules
@@ -11,6 +11,9 @@
 endif
 export arch = $(DEB_HOST_ARCH)
 
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 DEBUG = -g
 endif
@@ -27,6 +30,8 @@
 configure-stamp:
dh_testdir
./configure --prefix=/usr \
+   --build=$(DEB_BUILD_GNU_TYPE) \
+   --host=$(DEB_HOST_GNU_TYPE) \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--sysconfdir=/etc/bind \
--8---cut here---end---8---

Better still, report the failure upstream, since i386 userland and
x86_64 kernel is a valid combination that should work.

 Given the valid solution of using linux32, I don't see that this is
 even a bug.  Leaving it open anyway, but won't be fixing it.

So that the bind9 will eventually FTBFS on puccini?  Great. :-/

Regards,
Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#515110: bind9: FTBFS on i386 with 64-bit kernel

2009-03-18 Thread LaMont Jones
On Wed, Mar 18, 2009 at 05:50:22PM +0100, Sven Joachim wrote:
 The kernel information is unreliable, it is better to use
 dpkg-architecture and pass its output to 'configure'.  Here is a patch
 that fixes the FTBFS and should also enable cross-compilation:

Except for any part of the build that actually runs the built
binaries...  Cross compiliation is inherently painful.

Anyway, patch applied.  thanks,
lamont



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#515110: bind9: FTBFS on i386 with 64-bit kernel

2009-02-13 Thread Sven Joachim
Package: bind9
Version: 1:9.5.1.dfsg.P1-1
Severity: serious

From my pbuilder log:

,
|  gcc -I/tmp/buildd/bind9-9.5.1.dfsg.P1 -I. -Iinclude 
-I/tmp/buildd/bind9-9.5.1.dfsg.P1/lib/dns/include -I../../lib/dns/include 
-I/tmp/buildd/bind9-9.5.1.dfsg.P1/lib/isc/include -I../../lib/isc 
-I../../lib/isc/include -I../../lib/isc/unix/include 
-I../../lib/isc/pthreads/include -I../../lib/isc/x86_32/include -I/usr/include 
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_MD5 -DOPENSSL 
-DGSSAPI -DUSE_ISC_SPNEGO -D_GNU_SOURCE -fno-strict-aliasing -DDIG_SIGCHASE -O2 
-I/usr/include/libxml2 -W -Wall -Wmissing-prototypes -Wcast-qual 
-Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c stats.c  -fPIC 
-DPIC -o .libs/stats.o
| ../../lib/isc/x86_32/include/isc/atomic.h: Assembler messages:
| ../../lib/isc/x86_32/include/isc/atomic.h:51: Error: suffix or operands 
invalid for `xadd'
| ../../lib/isc/x86_32/include/isc/atomic.h:51: Error: suffix or operands 
invalid for `xadd'
| make[3]: *** [stats.lo] Error 1
`

Note that this only happens under a 64-bit kernel, running the build
under linux32 succeeds.


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.28.5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org