https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-sound/mp3splt-2.6.2 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 694431 [details] build.log build log and emerge --info
Possible context of error(s): /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libmp3splt.so: undefined reference to `dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libmp3splt.so: undefined reference to `dlclose' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libmp3splt.so: undefined reference to `dlerror' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libmp3splt.so: undefined reference to `dlsym' collect2: error: ld returned 1 exit status
We need to append -ldl in LIBS
(In reply to Sam James from comment #3) > We need to append -ldl in LIBS (to libmp3splt)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=884d88874e6159105f9db0eeaf3c78aed8aee4f5 commit 884d88874e6159105f9db0eeaf3c78aed8aee4f5 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-26 18:16:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-26 18:17:14 +0000 media-libs/libmp3splt: fix libdl linkage Closes: https://bugs.gentoo.org/778476 Signed-off-by: Sam James <sam@gentoo.org> .../{libmp3splt-0.9.2-r3.ebuild => libmp3splt-0.9.2-r4.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)