Source: open-iscsi
Version: 2.0.874-5
Tags: patch
User: [email protected]
Usertags: rebootstrap

open-iscsi fails to cross build from source, because iscsiuio/configure
is invoked without --host. The invocation stems from upstream's
Makefile. The easy way to fix that is to run that configure before the
upstream Makefile gets to do so. After doing so, open-iscsi cross builds
sucessfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru open-iscsi-2.0.874/debian/changelog 
open-iscsi-2.0.874/debian/changelog
--- open-iscsi-2.0.874/debian/changelog 2017-12-23 11:30:44.000000000 +0100
+++ open-iscsi-2.0.874/debian/changelog 2018-05-15 19:09:26.000000000 +0200
@@ -1,3 +1,11 @@
+open-iscsi (2.0.874-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to
+    iscsiuio/configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 15 May 2018 19:09:26 +0200
+
 open-iscsi (2.0.874-5) unstable; urgency=high
 
   * [aeb86f7] Fix multiple security issues in iscsiuio. (CVE-2017-17840)
diff --minimal -Nru open-iscsi-2.0.874/debian/rules 
open-iscsi-2.0.874/debian/rules
--- open-iscsi-2.0.874/debian/rules     2017-12-23 11:30:44.000000000 +0100
+++ open-iscsi-2.0.874/debian/rules     2018-05-15 19:09:24.000000000 +0200
@@ -28,6 +28,8 @@
                ../../debian/workaround_flex_bug.sh > prom_lex.c
        cd utils/fwparam_ibft && bison -d prom_parse.y
 
+       @# Let debhelper pass configure flags.
+       dh_auto_configure --sourcedirectory=iscsiuio
        @# The build system doesn't support CPPFLAGS
        env CFLAGS="$(CPPFLAGS) $(CFLAGS)" dh_auto_build
        @# Build udeb variant without libmount

Reply via email to