Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863692 - gnome-extra/gnome-contacts: has runtime dependency on dev-libs/libportal
Summary: gnome-extra/gnome-contacts: has runtime dependency on dev-libs/libportal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-05 02:31 UTC by Albert W. Hopkins
Modified: 2022-10-29 19:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2022-08-05 02:31:42 UTC
In the ebuild for gnome-contacts/gnome-contacts-42.0 libportal is declared as a build time dependency but not a runtime dependency. As a result libportal gets cleaned out when using `emerge --depclean --with-bdeps=n` but it's libraries are preserved:

```
!!! existing preserved libs:
>>> package: dev-libs/libportal-0.6
 *  - /usr/lib64/libportal.so.1
 *  - /usr/lib64/libportal.so.1.0.0
 *      used by /usr/bin/gnome-contacts (gnome-extra/gnome-contacts-42.0)
Use emerge @preserved-rebuild to rebuild packages using these libraries
```

@preserved-rebuild pulls libportal back in.
Comment 1 zhaleks 2022-10-16 12:55:15 UTC
Hello.
Can confirm.
I'm using binpkgs, so faced this issue to.

user@gentoo ~ $ gnome-contacts 
gnome-contacts: error while loading shared libraries: libportal.so.1: cannot open shared object file: No such file or directory

Please, add >=dev-libs/libportal-0.6:=[vala] into RDEPEND.
Thanks in advance.
Comment 2 Larry the Git Cow gentoo-dev 2022-10-29 19:18:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=271f92ee6451bcd89d4872a95afb96af1dd02cd6

commit 271f92ee6451bcd89d4872a95afb96af1dd02cd6
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-10-29 19:07:20 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-10-29 19:17:42 +0000

    gnome-extra/gnome-contacts: RDEPEND on dev-libs/libportal
    
    * and raise required folks version.
    
    Closes: https://bugs.gentoo.org/863692
    Closes: https://bugs.gentoo.org/865369
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../{gnome-contacts-42.0.ebuild => gnome-contacts-42.0-r1.ebuild}      | 3 ++-
 gnome-extra/gnome-contacts/gnome-contacts-43.0.ebuild                  | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)