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

Bug#948174: pd-beatpipe FTCBFS: strips with the wrong strip



Source: pd-beatpipe
Version: 0.1-5
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

pd-beatpipe fails to cross build from source, because it strips with the
build architecture strip during make install. Beyond breaking cross
compilation, this also 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-beatpipe-0.1/debian/changelog pd-beatpipe-0.1/debian/changelog
--- pd-beatpipe-0.1/debian/changelog	2018-01-29 21:11:57.000000000 +0100
+++ pd-beatpipe-0.1/debian/changelog	2020-01-04 17:34:22.000000000 +0100
@@ -1,3 +1,10 @@
+pd-beatpipe (0.1-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 17:34:22 +0100
+
 pd-beatpipe (0.1-5) unstable; urgency=medium
 
   * Updated Vcs-* stanzas to salsa.d.o
diff --minimal -Nru pd-beatpipe-0.1/debian/rules pd-beatpipe-0.1/debian/rules
--- pd-beatpipe-0.1/debian/rules	2018-01-29 21:11:57.000000000 +0100
+++ pd-beatpipe-0.1/debian/rules	2020-01-04 17:34:20.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: