Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914217 - [guru] gui-apps/1password-8.10.16 installs files with unresolved SONAME dependencies
Summary: [guru] gui-apps/1password-8.10.16 installs files with unresolved SONAME depen...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vitaly Zdanevich
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2023-09-15 07:19 UTC by Agostino Sarubbo
Modified: 2024-02-24 00:47 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,42.95 KB, text/plain)
2023-09-15 07:19 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-09-15 07:19:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: gui-apps/1password-8.10.7 installs files with unresolved SONAME dependencies.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-09-15 07:19:25 UTC
Created attachment 870595 [details]
build.log

build log and emerge --info
Comment 2 Vitaly Zdanevich 2023-09-15 09:30:09 UTC
What to do with this? This ebuild already has:

```
QA_SONAME="
/usr/lib64/libXcomposite.so.1
/usr/lib64/libXdamage.so.1
/usr/lib64/libXfixes.so.3
/usr/lib64/libXrandr.so.2
/usr/lib64/libasound.so.2
/usr/lib64/libatk-1.0.so.0
/usr/lib64/libatk-bridge-2.0.so.0
/usr/lib64/libatspi.so.0
/usr/lib64/libcups.so.2
/usr/lib64/libdrm.so.2
/usr/lib64/libgbm.so.1
/usr/lib64/libgtk-3.so.0
/usr/lib64/libnspr4.so
/usr/lib64/libnss3.so
/usr/lib64/libnssutil3.so
/usr/lib64/libpango-1.0.so.0
/usr/lib64/libsmime3.so
/usr/lib64/libxkbcommon.so.0
"
```
Comment 3 Lucio Sauer 2023-09-15 13:44:55 UTC
(In reply to Vitaly Zdanevich from comment #2)
> What to do with this? This ebuild already has:
Your binary /opt/1Password/1password depends on the libraries listed in the build log under "QA Notice: Unresolved soname dependencies".
You can list them by yourself by running `objdump -p /path/to/binary | grep NEEDED`.

Please add the packages that provide these libraries to RDEPEND and drop the QA_SONAME variable all together.

Some general information:
The SONAME of a shared object, in this case these shared libaries, is an identifier which is commonly used to indicate backwards-compatibility between versions

> QA_SONAME="
> /usr/lib64/libXcomposite.so.1
> /usr/lib64/libXdamage.so.1
> ...
> "
QA_SONAME lists shared libaries relative*) to the image directory**) which lack SONAMEs.
*) A file path in QA_SONAME should therefore never start with a slash (/).
**) If ever, you only add files to QA_SONAME that you are about to install, not the ones belonging to other packages.

Further info: https://dev.gentoo.org/~zmedico/portage/doc/ch07s06.html#qa-unresolved-soname-dependencies-resolved-bu-external-dependencies
Comment 4 Vitaly Zdanevich 2023-09-15 15:52:54 UTC
Thanks.

For example libdl.so.2 - this is created by sys-devel/gcc - system package, should I specify it in RPEDEND?

$ equery d sys-libs/glibc
 * These packages depend on sys-libs/glibc:
app-admin/awscli-bin-2.13.11 (sys-libs/glibc)
dev-java/openjdk-bin-17.0.6_p10 (elibc_glibc ? >=sys-libs/glibc-2.2.5)
dev-libs/libgcrypt-1.10.1-r3 (elibc_glibc ? >=sys-libs/glibc-2.25)
media-video/popcorntime-bin-0.4.9 (sys-libs/glibc)
net-im/telegram-desktop-bin-4.8.9 (sys-libs/glibc)
net-im/zoom-5.15.10.6882 (sys-libs/glibc)
net-misc/grive-0.5.2_pre20211128-r1 (sys-libs/glibc)
sys-apps/corefreq-1.96.3 (sys-libs/glibc)
sys-devel/gcc-12.3.1_p20230526 (elibc_glibc ? sys-libs/glibc[cet(-)?])
sys-libs/libxcrypt-4.4.36 (elibc_glibc ? sys-libs/glibc[-crypt(+)])
virtual/libc-1-r1 (elibc_glibc ? sys-libs/glibc:2.2)
www-client/google-chrome-116.0.5845.140 (sys-libs/glibc)
x11-libs/libICE-1.1.1-r1 (elibc_glibc ? >=sys-libs/glibc-2.36)
x11-libs/libXdmcp-1.1.4-r2 (elibc_glibc ? >=sys-libs/glibc-2.36)
Comment 5 Lucio Sauer 2023-09-15 17:30:54 UTC
(In reply to Vitaly Zdanevich from comment #4)
> For example libdl.so.2 - this is created by sys-devel/gcc - system package,
> should I specify it in RPEDEND?
No, unless you need specific versions or packages (i.e. glibc over musl) you do not specify dependencies upon packages from the system set. All packages do so implicitly at compile-time and runtime.
Comment 6 Agostino Sarubbo gentoo-dev 2023-10-12 12:08:01 UTC
guru_ci has reproduced this issue with version 8.10.16 - Updating summary.
Comment 7 Eli Schwartz 2023-11-13 01:31:57 UTC
tinderbox is broken and reporting the same precise issue repeatedly per package with slightly different wording.

*** This bug has been marked as a duplicate of bug 904334 ***
Comment 8 Agostino Sarubbo gentoo-dev 2023-11-13 07:51:28 UTC
Thanks for your hint. However there is nothing broken. They are different problems and then need to be tracked seaprately.
Comment 9 Larry the Git Cow gentoo-dev 2024-02-24 00:47:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fec2249576f3752fbeb2650411117873a2298a9

commit 8fec2249576f3752fbeb2650411117873a2298a9
Author:     Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
AuthorDate: 2024-02-24 00:32:51 +0000
Commit:     Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
CommitDate: 2024-02-24 00:32:51 +0000

    gui-apps/1password: fix dependencies
    
    Closes: https://bugs.gentoo.org/914217
    Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>

 gui-apps/1password/1password-8.10.16.ebuild | 39 +++++++++++++----------------
 1 file changed, 17 insertions(+), 22 deletions(-)