Source: libdatrie Version: 0.2.10-2 Tags: patch User: [email protected] Usertags: rebootstrap
libdatrie fails to cross build from source, because it runs tests even when running tests is disabled via DEB_BUILD_OPTIONS=nocheck. Tests are usually disabled, because running host architecture executables cannot be run (without an emulator). Please consider applying the attached patch. Helmut
diff --minimal -Nru libdatrie-0.2.10/debian/changelog libdatrie-0.2.10/debian/changelog --- libdatrie-0.2.10/debian/changelog 2016-02-01 16:08:51.000000000 +0100 +++ libdatrie-0.2.10/debian/changelog 2016-10-14 06:28:47.000000000 +0200 @@ -1,3 +1,10 @@ +libdatrie (0.2.10-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Support DEB_BUILD_OPTIONS=nocheck. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Fri, 14 Oct 2016 06:28:31 +0200 + libdatrie (0.2.10-2) unstable; urgency=medium * Use system jquery.js for doc package [lintian]. diff --minimal -Nru libdatrie-0.2.10/debian/rules libdatrie-0.2.10/debian/rules --- libdatrie-0.2.10/debian/rules 2016-02-01 16:08:51.000000000 +0100 +++ libdatrie-0.2.10/debian/rules 2016-10-14 06:28:27.000000000 +0200 @@ -21,8 +21,10 @@ # No test for doc override_dh_auto_test-indep: +ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) override_dh_auto_test-arch: $(MAKE) -C tests check +endif override_dh_auto_install-indep: $(MAKE) -C doc install DESTDIR=$(CURDIR)/debian/tmp

