Source: imgvtopgm Version: 2.0-9 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
imgvtopgm fails to cross build from source, because it configures for the build architecture. Unfortunately, its configure script is too old to understand the --host flag. Instead, one is supposed to export the cross tools via the environment. The easiest way of doing so - deferring the task to dpkg's buildtools.mk - makes imgvtopgm cross buildable. Please consider applying the attached patch. Helmut
diff -u imgvtopgm-2.0/debian/changelog imgvtopgm-2.0/debian/changelog --- imgvtopgm-2.0/debian/changelog +++ imgvtopgm-2.0/debian/changelog @@ -1,3 +1,10 @@ +imgvtopgm (2.0-9.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Export cross tools for configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 16 Jun 2021 16:59:10 +0200 + imgvtopgm (2.0-9) unstable; urgency=low * debian/control: diff -u imgvtopgm-2.0/debian/rules imgvtopgm-2.0/debian/rules --- imgvtopgm-2.0/debian/rules +++ imgvtopgm-2.0/debian/rules @@ -7,6 +7,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +DPKG_EXPORT_BUILDTOOLS=1 +-include /usr/share/dpkg/buildtools.mk + CFLAGS = -Wall ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))