Bug#941497: wizznic FTCBFS: strips with the wrong strip
Source: wizznic
Version: 0.9.2-preview2+dfsg-4
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
wizznic fails to cross build from source, because it strips with the
build architecture strip. Beyond breaking cross compilation, it also
breaks generation of -dbgsym packages as well as
DEB_BUILD_OPTIONS=nostrip. Please consider applying the attached patch
to defer the stripping to dh_strip.
Helmut
diff --minimal -Nru wizznic-0.9.2-preview2+dfsg/debian/changelog wizznic-0.9.2-preview2+dfsg/debian/changelog
--- wizznic-0.9.2-preview2+dfsg/debian/changelog 2016-03-01 23:39:26.000000000 +0100
+++ wizznic-0.9.2-preview2+dfsg/debian/changelog 2019-10-01 17:27:32.000000000 +0200
@@ -1,3 +1,9 @@
+wizznic (0.9.2-preview2+dfsg-5) UNRELEASED; urgency=medium
+
+ * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 01 Oct 2019 17:27:32 +0200
+
wizznic (0.9.2-preview2+dfsg-4) unstable; urgency=medium
* QA upload.
diff --minimal -Nru wizznic-0.9.2-preview2+dfsg/debian/rules wizznic-0.9.2-preview2+dfsg/debian/rules
--- wizznic-0.9.2-preview2+dfsg/debian/rules 2016-03-01 23:31:58.000000000 +0100
+++ wizznic-0.9.2-preview2+dfsg/debian/rules 2019-10-01 17:27:30.000000000 +0200
@@ -7,7 +7,7 @@
%:
dh $@
-INSTALL_ARGS := -f Makefile.linux DATADIR=/usr/share/games/wizznic/ BINDIR=/usr/games/ DESTIR=debian/tmp/
+INSTALL_ARGS := -f Makefile.linux DATADIR=/usr/share/games/wizznic/ BINDIR=/usr/games/ DESTIR=debian/tmp/ STRIP=true
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
override_dh_auto_build:
Reply to: