Source: mp3val Version: 0.1.8-3 Tags: patch User: [email protected] Usertags: rebootstrap
mp3val fails to cross build from source, because it uses the build architecture compiler. The easiest way to fix that is using dh_auto_build. After doing so, mp3val cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru mp3val-0.1.8/debian/changelog mp3val-0.1.8/debian/changelog --- mp3val-0.1.8/debian/changelog 2014-01-12 18:20:35.000000000 +0100 +++ mp3val-0.1.8/debian/changelog 2018-05-26 10:55:28.000000000 +0200 @@ -1,3 +1,10 @@ +mp3val (0.1.8-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use dh_auto_build; Closes: #-1 + + -- Helmut Grohne <[email protected]> Sat, 26 May 2018 10:55:28 +0200 + mp3val (0.1.8-3) unstable; urgency=low * debian/control diff --minimal -Nru mp3val-0.1.8/debian/rules mp3val-0.1.8/debian/rules --- mp3val-0.1.8/debian/rules 2014-01-12 18:20:35.000000000 +0100 +++ mp3val-0.1.8/debian/rules 2018-05-26 10:54:54.000000000 +0200 @@ -7,10 +7,10 @@ LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) %: - dh $@ + dh $@ --buildsystem=makefile override_dh_auto_build: - $(MAKE) -f Makefile.linux CXXFLAGS='$(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)' + dh_auto_build -- -f Makefile.linux CXXFLAGS='$(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)' override_dh_auto_clean: [ ! -f Makefile ] || $(MAKE) -f Makefile.gcc clean

