Source: goo Version: 0.155-17 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
goo fails to cross build from source, because it configures for the build architecture. Normally, the cause is a missing --host flag and fixed using dh_auto_configure. But goo already uses dh_auto_configure. It turns out that its ./configure is too old to understand --host. One is supposed to export CC and friends here. Please consider applying the attached patch. It defers the work to dpkg's buildtools.mk. Helmut
diff --minimal -Nru goo-0.155/debian/changelog goo-0.155/debian/changelog --- goo-0.155/debian/changelog 2019-01-25 04:18:42.000000000 +0100 +++ goo-0.155/debian/changelog 2019-12-28 21:08:08.000000000 +0100 @@ -1,3 +1,10 @@ +goo (0.155-17.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Export CC and friends for old ./configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 28 Dec 2019 21:08:08 +0100 + goo (0.155-17) unstable; urgency=medium * debian/copyright: diff --minimal -Nru goo-0.155/debian/rules goo-0.155/debian/rules --- goo-0.155/debian/rules 2019-01-25 04:18:42.000000000 +0100 +++ goo-0.155/debian/rules 2019-12-28 21:08:05.000000000 +0100 @@ -1,6 +1,8 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all +DPKG_EXPORT_BUILDTOOLS=1 +-include /usr/share/dpkg/buildtools.mk CFLAGS := $(shell dpkg-buildflags --get CFLAGS) -Wall \ $(shell dpkg-buildflags --get CPPFLAGS)