Source: lziprecover Version: 1.21-4 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
lziprecover fails to cross build from source, because it builds for the build architecture. While dh_auto_configure passes --host, the hand written ./configure does not recognize that. Instead, one is supposes to supply a CXX= assignment. Please consider applying the attached patch. Helmut
diff --minimal -Nru lziprecover-1.21/debian/changelog lziprecover-1.21/debian/changelog --- lziprecover-1.21/debian/changelog 2019-07-16 18:28:30.000000000 +0200 +++ lziprecover-1.21/debian/changelog 2019-07-26 06:22:15.000000000 +0200 @@ -1,3 +1,10 @@ +lziprecover (1.21-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Supply CXX to ./configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 26 Jul 2019 06:22:15 +0200 + lziprecover (1.21-4) unstable; urgency=medium * Uploading to sid. diff --minimal -Nru lziprecover-1.21/debian/rules lziprecover-1.21/debian/rules --- lziprecover-1.21/debian/rules 2019-07-06 21:20:05.000000000 +0200 +++ lziprecover-1.21/debian/rules 2019-07-26 06:22:14.000000000 +0200 @@ -1,8 +1,13 @@ #!/usr/bin/make -f +-include /usr/share/dpkg/buildtools.mk + %: dh ${@} +override_dh_auto_configure: + dh_auto_configure -- 'CXX=$(CXX)' + override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/lziprecover