Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130255 - xorg-x11: Invalid VIDEO_CARDS wants to emerge all drivers
Summary: xorg-x11: Invalid VIDEO_CARDS wants to emerge all drivers
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-17 06:21 UTC by Chris Bainbridge (RETIRED)
Modified: 2006-04-17 09:20 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 Chris Bainbridge (RETIRED) gentoo-dev 2006-04-17 06:21:24 UTC
Due to the recent change ati->mach64, radeon,r128 in VIDEO_CARDS, I still had ati selected but since it was now invalid portage wanted to install every driver. It would be nice if the xorg ebuild could warn about invalid VIDEO_CARDS and bail out rather than adding every driver as a depend. This is the output from emerge when ati is stil in VIDEO_CARDS:

Calculating dependencies... done!
[ebuild  N    ] x11-drivers/xf86-video-imstt-1.0.0.5  USE="-debug" 217 kB 
[ebuild  N    ] x11-drivers/xf86-video-nsc-2.7.6.5  USE="-debug" 474 kB 
[ebuild  N    ] x11-drivers/xf86-video-s3virge-1.8.6.5  USE="-debug" 266 kB 
[ebuild  N    ] x11-drivers/xf86-video-i128-1.1.0.5  USE="-debug" 247 kB 
[ebuild  N    ] x11-drivers/xf86-video-vmware-10.12.0.0  USE="-debug" 233 kB 
[ebuild  N    ] x11-drivers/xf86-video-trident-1.0.1.3  USE="-debug" 273 kB 
[ebuild  N    ] x11-drivers/xf86-video-neomagic-1.0.0.5  USE="-debug" 249 kB 
[ebuild  N    ] x11-drivers/xf86-video-cirrus-1.0.0.5  USE="-debug" 248 kB 
[ebuild  N    ] x11-drivers/xf86-video-v4l-0.0.1.5  USE="-debug" 216 kB 
[ebuild  N    ] x11-drivers/xf86-video-vesa-1.0.1.3  USE="-debug" 218 kB 
[ebuild  N    ] x11-drivers/xf86-video-tga-1.0.0.5  USE="-debug" 243 kB 
[ebuild  N    ] x11-drivers/xf86-video-s3-0.3.5.5  USE="-debug" 236 kB 
[ebuild  N    ] x11-drivers/xf86-video-tdfx-1.1.1.3  USE="dri -debug" 255 kB 
[ebuild  N    ] x11-drivers/xf86-video-sisusb-0.7.1.3  USE="-debug" 275 kB 
[ebuild  N    ] x11-drivers/xf86-video-glint-1.0.1.3  USE="dri -debug" 326 kB 
[ebuild  N    ] x11-drivers/xf86-video-fbdev-0.1.0.5  USE="-debug" 214 kB 
[ebuild  N    ] x11-drivers/xf86-video-i740-1.0.0.5  USE="-debug" 241 kB 
[ebuild  N    ] x11-drivers/xf86-video-dummy-0.1.0.5  USE="-debug" 211 kB 
[ebuild  N    ] x11-drivers/xf86-video-savage-2.0.2.3  USE="dri -debug" 275 kB 
[ebuild  N    ] x11-drivers/xf86-video-siliconmotion-1.3.1.5  USE="-debug" 256 kB 
[ebuild  N    ] x11-drivers/xf86-video-ark-0.5.0.5  USE="-debug" 214 kB 
[ebuild  N    ] x11-drivers/xf86-video-rendition-4.0.1.3  USE="-debug" 272 kB 
[ebuild  N    ] x11-libs/libXvMC-1.0.1-r1  USE="-debug" 213 kB 
[ebuild  N    ] x11-drivers/xf86-video-via-0.1.33.2  USE="dri -debug" 355 kB 
[ebuild  N    ] x11-drivers/xf86-video-mga-1.2.1.3  USE="dri -debug" 338 kB 
[ebuild  N    ] x11-drivers/xf86-video-sis-0.8.1.3  USE="dri -debug" 579 kB 
[ebuild  N    ] x11-drivers/xf86-video-tseng-1.0.0.5  USE="-debug" 259 kB 
[ebuild  N    ] x11-drivers/xf86-video-vga-4.0.0.5  USE="-debug" 215 kB 
[ebuild  N    ] x11-drivers/xf86-video-cyrix-1.0.0.5  USE="-debug" 232 kB 
[ebuild  N    ] x11-drivers/xf86-video-chips-1.0.1.3  USE="-debug" 291 kB 
[ebuild  N    ] x11-drivers/xf86-video-apm-1.0.1.5  USE="-debug" 252 kB 
[ebuild  N    ] x11-drivers/xf86-video-i810-1.4.1.3  USE="dri -debug" 368 kB 
[ebuild  N    ] x11-drivers/xf86-video-nv-1.0.2.0  USE="-debug" 270 kB 
[ebuild  N    ] x11-drivers/xf86-video-voodoo-1.0.0.5  USE="-debug" 227 kB 
[ebuild   R   ] x11-base/xorg-x11-7.0-r1  USE="-3dfx" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="-apm -ark -chips -cirrus -cyrix -dummy -fbdev -fglrx -glint -i128 -i740 -i810 -imstt -mach64% -mga -neomagic -nsc -nv -nvidia -r128% -radeon% -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo" 0 kB 

As you can see, it makes no sense and is confusing that the VIDEO_CARDS has every card deselected, and yet every driver is now going to be installed as a DEPEND.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-17 09:20:57 UTC
(In reply to comment #0)
> Due to the recent change ati->mach64, radeon,r128 in VIDEO_CARDS, I still had
> ati selected but since it was now invalid portage wanted to install every
> driver. It would be nice if the xorg ebuild could warn about invalid
> VIDEO_CARDS and bail out rather than adding every driver as a depend. This is
> the output from emerge when ati is stil in VIDEO_CARDS:

Bailing out will cause huge numbers of complaints from developers and QA folks about breaking the non-interactive rule, so we can't do it. In addition, it would die too late, after 25 drivers have already been installed.

I could add a warning, but it's likely nobody will get as far as emerging the package because they won't want to install all those drivers as dependencies, so that would also be pointless.

We just have to count on people to be able to read.

> As you can see, it makes no sense and is confusing that the VIDEO_CARDS has
> every card deselected, and yet every driver is now going to be installed as a
> DEPEND.

That's how USE_EXPAND works, and it isn't open for discussion at this point. When nothing is specifically configured, it assumes the user wants everything to ensure that the package works.