FS#57071 - [mutter] Startup failure due to GLib schema not compiled

Attached to Project: Arch Linux
Opened by Link Mauve (linkmauve) - Friday, 12 January 2018, 13:58 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 13 January 2018, 10:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When starting Mutter, it fails saying “GLib-GIO-ERROR **: Settings schema 'org.gnome.mutter.gnome' is not installed”, despite /usr/share/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml being present. It is simply fixed by running `sudo glib-compile-schemas /usr/share/glib-2.0/schemas`, but some users may not know that.

It may be even better to setup a pacman hook to recompile them all whenever a schema is added or removed.

Additional info:
* package version(s)
mutter 3.26.2+31+gbf91e2b4c-1
glib2 2.54.3-1

* config and/or log files etc.
N/A

Steps to reproduce:
- Switch to an unused VT.
- Log in.
- Run `mutter --wayland --display-server`.
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 13 January 2018, 10:21 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Friday, 12 January 2018, 14:10 GMT
From the glib2 package:
usr/share/libalpm/hooks/glib-compile-schemas.hook

The hook is present and should be executed when mutter is installed.
Comment by Link Mauve (linkmauve) - Saturday, 13 January 2018, 09:44 GMT
Somehow this file wasn’t present on my system, but pacman -Qkk was complaining about it. Reinstalling the glib2 package fixed it, sorry for the erroneous bug report.

Loading...