graphics/mesa-dri missing mako.template
Jan Beich
jbeich at FreeBSD.org
Tue May 16 21:19:12 UTC 2017
bob prohaska <fbsd at www.zefox.net> writes:
> When trying to compile graphics/mesa-dri on RPI2 make reports in part:
>
> /bin/mkdir -p ir3
> PYTHONPATH=../../../../src/compiler/nir python2.7 ./ir3/ir3_nir_trig.py > ir3/ir3_nir_trig.c || (rm -f ir3/ir3_nir_trig.c; false)
> Traceback (most recent call last):
> File "./ir3/ir3_nir_trig.py", line 24, in <module>
> import nir_algebraic
> File "/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/compiler/nir/nir_algebraic.py", line 32, in <module>
> import mako.template
> ImportError: No module named mako.template
> gmake[6]: *** [Makefile:1395: ir3/ir3_nir_trig.c] Error 1
> gmake[6]: Leaving directory '/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/gallium/drivers/freedreno'
17.0.3 built fine[1], so this is a regression. aarch64 is also affected[2].
Try installing textproc/py-mako or comment out arm-specific drivers
in graphics/mesa-dri/Makefile.
I'm a bit puzzled why it tries to regen ir3/ir3_nir_trig.c when 17.0.4
distfile already contains a copy. Can you check if 17.1.0 (bug 219247)
is also affected?
[1] http://beefy8.nyi.freebsd.org/data/latest-per-pkg/dri/17.0.3%2C2/head-armv6-default.log
[2] http://thunderx1.nyi.freebsd.org/data/latest-per-pkg/mesa-dri/17.0.4/110arm64-default.log
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 584 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20170516/9d08a73b/attachment.sig>
More information about the freebsd-arm
mailing list