Bug#900866: xbill FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Wed Jun 6 05:34:36 BST 2018


Source: xbill
Version: 2.1-8
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

xbill fails to cross build from source, because its ./configure is so
ancient that it doesn't derive the compiler from the --host flag passed
by dh_auto_configure. For making such old ./configure work, one must
export CC. After doing so, xbill cross builds successfully. Please
consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru xbill-2.1/debian/changelog xbill-2.1/debian/changelog
--- xbill-2.1/debian/changelog	2011-05-09 10:26:09.000000000 +0200
+++ xbill-2.1/debian/changelog	2018-06-06 06:31:52.000000000 +0200
@@ -1,3 +1,10 @@
+xbill (2.1-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export CC for ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 06 Jun 2018 06:31:52 +0200
+
 xbill (2.1-8) unstable; urgency=low
 
   * Team upload.
diff --minimal -Nru xbill-2.1/debian/rules xbill-2.1/debian/rules
--- xbill-2.1/debian/rules	2011-05-09 09:27:29.000000000 +0200
+++ xbill-2.1/debian/rules	2018-06-06 06:31:49.000000000 +0200
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+-include /usr/share/dpkg/buildtools.mk
+export CC
+
 DEB=debian/tmp
 SCORES=$(DEB)/var/games/xbill.scores.default
 


More information about the Pkg-games-devel mailing list