https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/noise-suppression-for-voice-1.03 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 884592 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: cannot find -lubsan: No such file or directory FAILED: src/common/common_plugin_tests src/common/common_plugin_tests_tests-b12d07c.cmake /var/tmp/portage/media-libs/noise-suppression-for-voice-1.03/work/noise-suppression-for-voice-1.03_build/src/common/common_plugin_tests_tests-b12d07c.cmake collect2: error: ld returned 1 exit status
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426319a77ffacc477bb625eabf2ab34cdcaf156c commit 426319a77ffacc477bb625eabf2ab34cdcaf156c Author: Kacper Słomiński <kacper.slominski72@gmail.com> AuthorDate: 2024-02-17 15:01:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-18 00:03:56 +0000 media-libs/noise-suppression-for-voice: Fix tests with gcc[-sanitize] Upstream unconditionally adds -fsanitize=undefined to the test executable target, but this is too unreliable to be worth the trouble (e.g. doesn't work with gcc[-sanitize], and it probably causes other issues). Also fix running tests. The CMakeLists.txt configuration causes the CTest file to end up in a subdirectory, which cmake_src_test doesn't expect. Also add USE="test", as the tests actually take a noticable amount of time to compile compared to the rest of the files. Closes: https://bugs.gentoo.org/924145 Signed-off-by: Kacper Słomiński <kacper.slominski72@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35396 Signed-off-by: Sam James <sam@gentoo.org> .../noise-suppression-for-voice-1.03-tests.patch | 28 ++++++++++++++++++++++ .../noise-suppression-for-voice-1.03.ebuild | 15 ++++++++++-- .../noise-suppression-for-voice-9999.ebuild | 15 ++++++++++-- 3 files changed, 54 insertions(+), 4 deletions(-)