[Xcb] libxcb build failure

Rémi Cardona remi at gentoo.org
Sun Nov 2 23:26:46 PST 2014


Hi all,

While cleaning up our ebuilds, I came across this build error:

/usr/bin/python2.7
/var/tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py
     -c "libxcb 1.11" -l "X Version 11" \
        -s "3" -p /dev/null \
        /usr/share/xcb/xproto.xml
Traceback (most recent call last):
  File
"/var/tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py", line
2942, in <module>
    module.generate()
  File "/usr/lib64/python2.7/site-packages/xcbgen/state.py", line 106,
in generate
    item.out(name)
  File
"/var/tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py", line
1790, in c_struct
    _c_type_setup(self, name, ())
  File
"/var/tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py", line
339, in _c_type_setup
    _c_type_setup(field.type, field.field_type, ())
  File
"/var/tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py", line
410, in _c_type_setup
    if not self.is_case_or_bitcase:
AttributeError: 'SimpleType' object has no attribute 'is_case_or_bitcase'

After some manual bisecting, I found that libxcb master no longer builds
(at least with our git ebuild) since 355d4d6:

    support switch case in the generator

A full build log is available here: http://pastebin.com/AvNNumZQ

Cheers,

Rémi

PS, I'll gladly open a bug in bugzilla if that's the preferred way.


More information about the Xcb mailing list