Source: xmlrpc-epi Version: 0.54.2-1.2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
xmlrpc-epi fails to cross build from source, because it configures for the build architecture. Passing the relevant --host flag is already done by dh_auto_configure, so just indirecting ./configure through dh_auto_configure makes xmlrpc-epi cross build successfully. Please consider applying the attached patch. Helmut
diff -u xmlrpc-epi-0.54.2/debian/changelog xmlrpc-epi-0.54.2/debian/changelog --- xmlrpc-epi-0.54.2/debian/changelog +++ xmlrpc-epi-0.54.2/debian/changelog @@ -1,3 +1,10 @@ +xmlrpc-epi (0.54.2-1.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass --host. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 23 Jun 2017 20:33:21 +0200 + xmlrpc-epi (0.54.2-1.2) unstable; urgency=medium * Non-maintainer upload. diff -u xmlrpc-epi-0.54.2/debian/rules xmlrpc-epi-0.54.2/debian/rules --- xmlrpc-epi-0.54.2/debian/rules +++ xmlrpc-epi-0.54.2/debian/rules @@ -6,7 +6,6 @@ # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) @@ -21,8 +20,7 @@ config.status: dh_testdir dh_autoreconf - ./configure --build=$(DEB_BUILD_GNU_TYPE) --includedir=/usr/include/xmlrpc-epi \ - --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ + dh_auto_configure -- --includedir=/usr/include/xmlrpc-epi \ CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" $(DEB_CONFIGURE_EXTRA_FLAGS) build: build-arch build-indep