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/changelog 2016-08-29 23:36:10.000000000 +0200 +++ dialog-1.3-20160828/debian/changelog 2016-09-15 22:07:22.000000000 +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 <hel...@subdivi.de> 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/rules 2016-08-29 22:00:00.000000000 +0200 +++ dialog-1.3-20160828/debian/rules 2016-09-15 22:07:04.000000000 +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: