Bug 71418 - xcb-proto git: 'inconsistent use of tabs and spaces in indentation' breaks python3
Summary: xcb-proto git: 'inconsistent use of tabs and spaces in indentation' breaks py...
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Protocol (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Keith Packard
QA Contact: xcb mailing list dummy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-09 08:27 UTC by Michał Górny
Modified: 2013-11-14 11:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Michał Górny 2013-11-09 08:27:16 UTC
When trying to build libxcb with Python3.3 I'm getting:

/usr/bin/python3.3 /tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py -p  /usr/share/xcb/xc_misc.xml
Traceback (most recent call last):
  File "/tmp/portage/x11-libs/libxcb-9999/work/libxcb-9999/src/c_client.py", line 2982, in <module>
    from xcbgen.state import Module
  File "/usr/lib64/python3.3/site-packages/xcbgen/state.py", line 7, in <module>
    from xcbgen import matcher
  File "/usr/lib64/python3.3/site-packages/xcbgen/matcher.py", line 12, in <module>
    from xcbgen.xtypes import *
  File "/usr/lib64/python3.3/site-packages/xcbgen/xtypes.py", line 82
    new_fd = Field(self, module.get_type_name('INT32'), fd_name, True, False, False, None, True)
                                                                                               ^
TabError: inconsistent use of tabs and spaces in indentation

This is a recent regression in xcb-proto git. I suspect the tab in first comment line of make_fd_of().
Comment 1 Matt Turner 2013-11-12 02:32:21 UTC
Patch sent to the mailing list.


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.