Bug#958354: pd-syslog FTCBFS: strips with the build architecture strip
Source: pd-syslog
Version: 0.1-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
pd-syslog fails to cross build from source, because it strips during
make install with the build architecture strip. Beyond breaking cross
compilation, doing so breaks DEB_BUILD_OPTIONS=nostrip as well as
generation of -dbgsym packages. Please consider applying the attached
patch to defer all stripping to dh_strip and thus fixing all mentioned
issues.
Helmut
diff --minimal -Nru pd-syslog-0.1/debian/changelog pd-syslog-0.1/debian/changelog
--- pd-syslog-0.1/debian/changelog 2018-02-01 23:40:04.000000000 +0100
+++ pd-syslog-0.1/debian/changelog 2020-04-20 22:14:04.000000000 +0200
@@ -1,3 +1,10 @@
+pd-syslog (0.1-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Mon, 20 Apr 2020 22:14:04 +0200
+
pd-syslog (0.1-2) unstable; urgency=medium
* Switched buildsystem from dh to cdbs
diff --minimal -Nru pd-syslog-0.1/debian/rules pd-syslog-0.1/debian/rules
--- pd-syslog-0.1/debian/rules 2018-02-01 23:40:04.000000000 +0100
+++ pd-syslog-0.1/debian/rules 2020-04-20 22:14:03.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: