powerpc64: graphics/mesa-dri fails to build because "ImportError: No module named mako.template"

Mark Millard markmi at dsl-only.net
Sat Dec 30 08:10:32 UTC 2017


[I experiment with system clang based powerpc64 and powerpc
builds. For powerpc64, linking pkg requires using a ports
binutils instead of the system binutils. This blocks using
poudriere. So portmaster is in use here.]

On 2017-Dec-29, at 11:36 PM, Mark Millard <markmi at dsl-only.net> wrote:

> gmake[5]: Entering directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.3.1/src/amd/vulkan'
> python2.7 ./radv_entrypoints_gen.py \
> 	--xml ../../../src/vulkan/registry/vk.xml --outdir .
> Traceback (most recent call last):
>  File "./radv_entrypoints_gen.py", line 30, in <module>
>    from mako.template import Template
> ImportError: No module named mako.template
> gmake[5]: *** [Makefile:1234: radv_entrypoints.c] Error 1
> gmake[5]: Leaving directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.3.1/src/amd/vulkan'
> gmake[4]: *** [Makefile:861: all-recursive] Error 1
> gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.3.1/src'
> gmake[3]: *** [Makefile:652: all] Error 2
> gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.3.1/src'
> gmake[2]: *** [Makefile:659: all-recursive] Error 1
> gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.3.1'
> *** Error code 1
> 
> (The above is from using MAKE_JOBS_UNSAFE=yes as the
> second try.)

freshports indicated:

	• py27-mako>0 : textproc/py-mako at py27

as a build dependency but portmaster did not
try to create a textproc/py-mako at py27 on
its own.

A separate portmaster run for textproc/py-mako at py27
put it in place and then for retrying graphics/mesa-dri
the vulkan material was able to get past the above.
( graphics/mesa-dri is still building.)

===
Mark Millard
markmi at dsl-only.net




More information about the freebsd-ports mailing list