After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630968 - gschema-compile problems on power g5
gschema-compile problems on power g5
Status: VERIFIED FIXED
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
: 631822 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-29 23:03 UTC by Sergey V. Udaltsov
Modified: 2010-10-17 16:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sergey V. Udaltsov 2010-09-29 23:03:30 UTC
In Ubuntu 10.10 all apps using GSettings fail with the error:

GLib-GIO-ERROR **: Settings schema 'org.gnome.Evince.Default' is not installed

It only happens on power platform (same package on intel is ok).

I took glib and built it. The test gschema-compile fails.

/gschema/enum-with-repeated-value: **
ERROR:gschema-compile.c:38:test_schema: child process (2095) did not fail as expected
Aborted (core dumped)
Comment 1 Sergey V. Udaltsov 2010-09-29 23:20:10 UTC
(just to clarify - the version of glib is from git)
Comment 2 Sergey V. Udaltsov 2010-09-30 19:16:54 UTC
See details here: https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/621507
Comment 3 Allison Karlitskaya (desrt) 2010-10-03 23:44:35 UTC
The file that you attached works file for me, so I assume that the problem is in GSettings itself (or the GVDB reader) rather than the compiler.  Reviewing that.
Comment 4 Allison Karlitskaya (desrt) 2010-10-04 03:29:30 UTC
Okay.  I've committed a whack of fixups to GSettings -- there were really quite a lot of issues (and not just with the schema files).

All of the tests are passing for me now.
Comment 5 Sergey V. Udaltsov 2010-10-04 21:02:05 UTC
Still not good, with tests (from git)

/gsettings/enums: **
ERROR:gsettings.c:1577:test_enums: stderr of child process (1718) failed to match: *g_settings_range_check*
Comment 6 Allison Karlitskaya (desrt) 2010-10-05 01:55:29 UTC
Not related to this (and fixed besides).
Comment 7 Sergey V. Udaltsov 2010-10-05 19:35:38 UTC
Confirming.
Comment 8 Felipe Besoaín Pino 2010-10-11 02:16:36 UTC
*** Bug 631822 has been marked as a duplicate of this bug. ***
Comment 10 Allison Karlitskaya (desrt) 2010-10-17 16:01:36 UTC
This bug is strictly related to running GSettings on big endian systems and it has been solved.

If you are having troubles with schemas and you are not on a big endian system (read: PowerPC), then this bug is not the source of your problem.