<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 - Mesa requires python2 mako module to build, but does not check that it exists"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93196">93196</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Mesa requires python2 mako module to build, but does not check that it exists
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </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>glsl-compiler
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aperez@alexperez.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have a fresh install of Ubuntu 14.10, and python2 is installed along python3,
I believe by default. There is a python3 mako package installed, but not one
for python2, and since Mesa explicitly uses python2, this fails, until I
manually install the python-mako package. No check during configure occurs.

Here is the resulting failure:

make[2]: Entering directory '/usr/src/mesa-git/src/glsl'
  GEN      nir/nir_opcodes.c
Traceback (most recent call last):
  File "./nir/nir_opcodes_c.py", line 28, in <module>
    from mako.template import Template
ImportError: No module named mako.template
Makefile:2259: recipe for target 'nir/nir_opcodes.c' failed</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>