Source: dracut Version: 047+31-1 Tags: patch User: [email protected] Usertags: rebootstrap
dracut fails to cross build from source, because it falls back to the build architecture pkg-config. It uses a non-autotools ./configure that does not derive pkg-config from the --host flag but rather expect the builder exporting a suitable PKG_CONFIG. After doing so, dracut cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru dracut-047+31/debian/changelog dracut-047+31/debian/changelog --- dracut-047+31/debian/changelog 2018-05-17 17:44:36.000000000 +0200 +++ dracut-047+31/debian/changelog 2018-06-09 20:46:34.000000000 +0200 @@ -1,3 +1,10 @@ +dracut (047+31-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let buildtools.mk export PKG_CONFIG etc. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sat, 09 Jun 2018 20:46:34 +0200 + dracut (047+31-1) unstable; urgency=medium * new upstream version diff --minimal -Nru dracut-047+31/debian/rules dracut-047+31/debian/rules --- dracut-047+31/debian/rules 2018-05-17 17:28:36.000000000 +0200 +++ dracut-047+31/debian/rules 2018-06-09 20:46:32.000000000 +0200 @@ -1,6 +1,8 @@ #!/usr/bin/make -f export DH_VERBOSE=1 +DPKG_EXPORT_BUILDTOOLS=1 +-include /usr/share/dpkg/buildtools.mk %: dh $@

