Source: abcm2ps Version: 8.14.13-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
abcm2ps fails to cross build from source, because its configure script does not recognize the --host flag passed by dh_auto_configure and instead expects cross build tools to be exported via environment. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru abcm2ps-8.14.13/debian/changelog abcm2ps-8.14.13/debian/changelog --- abcm2ps-8.14.13/debian/changelog 2022-03-10 21:58:42.000000000 +0100 +++ abcm2ps-8.14.13/debian/changelog 2022-11-25 09:54:38.000000000 +0100 @@ -1,3 +1,10 @@ +abcm2ps (8.14.13-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Export cross build tools for configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 25 Nov 2022 09:54:38 +0100 + abcm2ps (8.14.13-2) unstable; urgency=medium * Revert "only force debhelper build system for the affected command". diff --minimal -Nru abcm2ps-8.14.13/debian/rules abcm2ps-8.14.13/debian/rules --- abcm2ps-8.14.13/debian/rules 2022-03-10 21:58:00.000000000 +0100 +++ abcm2ps-8.14.13/debian/rules 2022-11-25 09:54:31.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 # Debhelper autotedects ninja as the build system. %: