Source: libinih Version: 45-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
libinih fails to cross build from source, because it fails running tests despite DEB_BUILD_OPTIONS=nocheck. Please consider applying the attached patch to support the nocheck option. Helmut
diff --minimal -Nru libinih-45/debian/changelog libinih-45/debian/changelog --- libinih-45/debian/changelog 2019-08-04 14:13:32.000000000 +0200 +++ libinih-45/debian/changelog 2019-12-01 19:25:22.000000000 +0100 @@ -1,3 +1,10 @@ +libinih (45-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 01 Dec 2019 19:25:22 +0100 + libinih (45-1) unstable; urgency=medium * New upstream release diff --minimal -Nru libinih-45/debian/rules libinih-45/debian/rules --- libinih-45/debian/rules 2019-08-04 14:13:32.000000000 +0200 +++ libinih-45/debian/rules 2019-12-01 19:25:20.000000000 +0100 @@ -20,6 +20,8 @@ dh_clean rm -f libinih.so.1 +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_test: ln -s libinih.so libinih.so.1 +$(MAKE) test CFLAGS+=-I.. LDFLAGS+="-Wl,-rpath,.. -L.." +endif