Initially I had a problem when emerging x11-drivers/xf86-video-intel-2.21.15 package: configure:19378: checking for XORG configure:19385: $PKG_CONFIG --exists --print-errors "xorg-server >= $required_x org_server_version xproto fontsproto pixman-1 >= $required_pixman_version $REQUI RED_MODULES" Package scrnsaverproto was not found in the pkg-config search path. Perhaps you should add the directory containing `scrnsaverproto.pc' to the PKG_CONFIG_PATH environment variable Package 'scrnsaverproto', required by 'xorg-server', not found It appears, that xorg-server.pc file has following text inside: Requires.private: xproto >= 7.0.22 randrproto >= 1.4.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto pixman-1 >= 0.27.2 videoproto scrnsaverproto >= 1.1 resourceproto >= 1.2.0 xf86driproto >= 2.1.0 glproto >= 1.4.17 dri >= 7.8.0 dri2proto >= 2.8 dri3proto >= 1.0 presentproto >= 1.0 xineramaproto pciaccess >= 0.12.901 So all of these dependencies should be set in RDEPEND rather than DEPEND list. I've found that problem on stable (1.15.0) version, but it exists also in the newest ebuild. Reproducible: Always Steps to Reproduce: 1. Take gentoo installation with relatively small number of packages emerged 2. install xorg-clean 3. emerge --depclean --with-bdeps=n 4. pkg-config --exists --print-errors "xorg-server" Actual Results: Package scrnsaverproto was not found in the pkg-config search path. Perhaps you should add the directory containing `scrnsaverproto.pc' to the PKG_CONFIG_PATH environment variable Package 'scrnsaverproto', required by 'xorg-server', not found Expected Results: Empty output
Created attachment 385148 [details, diff] Proposed fix Dependencies were nearly in alphabetical order, so moved dependencies were reordered to fix some exceptions of alphabetical order.
*** This bug has been marked as a duplicate of bug 379545 ***