Source: lunzip
Version: 1.10-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

lunzip fails to cross build from source, because it uses the build
architecture compiler. Its homegrown ./configure does not recognize the
standard --host nor the CC environment variable. Explicit passing of CC=
via argv is necessary here. After doing so, lunzip cross builds
successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru lunzip-1.10/debian/changelog lunzip-1.10/debian/changelog
--- lunzip-1.10/debian/changelog        2018-02-13 07:59:29.000000000 +0100
+++ lunzip-1.10/debian/changelog        2018-06-29 19:08:24.000000000 +0200
@@ -1,3 +1,10 @@
+lunzip (1.10-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass CC to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 29 Jun 2018 19:08:24 +0200
+
 lunzip (1.10-1) unstable; urgency=medium
 
   * Uploading to sid.
diff --minimal -Nru lunzip-1.10/debian/rules lunzip-1.10/debian/rules
--- lunzip-1.10/debian/rules    2018-02-13 07:58:48.000000000 +0100
+++ lunzip-1.10/debian/rules    2018-06-29 19:08:22.000000000 +0200
@@ -1,8 +1,13 @@
 #!/usr/bin/make -f
 
+-include /usr/share/dpkg/buildtools.mk
+
 %:
        dh ${@}
 
+override_dh_auto_configure:
+       dh_auto_configure -- 'CC=$(CC)'
+
 override_dh_auto_install:
        dh_auto_install -- DESTDIR=$(CURDIR)/debian/lunzip
 

Reply via email to