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

Bug#916385: pd-lyonpotpourri FTCBFS: strips with the wrong strip



Source: pd-lyonpotpourri
Version: 2.0+git20121009-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

pd-lyonpotpourri fails to cross build from source, because it strips
with the build architecture strip during make install. This not only
breaks cross compilation, but also breaks generation of a -dbgsym
package as well as DEB_BUILD_OPTIONS=nostrip. Not stripping fixes all
of that. Please consider applying the attached patch.

Helmut
diff --minimal -Nru pd-lyonpotpourri-2.0+git20121009/debian/changelog pd-lyonpotpourri-2.0+git20121009/debian/changelog
--- pd-lyonpotpourri-2.0+git20121009/debian/changelog	2018-02-01 23:20:12.000000000 +0100
+++ pd-lyonpotpourri-2.0+git20121009/debian/changelog	2018-12-13 21:08:33.000000000 +0100
@@ -1,3 +1,10 @@
+pd-lyonpotpourri (2.0+git20121009-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Defer all stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 13 Dec 2018 21:08:33 +0100
+
 pd-lyonpotpourri (2.0+git20121009-2) unstable; urgency=medium
 
   * Added patch to fix spelling errors
diff --minimal -Nru pd-lyonpotpourri-2.0+git20121009/debian/rules pd-lyonpotpourri-2.0+git20121009/debian/rules
--- pd-lyonpotpourri-2.0+git20121009/debian/rules	2018-02-01 23:20:12.000000000 +0100
+++ pd-lyonpotpourri-2.0+git20121009/debian/rules	2018-12-13 21:08:33.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=:
 # fix permissions
 	find $(CURDIR)/debian/*/$(pkglibdir) -name "*.pd_linux" -exec \
 		chmod 0664 {} +

Reply to: