Bug#902177: kxl FTCBFS: configures for the build architecture

Helmut Grohne helmut at subdivi.de
Sat Jun 23 08:31:09 BST 2018


Source: kxl
Version: 1.1.7-16.1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

kxl fails to cross build from source, because it configures for the
build architecture. The easiest way to pass the missing --host flag is
using dh_auto_configure. After doing so, kxl cross builds successfully.
Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru kxl-1.1.7/debian/changelog kxl-1.1.7/debian/changelog
--- kxl-1.1.7/debian/changelog	2016-06-29 21:11:44.000000000 +0200
+++ kxl-1.1.7/debian/changelog	2018-06-23 09:28:46.000000000 +0200
@@ -1,3 +1,10 @@
+kxl (1.1.7-16.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 23 Jun 2018 09:28:46 +0200
+
 kxl (1.1.7-16.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff --minimal -Nru kxl-1.1.7/debian/control kxl-1.1.7/debian/control
--- kxl-1.1.7/debian/control	2016-06-29 20:49:55.000000000 +0200
+++ kxl-1.1.7/debian/control	2018-06-23 09:27:52.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Sam Hocevar <sho at debian.org>, Barry deFreese <bdefreese at debian.org>
-Build-Depends: debhelper (>= 5.0), autotools-dev, quilt, libx11-dev
+Build-Depends: debhelper (>= 7), autotools-dev, quilt, libx11-dev
 Standards-Version: 3.7.2
 Homepage: http://kxl.orz.hm/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/kxl/
diff --minimal -Nru kxl-1.1.7/debian/rules kxl-1.1.7/debian/rules
--- kxl-1.1.7/debian/rules	2016-06-29 20:49:55.000000000 +0200
+++ kxl-1.1.7/debian/rules	2018-06-23 09:28:40.000000000 +0200
@@ -23,8 +23,7 @@
 	&& touch configure \
 	&& touch config.h.in \
 	&& touch `find . -name Makefile.in`
-	./configure --prefix=/usr --mandir=$${prefix}/share/man \
-		--infodir=$${prefix}/share/info
+	dh_auto_configure
 	$(MAKE)
 	touch build-stamp
 


More information about the Pkg-games-devel mailing list