Source: avldrums.lv2 Version: 0.5.2-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
avldrums.lv2 fails to cross build from source, because it strips with the build architecture strip during dh_auto_build. Beyond breaking cross compilation, such behaviour also breaks DEB_BUILD_OPTIONS=nostrip as well as generation of -dbgsym packages. The best way to fix this is to defer all stripping to dh_strip. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru avldrums.lv2-0.5.2/debian/changelog avldrums.lv2-0.5.2/debian/changelog --- avldrums.lv2-0.5.2/debian/changelog 2022-11-25 17:55:53.000000000 +0100 +++ avldrums.lv2-0.5.2/debian/changelog 2022-12-19 15:54:39.000000000 +0100 @@ -1,3 +1,10 @@ +avldrums.lv2 (0.5.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 19 Dec 2022 15:54:39 +0100 + avldrums.lv2 (0.5.2-1) unstable; urgency=medium * New upstream version 0.5.2 diff --minimal -Nru avldrums.lv2-0.5.2/debian/rules avldrums.lv2-0.5.2/debian/rules --- avldrums.lv2-0.5.2/debian/rules 2022-11-04 22:56:28.000000000 +0100 +++ avldrums.lv2-0.5.2/debian/rules 2022-12-19 15:54:37.000000000 +0100 @@ -8,6 +8,7 @@ export OPTIMIZATIONS= -fomit-frame-pointer -O3 -fno-finite-math-only -DNDEBUG export PKG_CONFIG ?= pkg-config export PREFIX=/usr +export STRIP = /bin/true %: dh $@