Created attachment 881217 [details] emerging llvm clang binary packages Hi, Currently installing sys-devel/llvm and sys-devel/clang from Gentoo binhost¹ (see attached file). The installation is completing fine, but when sys-devel/llvmgold is beeing installed there is a red error that popups : > !!! Error! Installing dynamic libraries (.so) with blank PROVIDES! Is this something I need to worry about? Thank you. 1. https://wiki.gentoo.org/wiki/Binary_package_quickstart
Created attachment 882319 [details] llvmgold pkg merging emerge output Also happens with sys-devel/llvmgold-17.
Did it actually install sys-devel/llvm prior to llvmgold?
(In reply to Michał Górny from comment #2) > Did it actually install sys-devel/llvm prior to llvmgold? Yes.
Ok, I think it's actually a Portage bug. It's probably being confused by the file being a symlink.
portage-3.0.61-r1
We can change the installed_dynlibs function to check if the *.so symlink target is located inside $ED: https://gitweb.gentoo.org/proj/portage.git/commit/?id=3b3503bb2769b390e22a4fea42fa56fe4db4ddec
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=95d3e5e80ab9561db870858c2caf6e3bffbf47b0 commit 95d3e5e80ab9561db870858c2caf6e3bffbf47b0 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2024-01-15 20:30:57 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2024-01-20 05:18:12 +0000 installed_dynlibs: Resolve *.so symlinks Resolve *.so symlinks to check if they point to regular files inside the top directory. If a symlink points outside the top directory then try to follow the corresponding file inside the top directory if it exists, and otherwise stop following. Bug: https://bugs.gentoo.org/921170 Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/tests/util/dyn_libs/meson.build | 1 + .../tests/util/dyn_libs/test_installed_dynlibs.py | 65 ++++++++++++++++++++++ lib/portage/util/_dyn_libs/dyn_libs.py | 43 +++++++++++++- 3 files changed, 106 insertions(+), 3 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77c44c46194922509bc4f2b5cfc099412a560a69 commit 77c44c46194922509bc4f2b5cfc099412a560a69 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-02-22 07:23:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-22 07:23:50 +0000 sys-apps/portage: add 3.0.62 Closes: https://bugs.gentoo.org/663324 Closes: https://bugs.gentoo.org/728046 Closes: https://bugs.gentoo.org/891137 Closes: https://bugs.gentoo.org/906368 Closes: https://bugs.gentoo.org/916566 Closes: https://bugs.gentoo.org/921170 Closes: https://bugs.gentoo.org/921208 Closes: https://bugs.gentoo.org/921400 Closes: https://bugs.gentoo.org/922038 Closes: https://bugs.gentoo.org/922142 Closes: https://bugs.gentoo.org/923368 Closes: https://bugs.gentoo.org/923750 Closes: https://bugs.gentoo.org/923841 Closes: https://bugs.gentoo.org/923852 Closes: https://bugs.gentoo.org/923854 Closes: https://bugs.gentoo.org/924192 Closes: https://bugs.gentoo.org/924273 Closes: https://bugs.gentoo.org/924585 Closes: https://bugs.gentoo.org/921380 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.62.ebuild | 246 +++++++++++++++++++++++++++++++++ 2 files changed, 247 insertions(+)