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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 12 12:25:01 UTC 2018


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

            Bug ID: 104601
           Summary: src/intel/vulkan/anv_extensions.py: ImportError: No
                    module named mako.template
           Product: Mesa
           Version: 17.3
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/intel
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: pmenzel+bugs.freedesktop at molgen.mpg.de
        QA Contact: intel-3d-bugs at lists.freedesktop.org
                CC: jason at jlekstrand.net

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'
  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] https://bugs.freedesktop.org/show_bug.cgi?id=104551
[2] https://bugs.freedesktop.org/show_bug.cgi?id=104582

-- 
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/20180112/21d3193d/attachment.html>


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