Source: tripwire
Version: 2.4.3.1-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

tripwire fails to cross build from source, because it configures for the
build architecture. dh_auto_configure knows how to pass the relevant
--host flag and after using it, tripwire cross builds successfully.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru tripwire-2.4.3.1/debian/changelog 
tripwire-2.4.3.1/debian/changelog
--- tripwire-2.4.3.1/debian/changelog   2016-11-10 17:21:04.000000000 +0100
+++ tripwire-2.4.3.1/debian/changelog   2018-04-21 14:19:25.000000000 +0200
@@ -1,3 +1,10 @@
+tripwire (2.4.3.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 21 Apr 2018 14:19:25 +0200
+
 tripwire (2.4.3.1-2) unstable; urgency=medium
 
   * Use libc-dev-bin instead of libc6 to generate correct Built-Using.
diff --minimal -Nru tripwire-2.4.3.1/debian/rules tripwire-2.4.3.1/debian/rules
--- tripwire-2.4.3.1/debian/rules       2016-11-10 17:20:54.000000000 +0100
+++ tripwire-2.4.3.1/debian/rules       2018-04-21 14:19:24.000000000 +0200
@@ -22,7 +22,7 @@
 config.status: $(QUILT_STAMPFN)
        dh_testdir
        dh_autotools-dev_updateconfig
-       ./configure --disable-openssl --enable-static --prefix=/usr 
--sysconfdir=/etc/tripwire
+       dh_auto_configure -- --disable-openssl --enable-static 
--sysconfdir=/etc/tripwire
 
 build: build-arch build-indep
 build-arch: build-stamp

Reply via email to