Source: acorn-fdisk
Version: 3.0.6-9
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

acorn-fdisk fails to cross build from source, because it strips during
build with the build architecture strip. Doing so also breaks
DEB_BUILD_OPTIONS=nostrip as well as generating -dbgsym packages. The
attached patch defers stripping to dh_strip and fixes all of the above.
Please consider applying it.

Helmut
diff --minimal -Nru acorn-fdisk-3.0.6/debian/changelog 
acorn-fdisk-3.0.6/debian/changelog
--- acorn-fdisk-3.0.6/debian/changelog  2016-08-25 02:50:57.000000000 +0200
+++ acorn-fdisk-3.0.6/debian/changelog  2019-05-12 12:13:09.000000000 +0200
@@ -1,3 +1,9 @@
+acorn-fdisk (3.0.6-10) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Don't strip during build. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 12 May 2019 12:13:09 +0200
+
 acorn-fdisk (3.0.6-9) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru acorn-fdisk-3.0.6/debian/rules 
acorn-fdisk-3.0.6/debian/rules
--- acorn-fdisk-3.0.6/debian/rules      2016-08-25 02:50:57.000000000 +0200
+++ acorn-fdisk-3.0.6/debian/rules      2019-05-12 12:13:07.000000000 +0200
@@ -5,3 +5,6 @@
 
 %:
        dh $@
+
+override_dh_auto_build:
+       dh_auto_build -- STRIP=:

Reply via email to