xorg-server-1.7.2 fails to build due to compile errors involving undeclared identifiers in indirect_size_get.c. Reproducible: Always Steps to Reproduce: 1. emerge =x11-base/xorg-server-1.7.2 Actual Results: ... Making all in glx CC indirect_dispatch.o CC indirect_dispatch_swap.o CC indirect_reqsize.o CC indirect_size_get.o indirect_size_get.c: In function '__glGetBooleanv_size': indirect_size_get.c:709: error: 'GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT' undeclared (first use in this function) indirect_size_get.c:709: error: (Each undeclared identifier is reported only once indirect_size_get.c:709: error: for each function it appears in.) indirect_size_get.c:728: error: 'GL_MAX_ARRAY_TEXTURE_LAYERS_EXT' undeclared (first use in this function) indirect_size_get.c:731: error: 'GL_TEXTURE_BINDING_1D_ARRAY_EXT' undeclared (first use in this function) indirect_size_get.c:732: error: 'GL_TEXTURE_BINDING_2D_ARRAY_EXT' undeclared (first use in this function) Expected Results: xorg-server should compile. emerge -pv shows use flags as: USE="debug hal kdrive nptl sdl xorg -dmx -ipv6 -minimal -tslib"
Created attachment 211516 [details] emerge --info
Attach build.log and config.log.
Created attachment 211540 [details] Build.log
Created attachment 211542 [details] Config.log
Perhaps an eselect-opengl problem. What does 'ls -l /usr/include/GL/gl.h' print ?
Also, what's your version of mesa ?
Either you have stray files in /usr/local or eselect-opengl failed to select "xorg-x11". Please also provide the info Rafał asked for. Thanks
Requested info: lrwxrwxrwx 1 root root 38 Nov 29 08:42 /usr/include/GL/gl.h -> ../../lib/opengl/xorg-x11/include/gl.h # cd /usr/include/GL # cd ../../lib/opengl/xorg-x11/include # ls -l total 712 -rw-r--r-- 1 root root 91011 Sep 30 01:22 gl.h -rw-r--r-- 1 root root 467729 Sep 30 01:22 glext.h -rw-r--r-- 1 root root 17155 Sep 30 01:22 glx.h -rw-r--r-- 1 root root 34142 Sep 30 01:22 glxext.h -rw-r--r-- 1 root root 2086 Jun 20 06:46 glxmd.h -rw-r--r-- 1 root root 77516 Jun 20 06:46 glxproto.h -rw-r--r-- 1 root root 10237 Jun 20 06:46 glxtokens.h Though I suspect the problem may have been /usr/local as suggested. I normally use a wrapper to hide /usr/local during emerges (due to past encounters with this problem) but was not doing so in this case with respect to xorg-server-1.7.2. But today's "world" seems to not include 1.7.2 (perhaps due to other bugs encountered building various drivers) so I'll wait until it pops back into the tree.