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

Bug#930205: pd-arraysize FTCBFS: strips with the wrong strip



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

pd-arraysize fails to cross build from source, because it strips with
the wrong strip during make install. Beyond breaking cross compilation,
doing so breaks DEB_BUILD_OPTIONS=nostrip as well as generation of
-dbgsym packages. The attached patch defers all stripping to dh_strip.
Please consider applying it.

Helmut
diff --minimal -Nru pd-arraysize-0.1/debian/changelog pd-arraysize-0.1/debian/changelog
--- pd-arraysize-0.1/debian/changelog	2018-01-29 20:36:22.000000000 +0100
+++ pd-arraysize-0.1/debian/changelog	2019-06-08 08:59:25.000000000 +0200
@@ -1,3 +1,10 @@
+pd-arraysize (0.1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't strip during make install. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 08 Jun 2019 08:59:25 +0200
+
 pd-arraysize (0.1-4) unstable; urgency=medium
 
   * Pass (CPP|C|LD)FLAGS to build
diff --minimal -Nru pd-arraysize-0.1/debian/rules pd-arraysize-0.1/debian/rules
--- pd-arraysize-0.1/debian/rules	2018-01-29 20:36:22.000000000 +0100
+++ pd-arraysize-0.1/debian/rules	2019-06-08 08:59:24.000000000 +0200
@@ -10,4 +10,4 @@
 		$(empty)
 
 override_dh_auto_install:
-	dh_auto_install -- prefix=/usr pkglibdir=/usr/lib/pd/extra
+	dh_auto_install -- prefix=/usr pkglibdir=/usr/lib/pd/extra STRIP=true

Reply to: