Source: rifiuti Version: 20040505-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
rifiuti fails to cross build from source, because uses the build architecture compiler. It builds only during make install, but dh_auto_install (unlike dh_auto_build) does not pass cross compilers to make. The solution - quite simply - is to build during dh_auto_build. In fact there no longer is any double build, as you fixed the Makefile properly in #900177, so removing the empty override is sufficient to make rifiuti cross build. Please consider applying the attached patch. Helmut
diff --minimal -Nru rifiuti-20040505/debian/changelog rifiuti-20040505/debian/changelog --- rifiuti-20040505/debian/changelog 2018-05-27 21:42:32.000000000 +0200 +++ rifiuti-20040505/debian/changelog 2018-06-27 06:08:16.000000000 +0200 @@ -1,3 +1,10 @@ +rifiuti (20040505-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Don't build during make install. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 27 Jun 2018 06:08:16 +0200 + rifiuti (20040505-2) unstable; urgency=medium * Team upload. diff --minimal -Nru rifiuti-20040505/debian/rules rifiuti-20040505/debian/rules --- rifiuti-20040505/debian/rules 2018-05-27 21:42:32.000000000 +0200 +++ rifiuti-20040505/debian/rules 2018-06-27 06:08:14.000000000 +0200 @@ -11,6 +11,3 @@ dh_clean if [ -f $(CURDIR)/bin ]; then rm -f $(CURDIR)/bin; fi if [ -d $(CURDIR)/bin ]; then rm -f $(CURDIR)/bin/*; fi - -# Added to avoid a double build. -override_dh_auto_build: