Bug#956043: pd-wiimote FTCBFS: strips with the wrong strip
Source: pd-wiimote
Version: 0.3.2-3
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
pd-wiimote fails to cross build from source, because it strips using the
build architecture strip during make install. Beyond breaking cross
compilation, doing so also breaks DEB_BUILD_OPTIONS=nostrip as well as
generation of -dbgsym packages. It is best practice to let dh_strip
perform all stripping. Please consider applying the attached patch.
Helmut
diff --minimal -Nru pd-wiimote-0.3.2/debian/changelog pd-wiimote-0.3.2/debian/changelog
--- pd-wiimote-0.3.2/debian/changelog 2018-02-01 23:43:11.000000000 +0100
+++ pd-wiimote-0.3.2/debian/changelog 2020-04-06 16:15:42.000000000 +0200
@@ -1,3 +1,10 @@
+pd-wiimote (0.3.2-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Don't strip during make install. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Mon, 06 Apr 2020 16:15:42 +0200
+
pd-wiimote (0.3.2-3) unstable; urgency=medium
* Simplified & unified d/rules
diff --minimal -Nru pd-wiimote-0.3.2/debian/rules pd-wiimote-0.3.2/debian/rules
--- pd-wiimote-0.3.2/debian/rules 2018-02-01 23:43:11.000000000 +0100
+++ pd-wiimote-0.3.2/debian/rules 2020-04-06 16:15:40.000000000 +0200
@@ -23,7 +23,7 @@
$(empty)
override_dh_auto_install:
- dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
+ dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir) STRIP=true
# fix permissions
find $(CURDIR)/debian/*/$(pkglibdir) -name "*.pd_linux" -exec \
chmod 0664 {} +
Reply to: