When x11-proto/scrnsaverproto is not present on the system, a lot of x11 video drivers won't compile with a: /usr/include/xorg/extinit.h:113:34: fatal error: X11/extensions/saver.h: No such file or directory tried: xf86-video-ati xf86-video-openchrome xf86-video-vesa xf86-video-intel xf86-video-mach64 xf86-video-fbdev After installing scrnsaverproto there are no problems. Suggest adding x11-proto/scrnsaverproto as a build time dependency for all video drivers (perhaps in xorg-2.eclass). Reproducible: Always
Created attachment 330354 [details] xf86-video-openchrome build log just an example, the others have similar outputs, all failing with the same message
Created attachment 330356 [details, diff] Add scrnsaverproto to DEPEND list for video drivers iamben did a test against all xf86-video-* packages, found that only virtualbox didn't need 'saver.h' as they all #include'd xf86_OSproc.h . This seems a valid case to add scrnsaverproto to the DEPEND list for video drivers. This patch applies to xorg-2.eclass to provide said dependency.
If I understand correctly, this is the same issue as in bug 342393 and in bug 379545. The problem is caused by a file which is installed by xorg-server and PMS does not currently have a way to specify such a kind of "build-against" dependency. *** This bug has been marked as a duplicate of bug 379545 ***