Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905821 - >=sys-apps/xdg-desktop-portal-gnome-44 needs runtime dependency on >=x11-wm/mutter-44
Summary: >=sys-apps/xdg-desktop-portal-gnome-44 needs runtime dependency on >=x11-wm/m...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-06 14:55 UTC by Alexander Tsoy
Modified: 2023-07-30 11:05 UTC (History)
1 user (show)

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 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 :/