Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921170 - sys-devel/llvmgold - Gentoo binhost - !!! Error! Installing dynamic libraries (.so) with blank PROVIDES!
Summary: sys-devel/llvmgold - Gentoo binhost - !!! Error! Installing dynamic libraries...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 921380
Blocks:
  Show dependency tree
 
Reported: 2024-01-01 16:45 UTC by Fab
Modified: 2024-04-24 17:24 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerging llvm clang binary packages (emerge_output.txt,2.51 KB, text/plain)
2024-01-01 16:45 UTC, Fab
Details
llvmgold pkg merging emerge output (merging-llvmgold-binary-pkg.txt,1.15 KB, text/plain)
2024-01-15 09:54 UTC, Fab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fab 2024-01-01 16:45:08 UTC
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
Comment 1 Fab 2024-01-15 09:54:22 UTC
Created attachment 882319 [details]
llvmgold pkg merging emerge output

Also happens with sys-devel/llvmgold-17.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-15 13:50:07 UTC
Did it actually install sys-devel/llvm prior to llvmgold?
Comment 3 Fab 2024-01-15 16:16:22 UTC
(In reply to Michał Górny from comment #2)
> Did it actually install sys-devel/llvm prior to llvmgold?

Yes.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-15 16:25:56 UTC
Ok, I think it's actually a Portage bug.  It's probably being confused by the file being a symlink.
Comment 5 Fab 2024-01-15 16:31:25 UTC
portage-3.0.61-r1
Comment 6 Zac Medico gentoo-dev 2024-01-15 18:46:21 UTC
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
Comment 7 Larry the Git Cow gentoo-dev 2024-01-20 08:44:12 UTC
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(-)
Comment 8 Larry the Git Cow gentoo-dev 2024-02-22 07:24:12 UTC
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(+)