Since libltdl has its own package instead of being part of libtool packages using libltdl at runtime should RDEPEND on libltdl instead of libtool. This allows cleaner dependencies and leaner set of installed packages for binpkg installs. Reproducible: Always
Created attachment 400006 [details, diff] Proposed patch adjusting the dependency
tbh not sure about this but will have a look at it when I have some time. If you can provide more info about this (links to mailinglist posts,...) it'd probably accelerate the process ;)
(In reply to Thomas Raschbacher from comment #2) > If you can provide more info about this (links to mailinglist posts,...) > it'd probably accelerate the process ;) There's not too much I can point you at, except maybe the introductory commit of libltdl in gentoo-x86 (unfortunately the reference to upstream request does not include any link): https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libltdl/ChangeLog?view=log Do note that I'm only talking about runtime dependency as for compile time full libtool is most probably needed.
It as introduced due to bug #380265. /usr/lib64/libclamav.so.7.1.1 needs libltdl.so.7 which is provided by dev-libs/libltdl, not sys-devel/libtool. It only works because sys-devel/libtool has a rdepend on the library provided but it doesn't seem correct.
Similar to bug #675218.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1543573131710d2bbf11287803cf9269cece35be commit 1543573131710d2bbf11287803cf9269cece35be Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2020-01-15 14:35:39 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2020-01-15 14:35:58 +0000 app-antivirus/clamav: new revision fixing libtool -> libltdl depend. As reported in bug 544910, libclamav is linked against libltdl.so: $ objdump -p /usr/lib64/libclamav.so | grep NEEDED NEEDED libbz2.so.1 NEEDED libltdl.so.7 ... and that library is provided by dev-libs/libltdl: $ equery b /usr/lib64/libltdl.so.7 * Searching for /usr/lib64/libltdl.so.7 ... dev-libs/libltdl-2.4.6 (/usr/lib64/libltdl.so.7.3.1) dev-libs/libltdl-2.4.6 (/usr/lib64/libltdl.so.7 -> libltdl.so.7.3.1) We've been pulling this in "accidentally," through sys-devel/libtool, but that's incorrect. This commit drops sys-devel/libtool and replaces it with dev-libs/libltdl. Closes: https://bugs.gentoo.org/544910 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> .../clamav/{clamav-0.102.1-r1.ebuild => clamav-0.102.1-r2.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)