Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 23:19:04 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        ports@freebsd.org, freebsd-arm@freebsd.org
Subject:   Re: graphics/mesa-dri missing mako.template
Message-ID:  <7f1g-jy9j-wny@FreeBSD.org>
In-Reply-To: <20170516192732.GB98474__2326.45124565369$1494962860$gmane$org@www.zefox.net> (bob prohaska's message of "Tue, 16 May 2017 12:27:32 -0700")
References:  <20170516192732.GB98474__2326.45124565369$1494962860$gmane$org@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

bob prohaska <fbsd@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

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQF8BAEBCgBmBQJZG2zIXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bcroH/3oWDEwVVADjK1Xuf++s3Dq5
QjGkIy8L8BIbtyLzzJ9rmbIzZQ7st+wy6SKAomNC0b9mYudgdYCBkyaUcn98gFOi
Loeg3KkDyY+NXzXVVbrcxZhX85PSMvS5klHex+H5Wl8gXkCpJcft7nPX4w5qjd0o
8mgCP9JT4oUQj5DB359+tZKBSU9FqYafuk1ZRkwtNAF9eNzxd/Logp8Vbx9uYFdb
mpLuS7XihtR1fw8k0xGBDCq2K4eGO8VjKCRWWMf4i/+yAipcHgUlQwBaOk7xLnNh
lGJdRMZG2xe+GTkIQukL6VWq/zI31xXJMvanrZMulWwYvGnZic5YHN55hrVRXcg=
=zBb0
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7f1g-jy9j-wny>