Bug 1218707 - glib-compile-schemas --strict fails on valid gsettings schema file in rawhide
Summary: glib-compile-schemas --strict fails on valid gsettings schema file in rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: eom
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Wolfgang Ulbrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-05 15:57 UTC by Wolfgang Ulbrich
Modified: 2019-07-23 15:06 UTC (History)
4 users (show)

Fixed In Version: pluma-1.10.1-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-30 00:26:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Wolfgang Ulbrich 2015-05-05 15:57:25 UTC
Description of problem:

glib-compile-schemas --strict fails on valid gsettings schema file in rawhide with a eom (eye of mate) build but not in f22. see
https://kojipkgs.fedoraproject.org//work/tasks/8147/9658147/build.log

> glib-compile-schemas --strict --dry-run --schema-file=org.mate.eom.enums.xml --schema-file=org.mate.eom.gschema.xml && mkdir -p . && touch org.mate.eom.gschema.valid
> org.mate.eom.gschema.xml: Error on line 13 char 31: Only one <summary> element allowed inside <key>.  --strict was specified; exiting.

The gsettings source is fine and has only one element in summary.
https://github.com/mate-desktop/eom/blob/master/data/org.mate.eom.gschema.xml.in.in#L11

I had to patch out the --scrict option from configure to make the build working. 
 

Version-Release number of selected component (if applicable):
2.45.1-1.fc23

How reproducible:
always

Steps to Reproduce:
try build http://pkgs.fedoraproject.org/cgit/eom.git/commit/?id=02748f399ca78baeccd266292017eb14d04fd467
without the build fix.

Actual results:


Expected results:


Additional info:

Comment 1 Wolfgang Ulbrich 2015-05-05 16:02:03 UTC
i forgot, task is located here
http://koji.fedoraproject.org/koji/taskinfo?taskID=9658147

Comment 2 Matthias Clasen 2015-05-06 20:11:18 UTC
What you link to is a .schema.xml.in.in file that has a single <_summary> element. After intltool is done with it, that gets turned into many <summary> elements, which is what glib-compile-schemas complains about

Comment 3 Wolfgang Ulbrich 2015-05-07 14:20:07 UTC
Than intltool is the culprit which creates the file?
I'm still wondering that the build works on f22.
Or do you see a a error in our schema file?

Comment 5 Fedora Update System 2015-06-17 09:05:48 UTC
pluma-1.10.0-2.fc22,mate-utils-1.10.0-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/pluma-1.10.0-2.fc22,mate-utils-1.10.0-2.fc22

Comment 6 Fedora Update System 2015-06-21 00:10:17 UTC
Package pluma-1.10.1-1.fc22, mate-utils-1.10.1-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pluma-1.10.1-1.fc22 mate-utils-1.10.1-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10337/pluma-1.10.1-1.fc22,mate-utils-1.10.1-1.fc22
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-06-30 00:26:09 UTC
pluma-1.10.1-1.fc22, mate-utils-1.10.1-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.