2017-03-11 19:59 GMT+02:00 Alan Mackenzie <a...@muc.de>:
> Hello, Gevisz.
>
> On Sat, Mar 11, 2017 at 19:31:25 +0200, gevisz wrote:
>> Today, updating my system, I have got:
>
>> # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask
>> world --exclude chromium
>
>> These are the packages that would be merged, in order:
>
>> Calculating dependencies... done!
>> [ebuild     U  ] media-libs/mesa-13.0.5 [12.0.1] USE="nettle%*
>> -gcrypt% (-libressl) -openssl% -vulkan%"
>> [ebuild     U  ] x11-libs/cairo-1.14.8 [1.14.6]
>> [ebuild     U  ] media-libs/libepoxy-1.4.1 [1.3.1] USE="X%*"
>> [ebuild     U  ] dev-libs/libinput-1.6.2 [1.4.2]
>> [ebuild     U  ] app-misc/mc-4.8.18-r1 [4.8.15]
>> [ebuild     U  ] x11-apps/xauth-1.0.10 [1.0.9-r2] USE="{-test}"
>> [ebuild     U  ] x11-base/xorg-server-1.19.2 [1.18.4] USE="-debug%"
>> [ebuild     U  ] x11-drivers/xf86-video-ati-7.8.0 [7.7.0]
>> [ebuild     U  ] x11-drivers/xf86-input-evdev-2.10.5 [2.10.3]
>> [ebuild     U  ] x11-base/xorg-drivers-1.19 [1.18-r1]
>> VIDEO_CARDS="-ark% -i915% -i965% (-newport) -sis%"
>> [ebuild     U  ] net-analyzer/wireshark-2.2.5 [2.2.4]
>> [ebuild     U  ] www-client/firefox-45.8.0 [45.7.0]
>
>> Would you like to merge these packages? [Yes/No] y
>
> [ .... ]
>
>> >>> Emerging (1 of 12) media-libs/mesa-13.0.5::gentoo
>> ...
>> configure: error: Package requirements (libdrm_amdgpu >= 2.4.63) were not 
>> met:
>
>> No package 'libdrm_amdgpu' found
>
>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>> installed software in a non-standard prefix.
>
>> Alternatively, you may set the environment variables AMDGPU_CFLAGS
>> and AMDGPU_LIBS to avoid the need to call pkg-config.
>> See the pkg-config man page for more details.
>
> [ .... ]
>
>> $ eix libdrm_amdgpu
>> No matches found
>
>> So, there is no libdrm_amdgpu in my updated portage tree but
>> media-libs/mesa-13.0.5::gentoo seems to demand it!
>
>> $ eix amdgpu
>> * sys-firmware/amdgpu-ucode
>>      Available versions:  20160628 20161121 {legacy}
>>      Homepage:            https://people.freedesktop.org/~agd5f/radeon_ucode/
>>      Description:         Microcode for C.Islands/V.Islands/A.Islands
>> Radeon GPUs and APUs
>
>> * x11-drivers/xf86-video-amdgpu
>>      Available versions:  1.1.0 ~1.1.2 1.2.0 **9999 {glamor}
>>      Homepage:            https://www.x.org/wiki/
>>      Description:         Accelerated Open Source driver for AMDGPU cards
>
>> Any ideas?
>
> This happened to me, too.  It was also reported as a bug to the Gentoo
> bugzilla.  The mechanism for the bug was quite involved, but the
> solution was straightforward.  That was to replace
>
>     VIDEO_CARDS="radeon"
>
> with
>
>     VIDEO_CARDS="radeon r600"
>
> in /etc/portage/make.conf.
>
> The "r600" bit is actually documented in the "Radeon" article in the
> Gentoo Wiki, though I suspect it is relatively new.  If I were you, I'd
> check in that article that my card actually does, literally, need
> "r600", and not something like "r750".

Thank you for the help!

After making the proposed change, the mesa started to compile
without problems. (But not finished yet!)

This is quite strange, as I updated my system yet a week ago and
everything worked well even with VIDEO_CARDS="radeon".

My Radeon card:
# lspci | grep -i VGA
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] RS690 [Radeon X1200]

> If this doesn't get your emerge working again, have a look at that bug
> report.  (Search for "mesa" and look at the most recent bug it finds.)
>
> --
> Alan Mackenzie (Nuremberg, Germany).
>
>
>

Reply via email to