Source: network-manager-iodine
Version: 1.2.0-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

network-manager-iodine fails to cross build from source. It configures
twice. Once through autogen.sh and another time through
dh_auto_configure. While the latter passes the relevant cross flags, the
former doesn't and thus fails to find required packages. Just skipping
the first (and useless) configure invocation is sufficient for making
network-manager-iodine cross build. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru network-manager-iodine-1.2.0/debian/changelog 
network-manager-iodine-1.2.0/debian/changelog
--- network-manager-iodine-1.2.0/debian/changelog       2016-07-21 
10:16:43.000000000 +0200
+++ network-manager-iodine-1.2.0/debian/changelog       2017-08-08 
12:34:14.000000000 +0200
@@ -1,3 +1,10 @@
+network-manager-iodine (1.2.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Avoid configuring for the build architecture (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 08 Aug 2017 12:34:14 +0200
+
 network-manager-iodine (1.2.0-1) unstable; urgency=medium
 
   * New upstream version 1.2.0
diff --minimal -Nru 
network-manager-iodine-1.2.0/debian/patches/configure_once.patch 
network-manager-iodine-1.2.0/debian/patches/configure_once.patch
--- network-manager-iodine-1.2.0/debian/patches/configure_once.patch    
1970-01-01 01:00:00.000000000 +0100
+++ network-manager-iodine-1.2.0/debian/patches/configure_once.patch    
2017-08-08 12:34:10.000000000 +0200
@@ -0,0 +1,15 @@
+Avoid configuring for the build architecture as that fails.
+
+Index: network-manager-iodine-1.2.0/autogen.sh
+===================================================================
+--- network-manager-iodine-1.2.0.orig/autogen.sh
++++ network-manager-iodine-1.2.0/autogen.sh
+@@ -15,7 +15,6 @@
+ (cd $srcdir;
+     autoreconf --install &&
+     intltoolize --force &&
+-    autoreconf &&
+-    ./configure --enable-maintainer-mode $@
++    autoreconf
+ )
+ 
diff --minimal -Nru network-manager-iodine-1.2.0/debian/patches/series 
network-manager-iodine-1.2.0/debian/patches/series
--- network-manager-iodine-1.2.0/debian/patches/series  1970-01-01 
01:00:00.000000000 +0100
+++ network-manager-iodine-1.2.0/debian/patches/series  2017-08-08 
12:32:07.000000000 +0200
@@ -0,0 +1 @@
+configure_once.patch

Reply via email to