Source: jpeginfo
Version: 1.6.0-6
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

jpeginfo fails to cross build from source, because it configures for the
build architecture. Using dh_auto_build does not fix that, because
jpeginfo's ./configure is so old that it doesn't understand --host.
Rather it needs a suitable CC exported. After doing so, jpeginfo cross
builds succesfully. Please consider applying the attached patch.

Helmut
diff -u jpeginfo-1.6.0/debian/rules jpeginfo-1.6.0/debian/rules
--- jpeginfo-1.6.0/debian/rules
+++ jpeginfo-1.6.0/debian/rules
@@ -9,6 +9,9 @@
 # This is the debhelper compatability version to use.
 #export DH_COMPAT=4
 
+DPKG_EXPORT_BUILDTOOLS=1
+-include /usr/share/dpkg/buildtools.mk
+
 configure: configure-stamp
 configure-stamp:
        dh_testdir
diff -u jpeginfo-1.6.0/debian/changelog jpeginfo-1.6.0/debian/changelog
--- jpeginfo-1.6.0/debian/changelog
+++ jpeginfo-1.6.0/debian/changelog
@@ -1,3 +1,10 @@
+jpeginfo (1.6.0-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export a suitable CC for ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 21 Jun 2018 05:51:45 +0200
+
 jpeginfo (1.6.0-6) unstable; urgency=low
 
   * Applied patch from Breno Leitao <bren...@br.ibm.com> that solve a

Reply via email to