Bug#883280: pd-libdir FTCBFS: uses the build architecture strip on host architecture objects

Helmut Grohne helmut at subdivi.de
Fri Dec 1 15:46:59 UTC 2017


Source: pd-libdir
Version: 1.11-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

pd-libdir fails to cross build from source, because it uses the build
architecture strip on host architecture objects. Using the correct
strip fixes the build. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru pd-libdir-1.11/debian/changelog pd-libdir-1.11/debian/changelog
--- pd-libdir-1.11/debian/changelog	2017-08-22 18:02:20.000000000 +0200
+++ pd-libdir-1.11/debian/changelog	2017-12-01 16:16:47.000000000 +0100
@@ -1,3 +1,10 @@
+pd-libdir (1.11-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use the host architecture strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 01 Dec 2017 16:16:47 +0100
+
 pd-libdir (1.11-1) unstable; urgency=medium
 
   * New upstream version 1.11
diff --minimal -Nru pd-libdir-1.11/debian/rules pd-libdir-1.11/debian/rules
--- pd-libdir-1.11/debian/rules	2017-08-22 18:02:20.000000000 +0200
+++ pd-libdir-1.11/debian/rules	2017-12-01 16:16:46.000000000 +0100
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 LIBRARY_NAME = libdir
 PACKAGE = pd-$(LIBRARY_NAME)
 pkglibdir = /usr/lib/pd/extra
@@ -30,7 +32,7 @@
 override_dh_strip:
 	dh_strip
 	find $(CURDIR)/debian/$(PACKAGE) -name "*.pd_linux" -exec \
-		strip \
+		$(DEB_HOST_GNU_TYPE)-strip \
 			--remove-section=.comment \
 			--remove-section=.note \
 			--strip-unneeded \


More information about the pkg-multimedia-maintainers mailing list