Bug#913845: httping FTCBFS: builds for the wrong architecture

2018-11-26 Thread Abhijith PA
Hi Helmut.


Its still FTBFS in reproducible builds :(


--a



Bug#913845: httping FTCBFS: builds for the wrong architecture

2018-11-15 Thread Helmut Grohne
On Fri, Nov 16, 2018 at 08:49:10AM +0530, Abhijith PA wrote:
> BTW, can you tell, on which architecture build you are trying to fix ? 

I'm performing almost all of my builds on amd64, cause fast machines are
affordable there. However the nature of cross builds is to build for
another architecture. Presently, I do most of my builds for any non-x86
release architecture.

Hope that helps

Helmut



Bug#913845: httping FTCBFS: builds for the wrong architecture

2018-11-15 Thread Abhijith PA



Hi.

On 16 November 2018 3:20:58 AM IST, Helmut Grohne  wrote:
>Source: httping
>Version: 2.5-3.1
>Tags: patch
>User: helm...@debian.org
>Usertags: rebootstrap
>
>Thank you for applying my  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

Thank you for the patch.

I will look into it.  
BTW, can you tell, on which architecture build you are trying to fix ? 

--a
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Bug#913845: httping FTCBFS: builds for the wrong architecture

2018-11-15 Thread Helmut Grohne
Source: httping
Version: 2.5-3.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Thank you for applying my  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/changelog2018-11-02 22:17:08.0 +0100
+++ httping-2.5/debian/changelog2018-11-15 22:47:14.0 +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   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/rules2018-04-07 16:53:07.0 +0200
+++ httping-2.5/debian/rules2018-11-15 22:46:58.0 +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 $@