media-tv/mythtv fails to emerge with xvmc flag. The video card is nVidia Quadro FX 560. The capture card is HD-3000 HDTV. Kernel is 2.6.17-hardened-r1. VIDEO_CARDS variable is set to 'nvidia' also in make.conf. # VIDEO_CARDS="nvidia" emerge -uvND media-tv/mythtv Calculating dependencies... done! >>> Emerging (1 of 1) media-tv/mythtv-0.19_p10505 to / * mythtv-0.19-rev10505.patch.bz2 MD5 ;-) ... [ ok ] * mythtv-0.19-rev10505.patch.bz2 RMD160 ;-) ... [ ok ] * mythtv-0.19-rev10505.patch.bz2 SHA1 ;-) ... [ ok ] * mythtv-0.19-rev10505.patch.bz2 SHA256 ;-) ... [ ok ] * mythtv-0.19-rev10505.patch.bz2 size ;-) ... [ ok ] * mythtv-0.19.tar.bz2 MD5 ;-) ... [ ok ] * mythtv-0.19.tar.bz2 RMD160 ;-) ... [ ok ] * mythtv-0.19.tar.bz2 SHA1 ;-) ... [ ok ] * mythtv-0.19.tar.bz2 SHA256 ;-) ... [ ok ] * mythtv-0.19.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mythtv-0.19.tar.bz2 ;-) ... [ ok ] * checking mythtv-0.19-rev10505.patch.bz2 ;-) ... [ ok ] * You enabled the XvMC USE flag but did not configure VIDEO_CARDS with either * a Nvidia, i810, or VIA video card. !!! ERROR: media-tv/mythtv-0.19_p10505 failed. Call stack: ebuild.sh, line 1562: Called dyn_setup ebuild.sh, line 665: Called pkg_setup mythtv-0.19_p10505.ebuild, line 106: Called die !!! Please fix the above issues, before continuing. !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 99281 [details] emerge --info
# VIDEO_CARDS="nvidia" emerge -pv media-tv/mythtv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-tv/mythtv-0.19_p10505 USE="alsa dvb dvd ieee1394 lcd opengl xvmc* (-altivec) -backendonly -dbox2 -debug -frontendonly -jack -joystick -lirc (-mmx) -vorbis" VIDEO_CARDS="-i810 (-nvidia) -via" 0 kB
* You enabled the XvMC USE flag but did not configure VIDEO_CARDS with either * a Nvidia, i810, or VIA video card. Did you even read the message?
(In reply to comment #2) > # VIDEO_CARDS="nvidia" emerge -pv media-tv/mythtv > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] media-tv/mythtv-0.19_p10505 USE="alsa dvb dvd ieee1394 lcd > opengl xvmc* (-altivec) -backendonly -dbox2 -debug -frontendonly -jack > -joystick -lirc (-mmx) -vorbis" VIDEO_CARDS="-i810 (-nvidia) -via" 0 kB > It looks like your profile doesn't support the nvidia binary drivers. If that's the case, it's not a mythtv bug.
(In reply to comment #3) > * You enabled the XvMC USE flag but did not configure VIDEO_CARDS with either > * a Nvidia, i810, or VIA video card. > > Did you even read the message? > Incidentally, I did read the message. That's what I usually do instead of posting sarcastic comments. "use.mask" file implies that media-tv/mythtv for whatever reason depends on nvidia legacy drivers: ========== # nVidia XvMC requires nvidia-drivers/nvidia-legacy-drivers nvidia ========== Why is this dependency not defined in the same way through ebuilds as all other Gentoo packages do, but in such an obscure manner?
Look at the output of emerge -pv again. "VIDEO_CARDS="-i810 (-nvidia) -via" nvidia isn't even an option on your profile. However, you can run MythTV just fine without xvmc support. The ebuild is written correctly, it's just your profile that has the use flag masked.