Source: httping
Version: 2.5-3.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Thank you for applying my <!nocheck> patch. httping now has satisfiable
cross Build-Depends, but it fails to cross build. It uses the build
architecture compiler. Usually this is fixed, by using
dh_auto_configure, but httping's configure is hand written and does not
support the typical --host flag. Rather one is supposed to supply a
cross compiler via the CC environment variable. After doing so, httping
cross builds successfully. Please consider applying the attached patch
as well.

Helmut
diff --minimal -Nru httping-2.5/debian/changelog httping-2.5/debian/changelog
--- httping-2.5/debian/changelog        2018-11-02 22:17:08.000000000 +0100
+++ httping-2.5/debian/changelog        2018-11-15 22:47:14.000000000 +0100
@@ -1,3 +1,10 @@
+httping (2.5-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export a cross compiler for ./configure and make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 15 Nov 2018 22:47:14 +0100
+
 httping (2.5-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru httping-2.5/debian/rules httping-2.5/debian/rules
--- httping-2.5/debian/rules    2018-04-07 16:53:07.000000000 +0200
+++ httping-2.5/debian/rules    2018-11-15 22:46:58.000000000 +0100
@@ -3,6 +3,8 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_BUILD_HARDENING=1
 include /usr/share/dpkg/buildflags.mk
+-include /usr/share/dpkg/buildtools.mk
+export CC
 
 %:
        dh $@

Reply via email to