From owner-freebsd-ppc@freebsd.org Sat Dec 30 09:09:06 2017 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA64DEB2A05; Sat, 30 Dec 2017 09:09:06 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9BF1757AC; Sat, 30 Dec 2017 09:09:06 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id EE5EBBD51; Sat, 30 Dec 2017 09:09:05 +0000 (UTC) From: Jan Beich To: Mark Millard Cc: FreeBSD PowerPC ML , FreeBSD Ports , freebsd-x11@freebsd.org Subject: Re: powerpc64: graphics/mesa-dri fails to build because "ImportError: No module named mako.template" References: <2765A66A-8908-44A1-ACB6-43157202F49C@dsl-only.net> <087297E8-4108-442B-8A1A-DB6FDF8A35BA@dsl-only.net> Date: Sat, 30 Dec 2017 10:09:00 +0100 In-Reply-To: <087297E8-4108-442B-8A1A-DB6FDF8A35BA@dsl-only.net> (Mark Millard's message of "Sat, 30 Dec 2017 00:10:24 -0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2017 09:09:07 -0000 Mark Millard 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 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 >> 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*.