Source: dialog
Version: 1.3-20160828-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
dialog fails to cross build from source, because it runs the build
architecture strip after build. Simply prefixing it with the host
triplet makes the build succeed. Please consider applying the attached
patch.
Helmut
diff --minimal -Nru dialog-1.3-20160828/debian/changelog
dialog-1.3-20160828/debian/changelog
--- dialog-1.3-20160828/debian/changelog2016-08-29 23:36:10.0
+0200
+++ dialog-1.3-20160828/debian/changelog2016-09-15 22:07:22.0
+0200
@@ -1,3 +1,10 @@
+dialog (1.3-20160828-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Use triplet prefixed strip. Closes: #-1.
+
+ -- Helmut Grohne Thu, 15 Sep 2016 22:07:06 +0200
+
dialog (1.3-20160828-1) unstable; urgency=medium
* New upstream release.
diff --minimal -Nru dialog-1.3-20160828/debian/rules
dialog-1.3-20160828/debian/rules
--- dialog-1.3-20160828/debian/rules2016-08-29 22:00:00.0 +0200
+++ dialog-1.3-20160828/debian/rules2016-09-15 22:07:04.0 +0200
@@ -39,8 +39,8 @@
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- STRIP = strip --remove-section=.comment --remove-section=.note
- ATRIP = strip --strip-debug
+ STRIP = $(DEB_HOST_GNU_TYPE)-strip --remove-section=.comment
--remove-section=.note
+ ATRIP = $(DEB_HOST_GNU_TYPE)-strip --strip-debug
endif
build: