commit: 22620c952e2cf711b32e0d8a2ddf8afddfff05c7 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Fri May 23 06:02:50 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 28 14:45:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22620c95
net-dns/knot: fix undefined reference calling eautoreconf It fails to install with llvm-musl-20 + test : ld.lld: error: undefined reference: gnutls_priority_deinit >>> referenced by ../src/.libs/libknot.so (disallowed by --no-allow-shlib-undefined) upstream provides an old ltmain.sh (from libtool-2.4.7) with changes that cause this error (moving a block that defines the deplibs variable) call eautoreconf to modernize it and fix the issue Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/42223 Signed-off-by: Sam James <sam <AT> gentoo.org> net-dns/knot/knot-3.4.6.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-dns/knot/knot-3.4.6.ebuild b/net-dns/knot/knot-3.4.6.ebuild index 27c29d6178bd..52d4686175bf 100644 --- a/net-dns/knot/knot-3.4.6.ebuild +++ b/net-dns/knot/knot-3.4.6.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) -inherit python-single-r1 flag-o-matic systemd tmpfiles verify-sig +inherit autotools python-single-r1 flag-o-matic systemd tmpfiles verify-sig # subslot: libknot major.libdnssec major.libzscanner major KNOT_SUBSLOT="15.9.4" @@ -118,6 +118,13 @@ src_unpack() { default } +src_prepare() { + default + # avoid the old ltmain.sh modified by upstream which causes a linking issue + # reproduced with test and musl + eautoreconf +} + src_configure() { local u local my_conf=(
