I'm trying to upgrade xorg-server from a very old version and it's failing during the configure phase of x11-drivers/xf86-video-intel-2.99.917_p20161206: checking whether to include DRI2 support... yes checking whether to include DRI3 support... no configure: error: DRI3 requested but prerequisites not found The issue is that I've tried to compile both using the dri3 and -dri3 flag. Specifically, why is it requesting dri3 on the configure phase if it's flag is negative (-dri3): jacare xf86-video-intel # emerge xf86-video-intel -uv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ~] x11-drivers/xf86-video-intel-2.99.917_p20161206::gentoo USE="dri sna udev xvmc -debug -dri3 -uxa" 0 KiB Shouldn't it pass the configure phase without requesting dri3? Thanks!
Could you attach the full build.log and config.log ? Thanks
Created attachment 458390 [details] Attached config.log as requested.
Created attachment 458392 [details] Added build.log as requested.
Which version of xorg-server are you upgrading from? My suggestion would be: Try upgrading xorg-server by a) installing =xf86-video-intel-2.99.917-r2 (that should not have a dri3 flag) and mask all later versions b) removing intel from VIDEO_CARDS temporarily (use xorg-server internal modesetting driver to run xorg-server) and add it back after the upgrade c) removing intel from VIDEO_CARDS permanently and use internal modesetting instead
The previous version was x11-base/xorg-server-1.14.3-r2. I've proceed as suggested in b), thus removing intel from VIDEO_CARDS and then upgrading xorg-server to the latest version. Since that did not require the intel drivers anymore, it compiled fine. After the xorg-server upgrade to version 1.8, I've enabled the dri3 flag again for the intel driver and tried to compile it once again and... voilá, the configure stage worked out, detecting dri3 support. So the problem was that portage was trying to compile the intel-driver before upgrading xorg-server. It appears that the latest intel drivers do need a requirement regarding xorg-versions in the ebuild requisites. I believe that the issue is resolved. Will do some more testing and if necessary, I'll report back. Thank you very much for the help Rémi and Manuel.