Source: mrboom Version: 4.8-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
mrboom fails to cross build from source, because it does not pass cross tools to make. The easiest way of doing so is using dh_auto_build. Then it fails stripping during make install with the wrong strip. Doing so also breaks DEB_BUILD_OPTIONS=nostrip as well as generation of -dbgsym packages. Stripping is best deferred to dh_strip entirely. Please consider applying the attached patch. Helmut
diff --minimal -Nru mrboom-4.8/debian/changelog mrboom-4.8/debian/changelog --- mrboom-4.8/debian/changelog 2019-08-11 11:22:42.000000000 +0200 +++ mrboom-4.8/debian/changelog 2019-08-15 06:00:02.000000000 +0200 @@ -1,3 +1,12 @@ +mrboom (4.8-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_build pass cross tools to make. + + Don't strip during make install. + + -- Helmut Grohne <hel...@subdivi.de> Thu, 15 Aug 2019 06:00:02 +0200 + mrboom (4.8-1) unstable; urgency=medium * New upstream version. diff --minimal -Nru mrboom-4.8/debian/rules mrboom-4.8/debian/rules --- mrboom-4.8/debian/rules 2018-02-18 15:01:14.000000000 +0100 +++ mrboom-4.8/debian/rules 2019-08-15 06:00:02.000000000 +0200 @@ -14,10 +14,10 @@ dh $@ override_dh_auto_build: - $(MAKE) mrboom LIBSDL2=1 + dh_auto_build -- mrboom LIBSDL2=1 override_dh_auto_test: @echo skipping test override_dh_auto_install: - $(MAKE) install DESTDIR=debian/mrboom PREFIX=/usr MANDIR=share/man/man6 BINDIR=games + dh_auto_install -- PREFIX=/usr MANDIR=share/man/man6 BINDIR=games STRIP=: