[Bug 93196] Mesa requires python2 mako module to build, but does not check that it exists

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 1 10:39:45 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93196

            Bug ID: 93196
           Summary: Mesa requires python2 mako module to build, but does
                    not check that it exists
           Product: Mesa
           Version: git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: idr at freedesktop.org
          Reporter: aperez at alexperez.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20151201/95dd935c/attachment.html>


More information about the intel-3d-bugs mailing list