Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52916 - [liferea] crashes because glib schemas are not compiled

Attached to Project: Arch Linux
Opened by Christoph Haag (haagch) - Friday, 10 February 2017, 11:02 GMT
Last edited by Jan de Groot (JGC) - Friday, 10 February 2017, 13:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Since the last update Liferea is crashing on startup with a trace trap originating from glib code. The last messages:

(WebKitWebProcess:10258): GLib-GIO-ERROR **: Settings schema 'net.sf.liferea' does not contain a key named 'do-not-track'

(liferea:10244): GLib-GIO-ERROR **: Settings schema 'net.sf.liferea' does not contain a key named 'do-not-track'

Additional info:
* package version(s) liferea 1.12rc2

liferea installs a schema containing the 'do-not-track' key at /usr/share/glib-2.0/schemas/net.sf.liferea.gschema.xml but those schemas are not read directly, they need to be compiled with glib-compile-schemas /usr/share/glib-2.0/schemas which will put all of them into the file /usr/share/glib-2.0/schemas/gschemas.compiled. Then liferea works again.

Here are the packaging guidelines: https://wiki.archlinux.org/index.php/GNOME_package_guidelines#GSettings_schemas
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 10 February 2017, 13:15 GMT
Reason for closing:  Not a bug
Additional comments about closing:  missing hooks on system
Comment by Jan de Groot (JGC) - Friday, 10 February 2017, 12:35 GMT
gsettings schemas are processed by hooks, so there's no need to change the package. Can you provide pacman.log for the installation of liferea? What version of pacman and glib2 do you have installed?
Comment by Christoph Haag (haagch) - Friday, 10 February 2017, 12:39 GMT
Oh, someone should update the wiki article then.

Uh oh, I had glib2-git 2.49.7 installed, I must have totally forgotten this. That's probably the cause of the problem.
If nobody else complains, this can probably be closed as invalid.

edit: To clarify without reopening, this was accidental. I think some time ago I was testing something requiring the most recent glib2 master and I must have totally forgotten to revert to the repository version of glib2, which I have now done.
Comment by Jan de Groot (JGC) - Friday, 10 February 2017, 13:15 GMT
glib2-git does not include the hooks that are in glib2. You will suffer more breakage because of this.

Loading...