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.
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.
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(-)