[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956793: pd-earplug FTCBFS: strips with the wrong strip



Source: pd-earplug
Version: 0.2-4
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

pd-earplug fails to cross build from source, because make install strips
with the build architecture strip. Beyond breaking cross compilation,
doing so also breaks DEB_BUILD_OPTIONS=nostrip as well as generation of
-dbgsym packages. It is best to leave stripping to dh_strip. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru pd-earplug-0.2/debian/changelog pd-earplug-0.2/debian/changelog
--- pd-earplug-0.2/debian/changelog	2018-01-29 22:09:30.000000000 +0100
+++ pd-earplug-0.2/debian/changelog	2020-04-15 10:10:31.000000000 +0200
@@ -1,3 +1,10 @@
+pd-earplug (0.2-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 15 Apr 2020 10:10:31 +0200
+
 pd-earplug (0.2-4) unstable; urgency=medium
 
   [ Hans-Christoph Steiner ]
diff --minimal -Nru pd-earplug-0.2/debian/rules pd-earplug-0.2/debian/rules
--- pd-earplug-0.2/debian/rules	2018-01-29 22:09:30.000000000 +0100
+++ pd-earplug-0.2/debian/rules	2020-04-15 10:10:30.000000000 +0200
@@ -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: