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

Bug#948094: pd-fftease FTCBFS: strips with the wrong strip



Source: pd-fftease
Version: 2.5.2.git20121005-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

pd-fftease fails to cross build from source, because it strips with the
build architecture strip during make install. Beyond breaking cross
compilation, this braks DEB_BUILD_OPTIONS=nostrip as well as generation
of -dbgsym packages. It is best to defer stripping to dh_strip. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru pd-fftease-2.5.2.git20121005/debian/changelog pd-fftease-2.5.2.git20121005/debian/changelog
--- pd-fftease-2.5.2.git20121005/debian/changelog	2018-02-01 23:03:51.000000000 +0100
+++ pd-fftease-2.5.2.git20121005/debian/changelog	2020-01-03 21:33:43.000000000 +0100
@@ -1,3 +1,10 @@
+pd-fftease (2.5.2.git20121005-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 03 Jan 2020 21:33:43 +0100
+
 pd-fftease (2.5.2.git20121005-2) unstable; urgency=medium
 
   * Removed acknowledgements from long description
diff --minimal -Nru pd-fftease-2.5.2.git20121005/debian/rules pd-fftease-2.5.2.git20121005/debian/rules
--- pd-fftease-2.5.2.git20121005/debian/rules	2018-02-01 23:03:51.000000000 +0100
+++ pd-fftease-2.5.2.git20121005/debian/rules	2020-01-03 21:33:42.000000000 +0100
@@ -21,7 +21,7 @@
 		$(empty)
 
 override_dh_auto_install:
-	dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
+	dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir) STRIP=true
 # clean up included example scripts
 	find $(CURDIR)/debian/*/$(pkglibdir) -name "*.pl" -exec \
 		chmod +x {} +

Reply to: