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

Bug#933088: puredata-import FTCBFS: uses the wrong strip



Source: puredata-import
Version: 1.3-5
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

puredata-improt fails to cross build from source, because it uses the
wrong strip during make install. Ususally, the best solution is to
simply defer stripping to dh_strip as that also makes generation of
-dbgsym packages work. In this case however, dh_strip misses the
relevant object, so we pass the correct strip instead. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru puredata-import-1.3/debian/changelog puredata-import-1.3/debian/changelog
--- puredata-import-1.3/debian/changelog	2019-01-26 22:55:07.000000000 +0100
+++ puredata-import-1.3/debian/changelog	2019-07-26 16:07:31.000000000 +0200
@@ -1,3 +1,10 @@
+puredata-import (1.3-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass a correct strip to make install. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 26 Jul 2019 16:07:31 +0200
+
 puredata-import (1.3-5) unstable; urgency=medium
 
   * bumped Standards-Version to 3.9.3
diff --minimal -Nru puredata-import-1.3/debian/rules puredata-import-1.3/debian/rules
--- puredata-import-1.3/debian/rules	2019-01-26 22:55:07.000000000 +0100
+++ puredata-import-1.3/debian/rules	2019-07-26 16:07:31.000000000 +0200
@@ -3,12 +3,13 @@
 LIBRARY_NAME = import
 PACKAGE = puredata-$(LIBRARY_NAME)
 pkglibdir = /usr/lib/puredata/extra
+-include /usr/share/dpkg/buildtools.mk
 
 %:
 	dh $@ --buildsystem=makefile
 
 override_dh_auto_install:
-	dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
+	dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir) STRIP="$(STRIP) --strip-unneeded -R .note -R .comment"
 # replace license file with link to the Debian license file
 	rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt
 

Reply to: