Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't compile media-libs/mesa - do I need gallium?
Date: Thu, 20 Jul 2017 01:54:07
Message-Id: 25122240-3BA0-4DD4-9621-AA0ACD48761F@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] Can't compile media-libs/mesa - do I need gallium? by Walter Dnes
1 > On 17 Jul 2017, at 03:14, Walter Dnes <waltdnes@××××××××.org> wrote:
2 >
3 > On Mon, Jul 17, 2017 at 01:43:46AM +0100, Stroller wrote
4 >> This system is headless, but I have x11-wm/xpra installed on it so I can run X11 apps remotely.
5 >>
6 >> Recent emerges of world have been failing at media-libs/mesa
7 >> ...
8 >>
9 >> All I can make out is that it's a problem with gallium. The current
10 >> version of mesa appears to have gallium enabled, though.
11 >>
12 >> I know nothing about mesa, not even really what it's for, so I don't
13 >> know if I should just try disabling gallium and trying again.
14 >
15 > I've got 17.0.6 building and running fine, under GCC 6.3.0 (YES !),
16 > without gallium. I suggest trying "-gallium" in make.conf. Here's my
17 > mesa "pretend build" output...
18 >
19 > [ebuild R ] media-libs/mesa-17.0.6::gentoo USE="bindist classic dri3 egl gbm gles2 nptl -d3d9 -debug -gallium -gles1 -llvm -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -valgrind -vdpau -vulkan -wayland -xa -xvmc" VIDEO_CARDS="i915 intel (-freedreno) -i965 -imx -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware" 0 KiB
20
21 llvm depends on gallium, I think, as emerging with USE="-gallium" throws an error of that nature.
22
23 Emerging with USE="-gallium -llvm" works, but I was pleased with the solution provided by IceAmber, as it allows me to update mesa with the default flags (i.e. with those enabled).
24
25 Since I don't use X11 much I feel happier using the default flags wherever possible (irrational of me, perhaps), unless they pull in too many dependencies.
26
27 I appreciate all the help,
28
29 Stroller.