Bug#958374: pd-tclpd FTCBFS: strips with the build architecture strip
Source: pd-tclpd
Version: 0.3.0-3
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
pd-tclpd fails to cross build from source, because it strips with 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. Please consider applying the attached
patch to defer such stripping to dh_strip, which uses the correct strip
program.
Helmut
diff --minimal -Nru pd-tclpd-0.3.0/debian/changelog pd-tclpd-0.3.0/debian/changelog
--- pd-tclpd-0.3.0/debian/changelog 2018-07-09 13:07:03.000000000 +0200
+++ pd-tclpd-0.3.0/debian/changelog 2020-04-21 07:18:27.000000000 +0200
@@ -1,3 +1,10 @@
+pd-tclpd (0.3.0-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 21 Apr 2020 07:18:27 +0200
+
pd-tclpd (0.3.0-3) unstable; urgency=medium
* Use versioned dependency on puredata
diff --minimal -Nru pd-tclpd-0.3.0/debian/rules pd-tclpd-0.3.0/debian/rules
--- pd-tclpd-0.3.0/debian/rules 2018-07-09 13:07:03.000000000 +0200
+++ pd-tclpd-0.3.0/debian/rules 2020-04-21 07:18:26.000000000 +0200
@@ -26,7 +26,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: