Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156397 - USE="xcb" mesa-6.5.1-r2 fails with USE="-xcb" libX11
Summary: USE="xcb" mesa-6.5.1-r2 fails with USE="-xcb" libX11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-27 04:28 UTC by Priit Laes (IRC: plaes)
Modified: 2006-12-06 20:25 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 Priit Laes (IRC: plaes) 2006-11-27 04:28:23 UTC
mesa fails with:
[snip]
glxext.c:67:26: error: X11/Xlib-xcb.h: No such file or directory
glxext.c:712: warning: initialization from incompatible pointer type
glxext.c:714: warning: initialization from incompatible pointer type
glxext.c:719: warning: initialization from incompatible pointer type
glxext.c:722: warning: initialization from incompatible pointer type
glxext.c: In function '__glXFlushRenderBuffer':
glxext.c:1287: warning: initialization makes pointer from integer without a cast
glxext.c: In function '__glXSendLargeChunk':
glxext.c:1338: warning: initialization makes pointer from integer without a cast
make[3]: *** [glxext.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.1-r2/work/Mesa-6.5.1/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.1-r2/work/Mesa-6.5.1/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.1-r2/work/Mesa-6.5.1'
make: *** [linux-dri-x86] Error 2


Probably it should check whether libX11 was build with xcb
Comment 1 Priit Laes (IRC: plaes) 2006-11-27 04:47:51 UTC
Yeah... re-emerging libX11 with xcb USE flag fixed the problem.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-11-27 14:17:56 UTC
Yeah, I noticed this the other day. We'll have to add a built_with_use() check to mesa pkg_setup() for USE=xcb libX11.
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2006-12-06 20:25:12 UTC
This should be fixed in 6.5.1-r4.