Source: kafkacat Version: 1.5.0-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
kafkacat fails to cross build from source, because the mklove system providing system driving the configure script does not understand the --host flag passed by dh_auto_configure. Instead, one is supposed to export the relevant build tool substitutions via the environment. We can use dpkg's buildtools.mk to make kafkacat cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru kafkacat-1.5.0/debian/changelog kafkacat-1.5.0/debian/changelog --- kafkacat-1.5.0/debian/changelog 2019-10-04 17:07:58.000000000 +0200 +++ kafkacat-1.5.0/debian/changelog 2019-12-08 20:00:33.000000000 +0100 @@ -1,3 +1,10 @@ +kafkacat (1.5.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Export build tools via environment for mklove. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 08 Dec 2019 20:00:33 +0100 + kafkacat (1.5.0-1) unstable; urgency=medium * New upstream version. diff --minimal -Nru kafkacat-1.5.0/debian/rules kafkacat-1.5.0/debian/rules --- kafkacat-1.5.0/debian/rules 2019-10-04 17:07:58.000000000 +0200 +++ kafkacat-1.5.0/debian/rules 2019-12-08 20:00:27.000000000 +0100 @@ -1,5 +1,8 @@ #!/usr/bin/make -f +DPKG_EXPORT_BUILDTOOLS=1 +include /usr/share/dpkg/buildtools.mk + %: dh $@