Gentoo Archives: gentoo-user

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