[Bug 104601] src/intel/vulkan/anv_extensions.py: ImportError: No module named mako.template

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 18 16:24:16 UTC 2018


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

--- Comment #2 from Paul Menzel <pmenzel+bugs.freedesktop at molgen.mpg.de> ---
(In reply to Andrés Gómez García from comment #1)
> (In reply to Paul Menzel from comment #0)
> > 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` (bug #104582 [2]).
> > 
> > ```
> > make[3]: Entering directory
> > '/dev/shm/bee-root/mesalib/mesalib-17.3.1-0/build/src/intel'
> 
> I'm a bit confused.

After reading my report, I am also confused. Sorry about that.

> You state to be building from master but it actually looks more like you are
> building from a dist tarball with a1901d09 (anv: Import mako templates only
> during execution of anv_extensions) applied.
> 
> If this is the case, that's is the problem. If you patch the tarball you
> will need Mako, but that's the problem of patching the tarball, not a
> problem in configure.ac

Yes, I patched Mesa 17.3.1. If Mako is needed, the configure script should
fail, and not pass. But, I was hoping a similar fix to bug #104551 could be
found.

> Could you clarify and, in case of compiling directly from master, provide
> the complete build line?

Checking out the master branch, `./autogen.sh` fails with the line below.

```
[…]
checking if module mako in python is installed... No module named mako
no
configure: error: Python mako module v0.8.0 or higher not found
[…]
```

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


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