Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352573 - >=x11-drivers/xf86-video-intel-2.10.0-r1 XvMC support requires xcb-util
Summary: >=x11-drivers/xf86-video-intel-2.10.0-r1 XvMC support requires xcb-util
Status: RESOLVED FIXED
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: 2011-01-24 08:19 UTC by William Pettersson
Modified: 2012-09-12 02:47 UTC (History)
1 user (show)

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


Attachments
build log of xf86-video-intel-2.19.0 when xcb-util is not emerged (xf86-video-intel-build.log,106.23 KB, text/plain)
2012-07-04 14:10 UTC, Ian Stakenvicius (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Pettersson 2011-01-24 08:19:19 UTC
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
Comment 1 Matt Turner gentoo-dev 2011-07-30 02:58:06 UTC
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.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2012-07-04 13:35:05 UTC
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)
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2012-07-04 14:10:35 UTC
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
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2012-07-04 22:48:06 UTC
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
Comment 5 Matt Turner gentoo-dev 2012-09-12 02:47:42 UTC
(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.