Source: pngmeta Version: 1.11-9 Tags: patch User: helm...@debian.org Usertags: rebootstrap
pngmeta fails to cross build from source, because it configures for the build architecture. The packaging does pass the relevant --host flag to ./configure, but ./configure is too old to recognize it. One should pass a suitable CC here instead. Please consider applying the attached patch. Helmut
diff -u pngmeta-1.11/debian/changelog pngmeta-1.11/debian/changelog --- pngmeta-1.11/debian/changelog +++ pngmeta-1.11/debian/changelog @@ -1,3 +1,10 @@ +pngmeta (1.11-9.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass CC to ./configure rather than --host. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 13 Dec 2018 07:17:18 +0100 + pngmeta (1.11-9) unstable; urgency=medium * QA upload. diff -u pngmeta-1.11/debian/rules pngmeta-1.11/debian/rules --- pngmeta-1.11/debian/rules +++ pngmeta-1.11/debian/rules @@ -1,19 +1,13 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +-include /usr/share/dpkg/buildtools.mk config.status: configure dh_testdir - ./configure \ - --host=$(DEB_HOST_GNU_TYPE) \ - --build=$(DEB_BUILD_GNU_TYPE) \ + CC=$(CC) ./configure \ --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info