Source: libzt Version: 0.2-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
libzt fails to cross build from source, because it uses the build architecture compiler. dh_auto_configure calls configure with the usual --host flag, but the configure script ignores that flag. Consequently, dh_auto_build does not pass cross tools to make (as it assumes that configure will have set up the correct compiler). By forcing the makefile buildsystem for dh_auto_build, we can make it pass cross tools anyway. Please consider applying the attached patch. Helmut
diff --minimal -Nru libzt-0.2/debian/changelog libzt-0.2/debian/changelog --- libzt-0.2/debian/changelog 2020-04-01 11:08:17.000000000 +0200 +++ libzt-0.2/debian/changelog 2020-04-08 16:14:23.000000000 +0200 @@ -1,3 +1,10 @@ +libzt (0.2-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use the makefile buildsystem to pass cross tools. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 08 Apr 2020 16:14:23 +0200 + libzt (0.2-3) unstable; urgency=medium * Cherry pick build system from master to unblock Hurd and kFreeBSD builds. diff --minimal -Nru libzt-0.2/debian/rules libzt-0.2/debian/rules --- libzt-0.2/debian/rules 2020-03-28 22:26:16.000000000 +0100 +++ libzt-0.2/debian/rules 2020-04-08 16:14:22.000000000 +0200 @@ -2,3 +2,6 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ + +override_dh_auto_build: + dh_auto_build --buildsystem=makefile