Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 905821

Summary: >=sys-apps/xdg-desktop-portal-gnome-44 needs runtime dependency on >=x11-wm/mutter-44
Product: Gentoo Linux Reporter: Alexander Tsoy <alexander>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: UNCONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=905482
https://bugs.gentoo.org/show_bug.cgi?id=905265
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Tsoy 2023-05-06 14:55:49 UTC
xdg-desktop-portal-gnome-44 fails to start if needed d-bus interface is not available. Related upstream commits:
https://gitlab.gnome.org/GNOME/mutter/-/commit/74fcdb9a62c709622493ce9aa928406ed682ce49
https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/commit/deae6336ceaea119fe05f59851303fb59880b44a

xdg-desktop-portal-gnome[4458]: Failed to initialize display server connection: Cannot invoke method; proxy is for the well-known name org.gnome.Mutter.ServiceChannel without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START
systemd[3424]: xdg-desktop-portal-gnome.service: Main process exited, code=exited, status=1/FAILURE
systemd[3424]: xdg-desktop-portal-gnome.service: Failed with result 'exit-code'.
systemd[3424]: Failed to start xdg-desktop-portal-gnome.service.
Comment 1 Alexander Tsoy 2023-05-06 17:28:58 UTC
Alternatively we can wait for a fix for [1] (pointed out by Sam in bug 905821)

[1] https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
Comment 2 Alexander Tsoy 2023-05-06 17:29:49 UTC
(In reply to Alexander Tsoy from comment #1)
> (pointed out by Sam in bug 905821)
Sorry, bug 905482
Comment 3 Alexander Tsoy 2023-05-06 17:36:29 UTC
(In reply to Alexander Tsoy from comment #1)
> [1] https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
Oops, it's already marked as closed. Probably the issue is fixed for non-gnome sessions only, so upstream issue is irrelevant here and runtime dep is still needed for Gnome.
Comment 4 Pacho Ramos gentoo-dev 2023-07-30 11:05:43 UTC
Can you retry with 44.2? On non gnome setups it should behave better:
https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/commit/1a1c840ede8ddc5c00ae40b35cc528200ce2fd0e

On gnome setups... well, I am unsure how can you have a gnome setup without mutter :/