[Xcb] libxcb build failure
Christian Linhart
chris at DemoRecorder.com
Mon Nov 3 00:01:27 PST 2014
Hi Rémi,
Did you build and install the current xcb/proto before?
This is needed because switch-case support in libxcb depends on
the changes for switch-case support in xcb/proto.
The backtrace looks like you used an old xcb/proto.
Cheers,
Chris
On 11/03/14 08:26, Rémi Cardona wrote:
> 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.
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
More information about the Xcb
mailing list