Source: libre Version: 0.6.0-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
libre fails to cross build from source. The makefile determines the build directory from the compiler. dh_auto_install does not pass cross tools to make, so make install finds an absent build directory and starts from scratch. Passing CC to all targets fixes this. Please consider applying the attached patch. Helmut
diff --minimal -Nru libre-0.6.0/debian/changelog libre-0.6.0/debian/changelog --- libre-0.6.0/debian/changelog 2019-07-22 02:01:00.000000000 +0200 +++ libre-0.6.0/debian/changelog 2019-07-24 20:21:13.000000000 +0200 @@ -1,3 +1,10 @@ +libre (0.6.0-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass CC for all targets. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 24 Jul 2019 20:21:13 +0200 + libre (0.6.0-3) unstable; urgency=medium * Drop Simon Josefsson as uploader by his request. diff --minimal -Nru libre-0.6.0/debian/rules libre-0.6.0/debian/rules --- libre-0.6.0/debian/rules 2019-07-22 01:57:44.000000000 +0200 +++ libre-0.6.0/debian/rules 2019-07-24 20:21:11.000000000 +0200 @@ -1,6 +1,8 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all +include /usr/share/dpkg/buildtools.mk +export CC DH_VERBOSE = 1