Bug#984746: libsndfile FTBFS with DEB_BUILD_OPTIONS=nocheck
Source: libsndfile
Version: 1.0.31-1
Severity: important
Tags: ftfbs patch
libsndfile fails to build from source when build with
DEB_BUILD_OPTIONS=nocheck, because dh_install is missing files including
src/test_main. This file is built during dh_auto_test only. Please
consier applying the attached patch to force building it even when not
running tests.
Helmut
diff --minimal -Nru libsndfile-1.0.31/debian/changelog libsndfile-1.0.31/debian/changelog
--- libsndfile-1.0.31/debian/changelog 2021-01-29 23:05:07.000000000 +0100
+++ libsndfile-1.0.31/debian/changelog 2021-03-07 22:09:47.000000000 +0100
@@ -1,3 +1,10 @@
+libsndfile (1.0.31-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS with DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sun, 07 Mar 2021 22:09:47 +0100
+
libsndfile (1.0.31-1) unstable; urgency=medium
* New upstream version 1.0.31
diff --minimal -Nru libsndfile-1.0.31/debian/rules libsndfile-1.0.31/debian/rules
--- libsndfile-1.0.31/debian/rules 2021-01-29 23:05:07.000000000 +0100
+++ libsndfile-1.0.31/debian/rules 2021-03-07 22:09:47.000000000 +0100
@@ -7,6 +7,9 @@
%:
dh $@
+execute_after_dh_auto_build:
+ dh_auto_build -- checkprograms
+
override_dh_clean:
dh_clean
-find man/ -type l -delete
Reply to: