Bug 95494

Summary: xcb-proto-1.12 fails tests
Product: XCB Reporter: Timo Gurr <timo.gurr>
Component: ProtocolAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED FIXED QA Contact: xcb mailing list dummy <xcb>
Severity: normal    
Priority: medium CC: andyrtr
Version: 1.12   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Timo Gurr 2016-05-19 16:13:02 UTC
[...]
make -j3 check
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/bigreq.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/composite.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/damage.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/dpms.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/dri2.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/dri3.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/ge.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/glx.xml:668: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( pad, field, list, fd ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/glx.xml:684: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( pad, field, list, fd ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/glx.xml:771: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( pad, field, list, fd ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/glx.xml:959: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( pad, field, list, fd ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/glx.xml fails to validate
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/present.xml:91: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( pad, field, list, fd, exprfield, switch, reply, doc ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/present.xml:111: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( pad, field, list, fd, exprfield, switch, reply, doc ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/present.xml:162: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( pad, field, list, fd, doc ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/present.xml:182: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( pad, field, list, fd, doc ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/present.xml fails to validate
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/randr.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/record.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/render.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/res.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/screensaver.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/shape.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/shm.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/sync.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xc_misc.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xevie.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xf86dri.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xf86vidmode.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xfixes.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xinerama.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xinput.xml:176: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( bitcase, case, pad, field, list, fd ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xinput.xml:946: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( bitcase, case, pad, field, list, fd ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xinput.xml:1734: element required_start_align: Schemas validity error : Element 'required_start_align': This element is not expected. Expected is one of ( bitcase, case, pad, field, list, fd ).
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xinput.xml fails to validate
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xkb.xml:1359: element pad: Schemas validity error : Element 'pad', attribute 'serialize': The attribute 'serialize' is not allowed.
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xkb.xml:1375: element pad: Schemas validity error : Element 'pad', attribute 'serialize': The attribute 'serialize' is not allowed.
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xkb.xml:1382: element pad: Schemas validity error : Element 'pad', attribute 'serialize': The attribute 'serialize' is not allowed.
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xkb.xml:1389: element pad: Schemas validity error : Element 'pad', attribute 'serialize': The attribute 'serialize' is not allowed.
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xkb.xml:1673: element pad: Schemas validity error : Element 'pad', attribute 'serialize': The attribute 'serialize' is not allowed.
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xkb.xml fails to validate
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xprint.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xproto.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xselinux.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xtest.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xv.xml validates
/var/tmp/paludis/build/x11-proto-xcb-proto-1.12/work/xcb-proto-1.12/src/xvmc.xml validates
make[2]: *** [check-local] Error 3
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
[...]

The previous version xcb-proto-1.11 builds and runs the tests/validates fine.
Comment 1 Chí-Thanh Christopher Nguyễn 2016-05-30 13:57:44 UTC
I think a fix has been posted to the mailing list some months ago, but was not comitted:
https://lists.freedesktop.org/archives/xcb/2016-February/010676.html
Comment 2 Timo Gurr 2016-05-30 15:26:18 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #1)
> I think a fix has been posted to the mailing list some months ago, but was
> not comitted:
> https://lists.freedesktop.org/archives/xcb/2016-February/010676.html

Thanks! The patch seems to work (for me) and makes the tests pass.
Comment 3 Uli Schlachter 2016-06-04 13:25:51 UTC
Fixed with commit 3976fb7a05ac859f0794ac77ecb8463d067a2d2d
Comment 4 Uli Schlachter 2016-06-04 13:27:57 UTC
Sigh. It's 95a262e0e66cd88b9d7a133917b3ba70ace77301.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.