Source: multipath-tools Version: 0.6.3-2 Tags: patch User: [email protected] Usertags: rebootstrap
multipath-tools fails to cross build from source, because it uses the build architecture compiler. Recent changes to dh_auto_build let it automatically pass cross compilers for the makefile build system. Switching multipath-tools from explicit make invocations to dh_auto_build thus fixes the cross build. Please consider applying the attached patch. Helmut
--- multipath-tools-0.6.3/debian/changelog +++ multipath-tools-0.6.3/debian/changelog @@ -1,3 +1,10 @@ +multipath-tools (0.6.3-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross compilers (Closes: #-1) + + -- Helmut Grohne <[email protected]> Thu, 26 Nov 2016 13:26:09 +0100 + multipath-tools (0.6.3-2) unstable; urgency=medium * [6915af9] Add patch to disable linking to librados in udeb --- multipath-tools-0.6.3/debian/rules +++ multipath-tools-0.6.3/debian/rules @@ -36,7 +36,7 @@ [ ! -f kpartx/kpartx.rules ] || cp kpartx/kpartx.rules debian/kpartx.udev - $(MAKE) $(OPTFLAGS) LIB=/lib SYSTEMDPATH=/lib USE_SYSTEMD=1 USE_RADOS=1 + dh_auto_build -- $(OPTFLAGS) LIB=/lib SYSTEMDPATH=/lib USE_SYSTEMD=1 USE_RADOS=1 touch $@ @@ -44,7 +44,7 @@ build-multipath-udeb-stamp: dh_testdir - DEB_CFLAGS_MAINT_APPEND="-static-libgcc" $(MAKE) $(OPTFLAGS) LIB=/lib USE_SYSTEMD=0 USE_RADOS=0 + DEB_CFLAGS_MAINT_APPEND="-static-libgcc" dh_auto_build -- $(OPTFLAGS) LIB=/lib USE_SYSTEMD=0 USE_RADOS=0 # store files for install target mkdir -p $(CURDIR)/debian/tmp-multipath-udeb/sbin

