<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 - src/intel/vulkan/anv_extensions.py: ImportError: No module named mako.template"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104601">104601</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>src/intel/vulkan/anv_extensions.py: ImportError: No module named mako.template
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>17.3
</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>Drivers/Vulkan/intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pmenzel+bugs.freedesktop@molgen.mpg.de
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>jason@jlekstrand.net
</td>
</tr></table>
<p>
<div>
<pre>Without Python Mako Templates [1] installed, the master branch, commit a1901d09
(anv: Import mako templates only during execution of anv_extensions) fixing bug
#104551 [1], fails to build with the errors below despite configuring it with
`--with-vulkan-drivers=radeon` (<a class="bz_bug_link
bz_status_NEW "
title="NEW - Leaving Intel Vulkan driver out still runs scripts `src/intel/vulkan/`"
href="show_bug.cgi?id=104582">bug #104582</a> [2]).
```
make[3]: Entering directory
'/dev/shm/bee-root/mesalib/mesalib-17.3.1-0/build/src/intel'
GEN vulkan/anv_entrypoints.c
GEN vulkan/anv_extensions.c
Traceback (most recent call last):
File
"/dev/shm/bee-root/mesalib/mesalib-17.3.1-0/source/src/intel/vulkan/anv_entrypoints_gen.py",
line 30, in <module>
from mako.template import Template
ImportError: No module named mako.template
Makefile:4816: recipe for target 'vulkan/anv_entrypoints.c' failed
make[3]: *** [vulkan/anv_entrypoints.c] Error 1
make[3]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File
"/dev/shm/bee-root/mesalib/mesalib-17.3.1-0/source/src/intel/vulkan/anv_extensions.py",
line 281, in <module>
from mako.template import Template
ImportError: No module named mako.template
Makefile:4826: recipe for target 'vulkan/anv_extensions.c' failed
make[3]: *** [vulkan/anv_extensions.c] Error 1
make[3]: Leaving directory
'/dev/shm/bee-root/mesalib/mesalib-17.3.1-0/build/src/intel'
Makefile:860: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/dev/shm/bee-root/mesalib/mesalib-17.3.1-0/build/src'
Makefile:651: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/dev/shm/bee-root/mesalib/mesalib-17.3.1-0/build/src'
Makefile:658: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
```
If the Python Mako Templates are required, the configure script should abort.
[1] <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Check if Mako templates for Python are installed"
href="show_bug.cgi?id=104551">https://bugs.freedesktop.org/show_bug.cgi?id=104551</a>
[2] <a class="bz_bug_link
bz_status_NEW "
title="NEW - Leaving Intel Vulkan driver out still runs scripts `src/intel/vulkan/`"
href="show_bug.cgi?id=104582">https://bugs.freedesktop.org/show_bug.cgi?id=104582</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>