Created attachment 872002 [details] build log clang-17 will fail to link libbsd-0.11.7-r2 with the following errors: --- ld.lld: error: version script assignment of 'LIBBSD_0.10.0' to symbol 'vwarn' failed: symbol not defined ld.lld: error: version script assignment of 'LIBBSD_0.10.0' to symbol 'vwarnx' failed: symbol not defined ld.lld: error: version script assignment of 'LIBBSD_0.10.0' to symbol 'warn' failed: symbol not defined ld.lld: error: version script assignment of 'LIBBSD_0.10.0' to symbol 'warnx' failed: symbol not defined ld.lld: error: version script assignment of 'LIBBSD_0.10.0' to symbol 'verr' failed: symbol not defined ld.lld: error: version script assignment of 'LIBBSD_0.10.0' to symbol 'verrx' failed: symbol not defined ld.lld: error: version script assignment of 'LIBBSD_0.10.0' to symbol 'err' failed: symbol not defined ld.lld: error: version script assignment of 'LIBBSD_0.10.0' to symbol 'errx' failed: symbol not defined clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:577: libbsd.la] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/libbsd-0.11.7-r2/work/libbsd-0.11.7-abi_x86_64.amd64/src' make[1]: *** [Makefile:414: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/libbsd-0.11.7-r2/work/libbsd-0.11.7-abi_x86_64.amd64' make: *** [Makefile:346: all] Error 2 --- The temporary workaround is to add "-Wl,--undefined-version" to LDFLAGS. Attaching logs.
Created attachment 872003 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f6b6137ac36f8bd2d6aaf30e31a6ae64fc2e27 commit 32f6b6137ac36f8bd2d6aaf30e31a6ae64fc2e27 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-14 03:21:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-14 03:28:10 +0000 dev-libs/libbsd: add 0.11.8 Bug: https://bugs.gentoo.org/911726 Closes: https://bugs.gentoo.org/898312 Closes: https://bugs.gentoo.org/915068 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libbsd/Manifest | 2 ++ dev-libs/libbsd/libbsd-0.11.8.ebuild | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a66e9174d502778cb4f26d46f80a474b2b869ec7 commit a66e9174d502778cb4f26d46f80a474b2b869ec7 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-21 11:18:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-21 11:18:08 +0000 dev-libs/libbsd: restore LLD 17 workaround Closes: https://bugs.gentoo.org/922342 Bug: https://bugs.gentoo.org/915068 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libbsd/libbsd-0.11.7-r2.ebuild | 5 ++++- dev-libs/libbsd/libbsd-0.11.8.ebuild | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-)