Source: pd-flext
Version: 0.6.3-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

pd-flext fails to cross build from source, because it strips with the
build architecture strip. Beyond breaking cross compilation, doing so
breaks DEB_BUILD_OPTIONS=nostrip as well as generation of -dbgsym
packages. I recommend letting dh_strip handle the stripping and am
attaching a patch for your convenience. After applying it, pd-flext can
be cross built again.

Helmut
diff --minimal -Nru pd-flext-0.6.3/debian/changelog 
pd-flext-0.6.3/debian/changelog
--- pd-flext-0.6.3/debian/changelog     2024-01-30 23:24:55.000000000 +0100
+++ pd-flext-0.6.3/debian/changelog     2024-02-20 20:35:31.000000000 +0100
@@ -1,3 +1,10 @@
+pd-flext (0.6.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 20 Feb 2024 20:35:31 +0100
+
 pd-flext (0.6.3-1) unstable; urgency=medium
 
   * New upstream version 0.6.3
diff --minimal -Nru pd-flext-0.6.3/debian/rules pd-flext-0.6.3/debian/rules
--- pd-flext-0.6.3/debian/rules 2024-01-30 23:24:55.000000000 +0100
+++ pd-flext-0.6.3/debian/rules 2024-02-20 20:35:31.000000000 +0100
@@ -49,7 +49,7 @@
 
 override_dh_auto_install: $(patsubst %,install_%,$(FLAVORS))
 install_%:
-       dh_auto_install --builddir $(builddir)$*
+       STRIPPROG=true dh_auto_install --builddir $(builddir)$*
 
 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
        debian/.*

Reply via email to