sys-libs/slang-2.3.3-r1 fails to build with Clang/ld.lld environment. Failure message: cd /var/tmp/portage/sys-libs/slang-2.3.3-r1/work/slang-2.3.3-abi_x86_64.amd64/src/amd64elfobjs && clang -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-O2 -Wl,--as-needed -fdiagnostics-color=always -shared -Wl,-O1 -Wl,--version-script,/var/tmp/portage/sys-libs/slang-2.3.3-r1/work/slang-2.3.3-abi_x86_64.amd64/src/slang.ver -Wl,-soname,libslang.so.2 -o libslang.so.2.3.3 sltermin.o sldisply.o slutty.o slang.o slarray.o slclass.o slcmd.o slerr.o slgetkey.o slkeymap.o slmalloc.o slmath.o slmemchr.o slmemcmp.o slmemcpy.o slmemset.o slmisc.o slparse.o slprepr.o slregexp.o slrline.o slsearch.o slsmg.o slstd.o sltoken.o sltypes.o slxstrng.o slcurses.o slscroll.o slsignal.o slkeypad.o slerrno.o slstring.o slstruct.o slcmplex.o slarrfun.o slimport.o slpath.o slarith.o slassoc.o slcompat.o slposdir.o slstdio.o slproc.o sltime.o slstrops.o slbstr.o slpack.o slintall.o slistruc.o slposio.o slnspace.o slarrmis.o slospath.o slscanf.o sllower.o slupper.o slischar.o slutf8.o slwcwidth.o slwclut.o slcommon.o sllist.o slexcept.o slfpu.o slsig.o slboseos.o -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-O2 -Wl,--as-needed -fdiagnostics-color=always -ldl -lm -lc ld.lld: error: version script assignment of 'SLANG2' to symbol 'SLang_Rline_Quit' failed: symbol not defined clang: error: linker command failed with exit code 1 (use -v to see invocation) This issue was previously fixed in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2b4a39461adb558b3dbe8bdcadde871a07c0c64 in slang-2.3.3, but patch was not added to slang-2.3.3-r1 for some reason.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44ac7bca48782d28a09616861759e2ec214b7f50 commit 44ac7bca48782d28a09616861759e2ec214b7f50 Author: Sv. Lockal <lockalsash@gmail.com> AuthorDate: 2024-03-26 14:51:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-26 20:23:46 +0000 sys-libs/slang: readd "fix the build with LLD 17" patch to 2.3.3-r1 This patch was originally added in https://github.com/gentoo/gentoo/pull/35129, but for some reason was lost in r1 Closes: https://bugs.gentoo.org/927906 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35932 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/slang/slang-2.3.3-r1.ebuild | 1 + 1 file changed, 1 insertion(+)