Source: tuxpaint Version: 1:0.9.22-5 Tags: patch User: helm...@debian.org Usertags: rebootstrap
tuxpaint fails to cross build from source, because it uses the build architecture compiler. After indirecting the make invocation through dh_auto_build, it cross builds successfully, because dh_auto_build passes cross compilers to make. Please consider applying the attached patch. Helmut
diff --minimal -Nru tuxpaint-0.9.22/debian/changelog tuxpaint-0.9.22/debian/changelog --- tuxpaint-0.9.22/debian/changelog 2017-08-23 11:52:24.000000000 +0200 +++ tuxpaint-0.9.22/debian/changelog 2017-10-14 00:22:33.000000000 +0200 @@ -1,3 +1,10 @@ +tuxpaint (1:0.9.22-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 14 Oct 2017 00:22:33 +0200 + tuxpaint (1:0.9.22-5) unstable; urgency=medium * Adopting package (Closes: #848988) diff --minimal -Nru tuxpaint-0.9.22/debian/rules tuxpaint-0.9.22/debian/rules --- tuxpaint-0.9.22/debian/rules 2017-08-23 11:52:24.000000000 +0200 +++ tuxpaint-0.9.22/debian/rules 2017-10-14 00:22:32.000000000 +0200 @@ -30,7 +30,7 @@ # Add here commands to compile the package. $(MAKE) clean - $(MAKE) all PREFIX=/usr DEBUG_FLAGS="$(DEBUG_FLAGS)" VER_DATE="$(VER_DATE)" + dh_auto_build -- all PREFIX=/usr DEBUG_FLAGS="$(DEBUG_FLAGS)" VER_DATE="$(VER_DATE)" touch build-arch-stamp