Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604056 - x11-drivers/xf86-video-intel-2.99.917_p20161206 - configure: error: DRI3 requested but prerequisites not found
Summary: x11-drivers/xf86-video-intel-2.99.917_p20161206 - configure: error: DRI3 requ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-29 17:47 UTC by Giovani M. Faccin
Modified: 2017-01-02 22:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Attached config.log as requested. (config.log,94.27 KB, text/x-log)
2017-01-02 15:34 UTC, Giovani M. Faccin
Details
Added build.log as requested. (build.log,15.34 KB, text/x-log)
2017-01-02 15:39 UTC, Giovani M. Faccin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giovani M. Faccin 2016-12-29 17:47:48 UTC
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!
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2017-01-02 07:15:08 UTC
Could you attach the full build.log and config.log ?

Thanks
Comment 2 Giovani M. Faccin 2017-01-02 15:34:49 UTC
Created attachment 458390 [details]
Attached config.log as requested.
Comment 3 Giovani M. Faccin 2017-01-02 15:39:36 UTC
Created attachment 458392 [details]
Added build.log as requested.
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2017-01-02 21:27:05 UTC
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
Comment 5 Giovani M. Faccin 2017-01-02 22:11:49 UTC
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.