pythonic XCB build error

Simon Thum simon.thum at gmx.de
Mon Apr 11 16:32:40 UTC 2016


Hi all,

my gentoo box is giving me this:

/usr/bin/python3.4 
/var/tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py 
      -c "libxcb 1.11.90" -l "X Version 11" \
         -s "3" -p /dev/null \
          \
         /usr/share/xcb/xc_misc.xml
   File 
"/var/tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py", line 
1937
     after_end_of_request = '(((char*)R) + R->length * 4)'
                                                         ^
TabError: inconsistent use of tabs and spaces in indentation
   File 
"/var/tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py", line 
1937
     after_end_of_request = '(((char*)R) + R->length * 4)'

which roughly means libxcb master does not work well with python 3.4.

Indeed the file's indentation seems inconsistent, though basically 
correct based on tabwidth=8.

Does anyone know what is the "correct" fix? Older/newer python, wait for 
master to fix it, set the tab differently?

The line in question was added this year:

https://cgit.freedesktop.org/xcb/libxcb/commit/src/c_client.py?id=c03388ff9e253b86e4b41fb77034ca6007fe47e9


Thanks in advance,

Simon


More information about the xorg-devel mailing list