guix_mirror_bot pushed a commit to branch audio-team
in repository guix.
commit f064f8156bb9f05d5eebaba87811bc6f47a14151
Author: SilverlightningY <[email protected]>
AuthorDate: Sat Jun 13 14:52:02 2026 +0200
gnu: libsndfile: Disable failing test.
* gnu/packages/pulseaudio.scm (libsndfile)[arguments]<#:phases>:
Add phase to disable sdlcomp_test_* for opus.
Change-Id: Id076065892eb61dd94f1e042b0b7747c6e137c19
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/pulseaudio.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index 06e7378130..20a1dfd588 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -109,7 +109,14 @@
(lambda _
(substitute* "tests/test_wrapper.sh.in"
(("^/usr/bin/env")
- "env")))))))
+ "env"))))
+ (add-after 'unpack 'disable-failing-sdlcomp-test
+ (lambda _
+ ;; Disable failing sdlcomp test for opus until it is fixed.
+ ;; https://github.com/libsndfile/libsndfile/issues/1107
+ (substitute* "tests/lossy_comp_test.c"
+ (("sdlcomp_test_.*SF_FORMAT_OPUS.*;" match)
+ (string-append "/* " match " */"))))))))
(propagated-inputs (list flac
lame
libmpg123