Bug#949788: s390-dasd FTCBFS: strips with the build architecture strip
Source: s390-dasd
Version: 0.0.65
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
s390-dasd fails to cross build from source, because it strips using the
build architecture strip during build. Beyond breaking cross
compilation, this also breaks DEB_BUILD_OPTIONS=nostrip as well as
generation of -dbgsym packages. It is best to defer all stripping to
dh_strip. Please consider applying the attached patch.
Helmut
diff --minimal -Nru s390-dasd-0.0.65/debian/changelog s390-dasd-0.0.65+nmu1/debian/changelog
--- s390-dasd-0.0.65/debian/changelog 2019-11-13 23:43:24.000000000 +0100
+++ s390-dasd-0.0.65+nmu1/debian/changelog 2020-01-25 05:44:17.000000000 +0100
@@ -1,3 +1,10 @@
+s390-dasd (0.0.65+nmu1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 25 Jan 2020 05:44:17 +0100
+
s390-dasd (0.0.65) unstable; urgency=medium
* Team upload
diff --minimal -Nru s390-dasd-0.0.65/debian/rules s390-dasd-0.0.65+nmu1/debian/rules
--- s390-dasd-0.0.65/debian/rules 2018-08-10 21:25:00.000000000 +0200
+++ s390-dasd-0.0.65+nmu1/debian/rules 2020-01-25 05:44:16.000000000 +0100
@@ -1,3 +1,6 @@
#! /usr/bin/make -f
%:
dh $@
+
+override_dh_auto_build:
+ dh_auto_build -- STRIP=true
Reply to: