Source: trickle
Version: 1.07-10.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

trickle fails to cross build from source, because it configures for the
build architecture. The easiest way of fixing that is using
dh_auto_configure. After doing so trickle continues to fail due to its
use of AC_TRY_RUN. I have no fix for that to offer. Please consider
fixing the --host part anyway. The attached patch implements that.
Please close this bug when trickle passes --host to ./configure. That
will make the next failure more visible to interested cross builders.

Helmut
diff -u trickle-1.07/debian/changelog trickle-1.07/debian/changelog
--- trickle-1.07/debian/changelog
+++ trickle-1.07/debian/changelog
@@ -1,3 +1,10 @@
+trickle (1.07-10.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Address FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: 
#-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 10 Jun 2018 20:57:14 +0200
+
 trickle (1.07-10.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u trickle-1.07/debian/rules trickle-1.07/debian/rules
--- trickle-1.07/debian/rules
+++ trickle-1.07/debian/rules
@@ -9,8 +9,7 @@
        dh_testdir
        dh_autoreconf
        CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
-        LDFLAGS="$(LDFLAGS)" ./configure --prefix=/usr \
-            --mandir=/usr/share/man --sysconfdir=/etc --with-pic
+        LDFLAGS="$(LDFLAGS)" dh_auto_configure -- --with-pic
 
 build: build-arch build-indep
 build-arch: build-stamp

Reply via email to