Source: hiredis Version: 0.13.3-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
hiredis fails to cross build from source, because it fails running tests that it shouldn't be running when DEB_BUILD_OPTIONS contains nocheck. After making it honour the nocheck option, hiredis cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru hiredis-0.13.3/debian/changelog hiredis-0.13.3/debian/changelog --- hiredis-0.13.3/debian/changelog 2015-12-05 03:31:27.000000000 +0100 +++ hiredis-0.13.3/debian/changelog 2017-10-14 00:28:52.000000000 +0200 @@ -1,3 +1,10 @@ +hiredis (0.13.3-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck (closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 14 Oct 2017 00:28:52 +0200 + hiredis (0.13.3-2) unstable; urgency=medium * Ignore /tags diff --minimal -Nru hiredis-0.13.3/debian/rules hiredis-0.13.3/debian/rules --- hiredis-0.13.3/debian/rules 2015-12-05 03:31:27.000000000 +0100 +++ hiredis-0.13.3/debian/rules 2017-10-14 00:28:50.000000000 +0200 @@ -23,9 +23,11 @@ dh_installchangelogs CHANGELOG.md override_dh_auto_test: +ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) ifeq ($(REDIS), 1) make check endif +endif override_dh_strip: dh_strip --dbg-package=libhiredis-dbg