Source: e2tools
Version: 0.0.16-6.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

e2tools fails to cross build from source, because it uses the build
architecture compiler. That's despite dh_auto_configure passing the
relevant --host flag to ./configure. Unfortunately, the configure at
hand is too old and does not recognize --host. So one should pass a CC
as an environment variable instead. Please consider applying the
attached patch.

Helmut
diff -u e2tools-0.0.16/debian/changelog e2tools-0.0.16/debian/changelog
--- e2tools-0.0.16/debian/changelog
+++ e2tools-0.0.16/debian/changelog
@@ -1,3 +1,11 @@
+e2tools (0.0.16-6.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export CC supplied by buildtools.mk for configure.
+    (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 14 Dec 2018 06:41:28 +0100
+
 e2tools (0.0.16-6.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u e2tools-0.0.16/debian/rules e2tools-0.0.16/debian/rules
--- e2tools-0.0.16/debian/rules
+++ e2tools-0.0.16/debian/rules
@@ -1,4 +1,7 @@
 #!/usr/bin/make -f
 
+-include /usr/share/dpkg/buildtools.mk
+export CC
+
 %:
        dh $@

Reply via email to