media-libs/mesa-17.3.0_rc2 Not compiling in my system probably due to a missing dependency. xxxxxxxxx@localhost ~ $ uname -a Linux localhost.localdomain 4.13.2-gentoo #3 SMP PREEMPT Thu Sep 21 21:38:51 CEST 2017 x86_64 Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz GenuineIntel GNU/Linux partial output: Traceback (most recent call last): File "/var/tmp/portage/media-libs/mesa-17.3.0_rc2/work/mesa-17.3.0-rc2/src/intel/vulkan/anv_icd.py", line 26, in <module> from anv_extensions import * File "/var/tmp/portage/media-libs/mesa-17.3.0_rc2/work/mesa-17.3.0-rc2/src/intel/vulkan/anv_extensions.py", line 32, in <module> from mako.template import Template ImportError: No module named mako.template make[4]: *** [Makefile:4832: vulkan/dev_icd.json] Error 1 I will attach a full log.
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