Source: ibod
Version: 1.5.0-6
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

ibod fails to cross build from source, because its make install passes
the -s flag to install and thus uses the wrong strip. Beyond breaking
cross compilation, this also breaks DEB_BUILD_OPTIONS=nostrip as well as
generating a -dbgsym package. The attached patch disables such stripping
and defers it to dh_strip instead. Please consider not applying the
patch and bumping the compatibility level to 11 or higher. In that
level, debhelper will disable the stripping. Failing that, consider
applying the patch.

Helmut
diff --minimal -Nru ibod-1.5.0/debian/changelog ibod-1.5.0/debian/changelog
--- ibod-1.5.0/debian/changelog 2012-05-29 11:19:25.000000000 +0200
+++ ibod-1.5.0/debian/changelog 2019-06-12 06:27:08.000000000 +0200
@@ -1,3 +1,10 @@
+ibod (1.5.0-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Don't strip during dh_auto_install. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 12 Jun 2019 06:27:08 +0200
+
 ibod (1.5.0-6) unstable; urgency=low
 
   * Fix typo in package description. (Closes: #299994)
diff --minimal -Nru ibod-1.5.0/debian/rules ibod-1.5.0/debian/rules
--- ibod-1.5.0/debian/rules     2012-05-22 16:46:22.000000000 +0200
+++ ibod-1.5.0/debian/rules     2019-06-12 06:27:07.000000000 +0200
@@ -2,6 +2,9 @@
 %:
        dh $@
 
+override_dh_auto_install:
+       dh_auto_install -- INSTALL='install --strip-program=true'
+
 override_dh_installppp:
        dh_installppp --name=00-ibod
        dh_installppp --name=zz-ibod

Reply via email to