Comment 2 for bug 1917650

Revision history for this message
Olivier Tilloy (osomon) wrote :

And this is the fix:

--- libsndfile-1.0.31/debian/rules 2021-01-29 22:05:07.000000000 +0000
+++ libsndfile-1.0.31/debian/rules 2021-03-03 16:53:14.000000000 +0000
@@ -4,6 +4,11 @@

 DEB_BUILD_MAINT_OPTIONS = hardening=+all

+# Forcefully enable tests (they are disabled by default on riscv64 in Ubuntu,
+# see https://launchpad.net/bugs/1891686) because libsndfile1-dev wants to
+# install test binaries (https://launchpad.net/bugs/1917650).
+DEB_BUILD_OPTIONS := $(filter-out nocheck,$(DEB_BUILD_OPTIONS))
+
 %:
  dh $@