Source: bs1770gain Version: 0.5.1-2 Tags: patch bs1770gain fails to cross build from source, because it fails running tests with an Exec format error despite setting DEB_BUILD_OPTIONS=nocheck. The attached patch implements the nocheck flag and makes bs1770gain cross build successfully. Please consider applying it.
Helmut
diff --minimal -Nru bs1770gain-0.5.1/debian/changelog bs1770gain-0.5.1/debian/changelog --- bs1770gain-0.5.1/debian/changelog 2018-10-19 12:01:10.000000000 +0200 +++ bs1770gain-0.5.1/debian/changelog 2018-11-26 22:32:02.000000000 +0100 @@ -1,3 +1,10 @@ +bs1770gain (0.5.1-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Support DEB_BUILD_OPTIONS=nocheck. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 26 Nov 2018 22:32:02 +0100 + bs1770gain (0.5.1-2) unstable; urgency=medium [ Ondřej Nový ] diff --minimal -Nru bs1770gain-0.5.1/debian/rules bs1770gain-0.5.1/debian/rules --- bs1770gain-0.5.1/debian/rules 2018-10-19 11:43:12.000000000 +0200 +++ bs1770gain-0.5.1/debian/rules 2018-11-26 22:31:58.000000000 +0100 @@ -2,10 +2,12 @@ %: dh $@ +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) # Run our test suite until the upstream source get one override_dh_auto_test: dh_auto_test BS1770GAIN=`pwd`/bs1770gain/bs1770gain ./debian/tests/test-cmd-tool +endif # Generate and install manual page debian/bs1770gain.1: debian/bs1770gain.txtman