Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updating media-libs/mesa failed
Date: Sat, 11 Mar 2017 18:00:27
Message-Id: 20170311175944.GA19889@acm
In Reply to: [gentoo-user] Updating media-libs/mesa failed by gevisz
1 Hello, Gevisz.
2
3 On Sat, Mar 11, 2017 at 19:31:25 +0200, gevisz wrote:
4 > Today, updating my system, I have got:
5
6 > # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask
7 > world --exclude chromium
8
9 > These are the packages that would be merged, in order:
10
11 > Calculating dependencies... done!
12 > [ebuild U ] media-libs/mesa-13.0.5 [12.0.1] USE="nettle%*
13 > -gcrypt% (-libressl) -openssl% -vulkan%"
14 > [ebuild U ] x11-libs/cairo-1.14.8 [1.14.6]
15 > [ebuild U ] media-libs/libepoxy-1.4.1 [1.3.1] USE="X%*"
16 > [ebuild U ] dev-libs/libinput-1.6.2 [1.4.2]
17 > [ebuild U ] app-misc/mc-4.8.18-r1 [4.8.15]
18 > [ebuild U ] x11-apps/xauth-1.0.10 [1.0.9-r2] USE="{-test}"
19 > [ebuild U ] x11-base/xorg-server-1.19.2 [1.18.4] USE="-debug%"
20 > [ebuild U ] x11-drivers/xf86-video-ati-7.8.0 [7.7.0]
21 > [ebuild U ] x11-drivers/xf86-input-evdev-2.10.5 [2.10.3]
22 > [ebuild U ] x11-base/xorg-drivers-1.19 [1.18-r1]
23 > VIDEO_CARDS="-ark% -i915% -i965% (-newport) -sis%"
24 > [ebuild U ] net-analyzer/wireshark-2.2.5 [2.2.4]
25 > [ebuild U ] www-client/firefox-45.8.0 [45.7.0]
26
27 > Would you like to merge these packages? [Yes/No] y
28
29 [ .... ]
30
31 > >>> Emerging (1 of 12) media-libs/mesa-13.0.5::gentoo
32 > ...
33 > configure: error: Package requirements (libdrm_amdgpu >= 2.4.63) were not met:
34
35 > No package 'libdrm_amdgpu' found
36
37 > Consider adjusting the PKG_CONFIG_PATH environment variable if you
38 > installed software in a non-standard prefix.
39
40 > Alternatively, you may set the environment variables AMDGPU_CFLAGS
41 > and AMDGPU_LIBS to avoid the need to call pkg-config.
42 > See the pkg-config man page for more details.
43
44 [ .... ]
45
46 > $ eix libdrm_amdgpu
47 > No matches found
48
49 > So, there is no libdrm_amdgpu in my updated portage tree but
50 > media-libs/mesa-13.0.5::gentoo seems to demand it!
51
52 > $ eix amdgpu
53 > * sys-firmware/amdgpu-ucode
54 > Available versions: 20160628 20161121 {legacy}
55 > Homepage: https://people.freedesktop.org/~agd5f/radeon_ucode/
56 > Description: Microcode for C.Islands/V.Islands/A.Islands
57 > Radeon GPUs and APUs
58
59 > * x11-drivers/xf86-video-amdgpu
60 > Available versions: 1.1.0 ~1.1.2 1.2.0 **9999 {glamor}
61 > Homepage: https://www.x.org/wiki/
62 > Description: Accelerated Open Source driver for AMDGPU cards
63
64 > Any ideas?
65
66 This happened to me, too. It was also reported as a bug to the Gentoo
67 bugzilla. The mechanism for the bug was quite involved, but the
68 solution was straightforward. That was to replace
69
70 VIDEO_CARDS="radeon"
71
72 with
73
74 VIDEO_CARDS="radeon r600"
75
76 in /etc/portage/make.conf.
77
78 The "r600" bit is actually documented in the "Radeon" article in the
79 Gentoo Wiki, though I suspect it is relatively new. If I were you, I'd
80 check in that article that my card actually does, literally, need
81 "r600", and not something like "r750".
82
83 If this doesn't get your emerge working again, have a look at that bug
84 report. (Search for "mesa" and look at the most recent bug it finds.)
85
86 --
87 Alan Mackenzie (Nuremberg, Germany).

Replies

Subject Author
Re: [gentoo-user] Updating media-libs/mesa failed gevisz <gevisz@×××××.com>