Bug#948175: pd-bassemu FTCBFS: strips with the build architecture strip
Source: pd-bassemu
Version: 0.3-5
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
pd-bassemu fails to cross build from source, because it strips with the
build architecture strip during make install. Beyond breaking cross
compilation, doing so breaks DEB_BUILD_OPTIONS=nostrip as well as
generation of -dbgsym packages. It is best to defer all stripping to
dh_strip. Please consider applying the attached patch.
Helmut
diff --minimal -Nru pd-bassemu-0.3/debian/changelog pd-bassemu-0.3/debian/changelog
--- pd-bassemu-0.3/debian/changelog 2018-01-29 21:01:42.000000000 +0100
+++ pd-bassemu-0.3/debian/changelog 2020-01-04 20:36:40.000000000 +0100
@@ -1,3 +1,10 @@
+pd-bassemu (0.3-5.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 04 Jan 2020 20:36:40 +0100
+
pd-bassemu (0.3-5) unstable; urgency=medium
* Added C/CPP/LDFLAGS to build
diff --minimal -Nru pd-bassemu-0.3/debian/rules pd-bassemu-0.3/debian/rules
--- pd-bassemu-0.3/debian/rules 2018-01-29 21:01:42.000000000 +0100
+++ pd-bassemu-0.3/debian/rules 2020-01-04 20:36:37.000000000 +0100
@@ -12,6 +12,6 @@
$(empty)
override_dh_auto_install:
- dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
+ dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir) STRIP=true
# replace license file with link to the Debian license file
rm -f -- $(CURDIR)/debian/*/$(pkglibdir)/*/LICENSE.txt
Reply to: