<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><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#c2">Comment # 2</a>
              on <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">bug 104601</a>
              from <span class="vcard"><a class="email" href="mailto:pmenzel+bugs.freedesktop@molgen.mpg.de" title="Paul Menzel <pmenzel+bugs.freedesktop@molgen.mpg.de>"> <span class="fn">Paul Menzel</span></a>
</span></b>
        <pre>(In reply to Andrés Gómez García from <a href="show_bug.cgi?id=104601#c1">comment #1</a>)
<span class="quote">> (In reply to Paul Menzel from <a href="show_bug.cgi?id=104601#c0">comment #0</a>)
> > Without Python Mako Templates [1] installed, the master branch, commit
> > a1901d09 (anv: Import mako templates only during execution of
> > anv_extensions) fixing <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">bug #104551</a> [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'

> I'm a bit confused.</span >

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

<span class="quote">> 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</span >

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 <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">bug #104551</a> could be
found.

<span class="quote">> Could you clarify and, in case of compiling directly from master, provide
> the complete build line?</span >

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
[…]
```</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>