Source: amtterm
Version: 1.4-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

amtterm fails to cross build from source, because it strips with the
build architecture strip during make install. Beyond breaking cross
compilation, doing so also breaks DEB_BUILD_OPTIONS=nostrip as well as
generation of -dbgsym packages. A recent compatibility level of
debhelper causes dh_auto_install to pass INSTALL='install
--strip-program=true' to make install. The attached patch passes this
variable explicitly to avoid bumping the compatibility level and it
fixes all of the mentioned issues. Please consider applying it.

Helmut
--- amtterm-1.4/debian/changelog
+++ amtterm-1.4/debian/changelog
@@ -1,3 +1,10 @@
+amtterm (1.4-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 15 Dec 2020 15:13:59 +0100
+
 amtterm (1.4-2) unstable; urgency=medium
 
   * add note SOAP protocol discontinued in AMT 9.0
--- amtterm-1.4/debian/rules
+++ amtterm-1.4/debian/rules
@@ -10,7 +10,7 @@
        dh_clean build-stamp mk/*.dep Make.config
 
 override_dh_auto_install:
-       $(MAKE) DESTDIR=$(CURDIR)/debian/tmp prefix=/usr install 
+       $(MAKE) DESTDIR=$(CURDIR)/debian/tmp prefix=/usr install 
'INSTALL=install --strip-program=true'
 
 %:
        dh $@

Reply via email to