If the xvmc use flag is set, but xcb-util is not installed, If xcb-util is not installed, when xf86-video-intel is ./configure'd, it outputs checking for XVMCLIB... no checking whether to include XvMC support... no If we check config.log, it reads configure:11815: checking for XVMCLIB configure:11822: $PKG_CONFIG --exists --print-errors "xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux" Package xcb-aux was not found in the pkg-config search path. Perhaps you should add the directory containing `xcb-aux.pc' to the PKG_CONFIG_PATH environment variable No package 'xcb-aux' found configure:11825: $? = 1 configure:11838: $PKG_CONFIG --exists --print-errors "xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux" Package xcb-aux was not found in the pkg-config search path. Perhaps you should add the directory containing `xcb-aux.pc' to the PKG_CONFIG_PATH environment variable No package 'xcb-aux' found configure:11841: $? = 1 configure:11854: result: no No package 'xcb-aux' found configure:11883: checking whether to include XvMC support configure:11885: result: no So XvMC is not built since xcb-aux is not found. This is actually in xcb-util, so once I emerge xcb-util, XvMC support is built as expected. Reproducible: Always Steps to Reproduce: 1. Ensure xcb-util is not installed 2. emerge xf86-video-intel 3. Actual Results: Intel video driver built without xvmc Expected Results: Intel video driver built with xvmc
Not sure what was going on here. xvmc isn't a USE flag, and as such can't be turned off. xf86-video-intel has a DEPEND/RDEPEND on libxcb, which includes xcb-dri2 and xcb-aux. Closing as WORKSFORME.
x11-libs/libxcb does not contain xcb-aux, this is contained in x11-libs/xcb-util Right now all xf86-video-intel packages are implicitly linking against xcb-util without an explicit dep in the ebuilds. Although the vast majority of systems do have xcb-util installed whenever libxcb is installed, this missing RDEPEND is still a bug and will in the future cause issues with auto-rebuilds as could be triggered by, say, sub-slot specifications (currently being tested under EAPI=4-slot-abi)
Created attachment 317135 [details] build log of xf86-video-intel-2.19.0 when xcb-util is not emerged Steps to reproduce: 1: emerge -C xcb-util xcb-util-wm xcb-util-keysyms \ xcb-util-image xcb-util-renderutil 2: emerge xf86-video-intel (in my case, ebuild /path/to/xf86-video-intel-2.19.0.ebuild install ) Note in the build log that XvMC support is disabled and not built: line 177: checking whether to include XvMC support... no
I've added the xcb-util dep in all relevant ebuilds, though without any revbumps as I didn't feel like forcing a rebuild on all users. Feel free to convince me otherwise :) Still waiting to patch the -9999 ebuild in the overlay, I can't access the repo right now. Keeping it open until then (unless someone else beats me to it). Cheers
(In reply to comment #4) > I've added the xcb-util dep in all relevant ebuilds, though without any > revbumps as I didn't feel like forcing a rebuild on all users. Feel free to > convince me otherwise :) > > Still waiting to patch the -9999 ebuild in the overlay, I can't access the > repo right now. Keeping it open until then (unless someone else beats me to > it). > > Cheers It was fixed in the overlay too. Not sure when. Marking fixed.