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 $@

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1917650

Title:
  FTBFS on riscv64 because tests are disabled by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsndfile/+bug/1917650/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to