Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2017 10:09:00 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>, freebsd-x11@freebsd.org
Subject:   Re: powerpc64: graphics/mesa-dri fails to build because "ImportError: No module named mako.template"
Message-ID:  <po6w-1t1v-wny@FreeBSD.org>
In-Reply-To: <087297E8-4108-442B-8A1A-DB6FDF8A35BA@dsl-only.net> (Mark Millard's message of "Sat, 30 Dec 2017 00:10:24 -0800")
References:  <2765A66A-8908-44A1-ACB6-43157202F49C@dsl-only.net> <087297E8-4108-442B-8A1A-DB6FDF8A35BA@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Millard <markmi@dsl-only.net> writes:

> [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.]

Would be nice if you cheat by replacing /usr/bin/ld instead.
portmaster may miss some issues due to building in a dirty environment.

>
> 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

Fixed by https://svnweb.freebsd.org/changeset/ports/457591
Vulkan drivers always need py-mako since Mesa 17.3 but I didn't
try building only radv (either anv + radv or none).

> freshports indicated:
>
> 	=E2=80=A2 py27-mako>0 : textproc/py-mako@py27
>
> as a build dependency but portmaster did not
> try to create a textproc/py-mako@py27 on
> its own.

freshports generates dependency list on amd64 but radv was also
built on powerpc*.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?po6w-1t1v-wny>