Source: proot Version: 5.1.0-1.2 Tags: patch User: [email protected] Usertags: rebootstrap
proot fails to cross build from source. Its build system is well prepared for cross compilation, but does not work immediately with dh_auto_build as proot expects one to supply the toolchain prefix via the CROSS_COMPILE variable, which dh_auto_build does not set. Since prefixing build tools even works for native builds, we can just export it unconditionally to make cross builds work. Please consider applying the attached patch. Helmut
diff --minimal -Nru proot-5.1.0/debian/changelog proot-5.1.0/debian/changelog --- proot-5.1.0/debian/changelog 2017-01-14 16:58:21.000000000 +0100 +++ proot-5.1.0/debian/changelog 2018-06-27 06:20:56.000000000 +0200 @@ -1,3 +1,10 @@ +proot (5.1.0-1.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass CROSS_COMPILE to make. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 27 Jun 2018 06:20:56 +0200 + proot (5.1.0-1.2) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru proot-5.1.0/debian/rules proot-5.1.0/debian/rules --- proot-5.1.0/debian/rules 2017-01-14 16:58:21.000000000 +0100 +++ proot-5.1.0/debian/rules 2018-06-27 06:20:56.000000000 +0200 @@ -1,5 +1,9 @@ #!/usr/bin/make -f # -*- makefile -*- + +include /usr/share/dpkg/architecture.mk +export CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)- + %: dh $@ --sourcedirectory=src

