Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924145 - media-libs/noise-suppression-for-voice-1.03 fails to compile: ld: cannot find -lubsan: No such file or directory
Summary: media-libs/noise-suppression-for-voice-1.03 fails to compile: ld: cannot find...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-02-09 10:23 UTC by Agostino Sarubbo
Modified: 2024-02-18 00:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,54.54 KB, text/plain)
2024-02-09 10:23 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-09 10:23:11 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-09 10:23:13 UTC
Created attachment 884592 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-09 10:23:13 UTC
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
Comment 3 Larry the Git Cow gentoo-dev 2024-02-18 00:04:11 UTC
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(-)