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

Bug#946328: pd-bsaylor FTCBFS: strips with the wrong strip



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

pd-bsaylor fails to cross build from source, because it strips with the
build architecture strip. Beyond breaking cross compilation, stripping
at install time also breaks generation of -dbgsym packages as well as
DEB_BUILD_OPTIONS=nostrip. The attached patch simply disables such
stripping and fixes all of the above. Please consider applying it.

Helmut
diff --minimal -Nru pd-bsaylor-0.1/debian/changelog pd-bsaylor-0.1/debian/changelog
--- pd-bsaylor-0.1/debian/changelog	2018-01-29 21:30:14.000000000 +0100
+++ pd-bsaylor-0.1/debian/changelog	2019-12-07 09:19:46.000000000 +0100
@@ -1,3 +1,10 @@
+pd-bsaylor (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, 07 Dec 2019 09:19:46 +0100
+
 pd-bsaylor (0.1-5) unstable; urgency=medium
 
   * Added (CPP|C|LDFLAGS) to build
diff --minimal -Nru pd-bsaylor-0.1/debian/rules pd-bsaylor-0.1/debian/rules
--- pd-bsaylor-0.1/debian/rules	2018-01-29 21:30:14.000000000 +0100
+++ pd-bsaylor-0.1/debian/rules	2019-12-07 09:19:45.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: