Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444488 - x11 video drivers require scrnsaverproto as build dependency
Summary: x11 video drivers require scrnsaverproto as build dependency
Status: RESOLVED DUPLICATE of bug 379545
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 20:00 UTC by Wim Muskee
Modified: 2012-11-24 01:20 UTC (History)
0 users

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


Attachments
xf86-video-openchrome build log (xf86-video-openchrome-build.log,13.57 KB, text/plain)
2012-11-23 20:03 UTC, Wim Muskee
Details
Add scrnsaverproto to DEPEND list for video drivers (xorg-2-scrnsaverproto.patch,307 bytes, patch)
2012-11-23 20:24 UTC, Ian Stakenvicius (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wim Muskee 2012-11-23 20:00:59 UTC
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
Comment 1 Wim Muskee 2012-11-23 20:03:30 UTC
Created attachment 330354 [details]
xf86-video-openchrome build log

just an example, the others have similar outputs, all failing with the same message
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2012-11-23 20:24:46 UTC
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.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-11-24 01:20:11 UTC
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 ***