$ cat /usr/lib64/pkgconfig/egl.pc|grep Requires Requires.private: libdrm >= 2.4.15 dri2proto >= 2.1 glproto >= 1.4.11 x11 xext xdamage xfixes xxf86vm x11-xcb xcb-glx If dri2proto and glproto are not installed and USE opengl is enabled, a lot packages will fail to build (all cairo users) because: $ pkg-config --cflags-only-I egl Package dri2proto was not found in the pkg-config search path. Perhaps you should add the directory containing `dri2proto.pc' to the PKG_CONFIG_PATH environment variable Package 'dri2proto', required by 'egl', not found
*** This bug has been marked as a duplicate of bug 342393 ***