Summary: | media-libs/mesa-17.3.0_rc2 ImportError: No module named mako.template | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | mercuriete <mercuriete> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b.buschinski, bdouxx-gentoo, oli.huber, python, scottsshort, tka, tsmksubc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log of mesa
emerge info |
Description
mercuriete
2017-10-30 20:17:51 UTC
Created attachment 501132 [details]
build log of mesa
Created attachment 501134 [details]
emerge info
Confirmed. Same here. Vulkan issue? possible workaround: sudo emerge dev-python/mako --oneshot and then sudo emerge mesa Can anybody confirm if mako is now a new dependency of mesa? ok, i can confirm that if you install mako then mesa compiles fine. in the ebuild the problem seems it is there: [[ ${PV} == 9999 ]] && DEPEND+=" sys-devel/bison sys-devel/flex $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") " mako is only in DEPEND when PV == 9999 Suggestion from comment 4 did not work for me, package was already emerged, re-merged and retried mesa, fails at same spot / error message mesa uses python 2.7, hence mako needs to be emerged with PYTHON_TARGETS="python2_7" or with USE flag python_targets_python2_7 set same here comment 4 did work for me mesa did compile fine after mako install eix mako [I] dev-python/mako Available versions: 1.0.0 1.0.3 ~1.0.6 {doc test PYTHON_TARGETS="pypy python2_7 python3_4 python3_5 python3_6"} Installed versions: 1.0.3(10:49:04 31/10/2017)(-doc -test PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_5 -python3_6") Homepage: http://www.makotemplates.org/ https://pypi.python.org/pypi/Mako Description: A Python templating language note that I do have PYTHON_TARGETS="python2_7" adding PYTHON_TARGETS="python2_7" to mako package then emerging mesa is OK +1 emerging dev-python/mako does the job. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25a93431297ebb15fa378e6efd89b4672a641cc commit b25a93431297ebb15fa378e6efd89b4672a641cc Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2017-11-02 05:13:28 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2017-11-02 05:13:46 +0000 media-libs/mesa: Require dev-python/mako for USE=vulkan The Intel Vulkan driver generates its icd files using Python/mako. Closes: https://bugs.gentoo.org/635936 media-libs/mesa/mesa-17.3.0_rc2.ebuild | 3 +++ media-libs/mesa/mesa-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+) Thank you very much for your awesome work :) <3 |