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

Bug#956825: pd-boids FTCBFS: strips with the wrong strip



Source: pd-boids
Version: 1.1.1-4
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

pd-boids fails to cross build from source, because it strips with the
build architecture strip during make install. Such stripping also breaks
DEB_BUILD_OPTIONS=nostrip as well as generation of -dbgsym packages.
Therefore it is best to leave stripping to dh_strip. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru pd-boids-1.1.1/debian/changelog pd-boids-1.1.1/debian/changelog
--- pd-boids-1.1.1/debian/changelog	2018-01-29 21:22:54.000000000 +0100
+++ pd-boids-1.1.1/debian/changelog	2020-04-15 19:42:57.000000000 +0200
@@ -1,3 +1,10 @@
+pd-boids (1.1.1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 15 Apr 2020 19:42:57 +0200
+
 pd-boids (1.1.1-4) unstable; urgency=medium
 
   * Added (CPP|C|LD)FLAGS to build and simplified d/rules
diff --minimal -Nru pd-boids-1.1.1/debian/rules pd-boids-1.1.1/debian/rules
--- pd-boids-1.1.1/debian/rules	2018-01-29 21:22:54.000000000 +0100
+++ pd-boids-1.1.1/debian/rules	2020-04-15 19:42:56.000000000 +0200
@@ -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: