Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135873 - please include einfo for USE-flag in xorg-server ebuild
Summary: please include einfo for USE-flag in xorg-server ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 01:59 UTC by Mark
Modified: 2006-06-27 19:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2006-06-07 01:59:20 UTC
I emerged the xorg 7.1 stuff but input and video-drivers didn't compile. It was the same error described here:
http://forums.gentoo.org/viewtopic-t-468222-highlight-pkgconfigpath.html

The USE-Flag "xorg" isn't mentioned anywhere, especially not in the modular X howto or as einfo in the ebuild.

Please add an einfo-message, that this USE-Flag is essential for some things to compile.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-07 02:06:11 UTC
xorg USE flag is turned on by default in profiles. If you removed it, you'd better check 'euse -i xorg' (or see use.local.desc) first before doing so.

# euse -i xorg
global use flags (searching: xorg)
************************************************************
no matching entries found

local use flags (searching: xorg)
************************************************************
[+  D ] xorg (x11-base/xorg-server):
Build the Xorg X server (HIGHLY RECOMMENDED)
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2006-06-11 09:24:30 UTC
The xorg-server ebuild will fail to build if you don't have one of xorg, dmx, or kdrive set.  Like Jakub said, xorg is on by default, and so the only way it'd be off is if you're using '-*', which we don't support.

Having said that, it might make sense to have the drivers die with a friendlier message if the server wasn't built to support them.  I'll look into that.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-20 23:28:21 UTC
Josh, get a chance to check this out yet?
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2006-06-21 19:18:35 UTC
Ah, no, thanks for the poke.

Is my understanding correct that of xorg, dmx and kdrive, kdrive is the only one that will kill the external drivers?
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-21 22:00:44 UTC
(In reply to comment #4)
> Ah, no, thanks for the poke.
> 
> Is my understanding correct that of xorg, dmx and kdrive, kdrive is the only
> one that will kill the external drivers?

Only the xorg server uses these loadable drivers, so checking for ! use xorg would be the way to go.
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2006-06-26 20:06:59 UTC
The check can't be this simple now that we allow building Xvfb only.

I can special-case 'dumb' and 'void'.  Are there any others?
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2006-06-26 20:18:13 UTC
(In reply to comment #6)
> I can special-case 'dumb' and 'void'.  Are there any others?
> 

And by 'dumb' I of course meant 'dummy'.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-27 09:04:51 UTC
(In reply to comment #6)
> The check can't be this simple now that we allow building Xvfb only.

Why not? USE=xorg is still required to build Xorg server, which is the only one that uses any of the loadable drivers in the tree ...

> I can special-case 'dumb' and 'void'.  Are there any others?

Not sure what you're getting at here, those are loaded by the Xorg server only.
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2006-06-27 18:59:08 UTC
Ah, I thought I saw someone using those drivers with Xvfb somewhere (possibly on bugzilla) - I guess the configuration was wrong.
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-27 19:07:15 UTC
Those are the drivers you'd use with the xorg(xfree86) ddx if you just wanted to test the ddx, not the hardware etc. Xvfb just emulates a frame buffer.
Comment 11 Joshua Baergen (RETIRED) gentoo-dev 2006-06-27 19:21:22 UTC
Ah, I see.

This is fixed in CVS, then.