<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - libxcb 1.12 does not build with python3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96395">96395</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libxcb 1.12 does not build with python3
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>XCB
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.12
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Library
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xcb@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jeremyhu@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xcb@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>libxcb 1.12 and master (65b298c7ca317d7e4316aa2b9e0499e13047c65c) fails to
build with python3.

The first issue with python3 was the tabs/spaces inconsistency.  Once that was
addressed, the build continued to fail with:

Traceback (most recent call last):
  File "./c_client.py", line 3294, in <module>
    from xcbgen.state import Module
  File "/opt/local/lib/python3.4/site-packages/xcbgen/state.py", line 7, in
<module>
    from xcbgen import matcher
  File "/opt/local/lib/python3.4/site-packages/xcbgen/matcher.py", line 12, in
<module>
    from xcbgen.xtypes import *
  File "/opt/local/lib/python3.4/site-packages/xcbgen/xtypes.py", line 504
    print "Explicit start-align for %s: %s\n" % (self,
self.required_start_align)
                                            ^

Originally reported at <a href="https://trac.macports.org/ticket/51514#no3">https://trac.macports.org/ticket/51514#no3</a>

Full log:
<a href="https://gist.github.com/cdeil/eac3b160a5b6475eac3b4e0b129e7bb6#file-gistfile1-txt-L393">https://gist.github.com/cdeil/eac3b160a5b6475eac3b4e0b129e7bb6#file-gistfile1-txt-L393</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>