[pkg-netfilter-team] Bug#898881: conntrack-tools FTCBFS: does not pass --host to ./configure

Helmut Grohne helmut at subdivi.de
Thu May 17 05:09:08 BST 2018


Source: conntrack-tools
Version: 1:1.4.5-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

conntrack-tools fails to cross build from source, because it does not
pass --host to ./configure. The easiest way to fix that is deferring the
task to dh_auto_configure. After doing so, conntrack-tools cross builds
successfully. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru conntrack-tools-1.4.5/debian/changelog conntrack-tools-1.4.5/debian/changelog
--- conntrack-tools-1.4.5/debian/changelog	2018-05-01 12:59:52.000000000 +0200
+++ conntrack-tools-1.4.5/debian/changelog	2018-05-17 06:03:41.000000000 +0200
@@ -1,3 +1,11 @@
+conntrack-tools (1:1.4.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes:
+    #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 17 May 2018 06:03:41 +0200
+
 conntrack-tools (1:1.4.5-1) unstable; urgency=medium
 
   * [9fa49d0] d/control: point VCS-* to salsa.debian.org
diff --minimal -Nru conntrack-tools-1.4.5/debian/rules conntrack-tools-1.4.5/debian/rules
--- conntrack-tools-1.4.5/debian/rules	2018-05-01 12:51:37.000000000 +0200
+++ conntrack-tools-1.4.5/debian/rules	2018-05-17 06:03:41.000000000 +0200
@@ -7,7 +7,7 @@
 	dh $@
 
 override_dh_auto_configure:
-	./configure --prefix=/usr --disable-silent-rules --enable-systemd
+	dh_auto_configure -- --libdir='$${prefix}/lib' --enable-systemd
 
 override_dh_strip:
 	dh_strip --dbgsym-migration='conntrack-tools-dbg (<< 1:1.4.4+snapshot20161117-1)'


More information about the pkg-netfilter-team mailing list