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

Bug#928906: pd-chaos FTCBFS: strips with the wrong strip



Source: pd-chaos
Version: 0.2-3
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

pd-chaos fails to cross build from source, because it uses the wrong
strip during make install. Beyond breaking cross compilation, this also
breaks DEB_BUILD_OPTIONS=nostrip as well as generation of -dbgsym
packages. The attached patch defers all stripping to dh_strip and fixes
all of the above. Please consider applying it.

Helmut
diff --minimal -Nru pd-chaos-0.2/debian/changelog pd-chaos-0.2/debian/changelog
--- pd-chaos-0.2/debian/changelog	2018-01-29 21:44:08.000000000 +0100
+++ pd-chaos-0.2/debian/changelog	2019-05-12 21:57:40.000000000 +0200
@@ -1,3 +1,10 @@
+pd-chaos (0.2-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Don't strip during make install. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 12 May 2019 21:57:40 +0200
+
 pd-chaos (0.2-3) unstable; urgency=medium
 
   * Demote pd-libdir to Recommends
diff --minimal -Nru pd-chaos-0.2/debian/rules pd-chaos-0.2/debian/rules
--- pd-chaos-0.2/debian/rules	2018-01-29 21:44:08.000000000 +0100
+++ pd-chaos-0.2/debian/rules	2019-05-12 21:57:39.000000000 +0200
@@ -13,7 +13,7 @@
 		$(empty)
 
 override_dh_auto_install:
-	dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
+	dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir) STRIP=:
 # replace license file with link to the Debian license file
 	rm -f -- $(CURDIR)/debian/*/$(pkglibdir)/*/LICENSE.txt
 

Reply to: