Bug#908777: xwelltris FTCBFS: strips with the build architecture strip

Helmut Grohne helmut at subdivi.de
Thu Sep 13 21:28:54 BST 2018


Source: xwelltris
Version: 1.0.1-17
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

xwelltris fails to cross build from source, because the upstream build
strips with the build architecture strip. Doing so not only breaks cross
compilation, but also generation of a -dbgsym package as well as
DEB_BUILD_OPTIONS=nostrip. The attached patch fixes all of that. Please
consider applying it.

Helmut
-------------- next part --------------
diff --minimal -Nru xwelltris-1.0.1/debian/changelog xwelltris-1.0.1/debian/changelog
--- xwelltris-1.0.1/debian/changelog	2017-11-01 14:07:31.000000000 +0100
+++ xwelltris-1.0.1/debian/changelog	2018-09-13 06:46:51.000000000 +0200
@@ -1,3 +1,10 @@
+xwelltris (1.0.1-17.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 13 Sep 2018 06:46:51 +0200
+
 xwelltris (1.0.1-17) unstable; urgency=medium
 
   * Remove topgit
diff --minimal -Nru xwelltris-1.0.1/debian/rules xwelltris-1.0.1/debian/rules
--- xwelltris-1.0.1/debian/rules	2017-11-01 13:53:11.000000000 +0100
+++ xwelltris-1.0.1/debian/rules	2018-09-13 06:46:51.000000000 +0200
@@ -4,7 +4,7 @@
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games --with-sdl
+	INSTALL='/usr/bin/install --strip-program=true' dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games --with-sdl
 
 override_dh_auto_install:
 #	Installing package


More information about the Pkg-games-devel mailing list