Bug#852736: neverball FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Thu Jan 26 20:11:22 UTC 2017


Source: neverball
Version: 1.6.0-7
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

neverball fails to cross build from source, because it uses the build
architecture compiler. Fortunately, dh_auto_build knows how to pass
cross compilers to the makefile buildsystem, so simply indirecting
$(MAKE) through dh_auto_build makes neverball cross build successfully.
Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru neverball-1.6.0/debian/changelog neverball-1.6.0/debian/changelog
--- neverball-1.6.0/debian/changelog	2016-12-14 09:39:32.000000000 +0100
+++ neverball-1.6.0/debian/changelog	2017-01-26 21:07:18.000000000 +0100
@@ -1,3 +1,10 @@
+neverball (1.6.0-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 26 Jan 2017 21:07:18 +0100
+
 neverball (1.6.0-7) unstable; urgency=medium
 
   * debian/rules: Use correct ENABLE_HMD option.
diff --minimal -Nru neverball-1.6.0/debian/rules neverball-1.6.0/debian/rules
--- neverball-1.6.0/debian/rules	2016-12-14 09:39:32.000000000 +0100
+++ neverball-1.6.0/debian/rules	2017-01-26 21:07:16.000000000 +0100
@@ -15,7 +15,7 @@
 	dh $@
 
 override_dh_auto_build-arch:
-	$(MAKE) $(shell dpkg-buildflags --export=configure) \
+	dh_auto_build -- $(shell dpkg-buildflags --export=configure) \
 		DATADIR=/usr/share/games/neverball \
 		LOCALEDIR=/usr/share/locale \
 		ENABLE_HMD=$(OPENHMD) \


More information about the Pkg-games-devel mailing list