Source: acpica-unix Version: 20171110-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
acpica-unix fails to cross build from source, because it uses the build architecture strip. The best solution is to defer all stripping to dh_strip to obtain useful -dbgsym packages. The attached patch achieves that by disabling stripping during make install and it makes acpica-unix cross build successfully. Please consider applying it or bumping the debhelper compatibility level to 10 (which has the same effect). Helmut
diff --minimal -Nru acpica-unix-20171110/debian/changelog acpica-unix-20171110/debian/changelog --- acpica-unix-20171110/debian/changelog 2017-11-21 00:04:14.000000000 +0100 +++ acpica-unix-20171110/debian/changelog 2018-01-09 15:54:54.000000000 +0100 @@ -1,3 +1,10 @@ +acpica-unix (20171110-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Do not strip during make install. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 09 Jan 2018 15:54:54 +0100 + acpica-unix (20171110-1) unstable; urgency=medium * Upgrade to 20171110 upstream. diff --minimal -Nru acpica-unix-20171110/debian/rules acpica-unix-20171110/debian/rules --- acpica-unix-20171110/debian/rules 2017-11-21 00:04:14.000000000 +0100 +++ acpica-unix-20171110/debian/rules 2018-01-09 15:54:52.000000000 +0100 @@ -72,3 +72,6 @@ override_dh_auto_build: dh_auto_build -- OPT_CFLAGS="$(CFLAGS)" CC=$(CC) + +override_dh_auto_install: + dh_auto_install -- INSTALL='install --strip-program=true'