Summary: | x11-drivers/xf86-video-virtualbox-3.1.0 should depend on media-libs/mesa | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raffaello D. Di Napoli <rafdev> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jokey, swapon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log with (tons of) evidence
Patch for xf86-video-virtualbox-3.1.2 to pull in mesa |
Description
Raffaello D. Di Napoli
2009-12-15 19:59:20 UTC
Created attachment 213132 [details]
Build log with (tons of) evidence
[binary N ] x11-libs/libXdamage-1.1.2 USE="-debug" [ebuild N ] media-libs/mesa-7.7-r1 USE="gallium nptl xcb -debug -motif -pic (-selinux)" VIDEO_CARDS="-intel -mach64 -mga -none -nouveau -r128 -radeon -radeonhd -savage -sis (-sunffb) -svga -tdfx -via" 0 kB [ebuild N ] x11-base/xorg-server-1.7.3.902 USE="ipv6 nptl xorg -debug -dmx -hal -kdrive -minimal -sdl -tslib" 0 kB [binary N ] x11-drivers/xf86-input-keyboard-1.4.0 USE="-debug" [ebuild N ] x11-drivers/xf86-input-evdev-2.3.2 USE="-debug" 0 kB [binary N ] x11-drivers/xf86-input-mouse-1.5.0 USE="-debug" [binary N ] x11-drivers/xf86-video-virtualbox-3.1.0 USE="dri -debug" [binary N ] x11-base/xorg-drivers-1.7 INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -joystick -synaptics -tslib -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="-apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx (-geode) -glint -i128 (-i740) (-impact) -intel -mach64 -mga -neomagic (-newport) -nv -nvidia -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox -vmware (-voodoo) (-xgi)" Cannot reproduce - mesa gets pulled in here (In reply to comment #2) > [ebuild N ] media-libs/mesa-7.7-r1 USE="gallium nptl xcb -debug -motif > -pic (-selinux)" VIDEO_CARDS="-intel -mach64 -mga -none -nouveau -r128 -radeon > -radeonhd -savage -sis (-sunffb) -svga -tdfx -via" 0 kB > [ebuild N ] x11-base/xorg-server-1.7.3.902 USE="ipv6 nptl xorg -debug > -dmx -hal -kdrive -minimal -sdl -tslib" 0 kB > Cannot reproduce - mesa gets pulled in here Mmm, yes, but I have +minimal, while you don’t. Checking with equery on the host computer (which is rather empty, too), I can see this does make a difference: x11-base/xorg-server-1.6.5-r1 (!minimal? >=media-libs/mesa-7.3_rc1[nptl=]) So, in my VirtualBox guest Gentoo, xorg-server does not depend on mesa because of USE=minimal, and nothing else is there to bring it in, hence my problems compiling. I’d say, either xf86-video-virtualbox depends on mesa directly, or it depends on xorg-server[!minimal]. Created attachment 216505 [details, diff]
Patch for xf86-video-virtualbox-3.1.2 to pull in mesa
This patch causes xf86-video-virtualbox-3.1.2 to depend explicitly on mesa if xorg-server was build with USE=minimal.
Before the patch, “emerge --depclean -av” would ask to remove mesa, since I had previously temporarily emerged it with --one-shot, just to build xf86-video-virtualbox. After patching and re-emerging xf86-video-virtualbox, mesa is no longer a candidate for --depclean. Nevermind, that doesn’t fix it. I mean, it does compile okay, but it won’t succeed loading the driver, because it will keep needing DRI to be loaded (even with USE=-dri), but xorg-server built with USE=minimal won’t create /usr/lib/opengl/xorg-x11/extensions/libdri.so . I believe that, short of playing with the Makefile and the ebuild, the ebuild should RDEPEND on x11-base/xorg-server[-minimal] (as opposed to the current x11-base/xorg-server). + 08 Jun 2010; Lars Wendler <polynomial-c@gentoo.org> + xf86-video-virtualbox-3.1.8-r1.ebuild, xf86-video-virtualbox-3.2.2.ebuild, + xf86-video-virtualbox-3.2.4.ebuild: + xf86-video-virtualbox needs libdri.so so it won't work with minimal + xorg-server. Thanks to Raffaello D. Di Napoli for reporting (bug #297094). + |