Source: libcacard Version: 1:2.8.0-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
libcacard fails to cross build from source, because it fails building unit tests despite DEB_BUILD_OPTIONS=nocheck. Please consider applying the attached patch to fully disable tests for the nocheck option. Doing so makes libcacard cross buildable again. Helmut
diff --minimal -Nru libcacard-2.8.0/debian/changelog libcacard-2.8.0/debian/changelog --- libcacard-2.8.0/debian/changelog 2021-01-06 17:39:33.000000000 +0100 +++ libcacard-2.8.0/debian/changelog 2021-02-04 13:55:36.000000000 +0100 @@ -1,3 +1,10 @@ +libcacard (1:2.8.0-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Disable tests for DEB_BUILD_OPTIONS=nocheck. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 04 Feb 2021 13:55:36 +0100 + libcacard (1:2.8.0-3) unstable; urgency=medium * libcacard-dev also build-depends on libpcsclite-dev. diff --minimal -Nru libcacard-2.8.0/debian/rules libcacard-2.8.0/debian/rules --- libcacard-2.8.0/debian/rules 2020-12-30 12:21:13.000000000 +0100 +++ libcacard-2.8.0/debian/rules 2021-02-04 13:55:36.000000000 +0100 @@ -2,3 +2,6 @@ build-arch build-indep build clean install-indep install-arch install binary-arch binary-indep binary: %: dh $@ + +override_dh_auto_configure: + dh_auto_configure -- -Ddisable_tests=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),true,false)