Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295039 - xorg-server-1.7.2 fails to build
Summary: xorg-server-1.7.2 fails to build
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL: N/A
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 13:22 UTC by Robert Bradbury
Modified: 2009-11-30 14:04 UTC (History)
0 users

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


Attachments
emerge --info (EmrgInfo.lst,4.16 KB, text/plain)
2009-11-29 13:24 UTC, Robert Bradbury
Details
Build.log (build.log,26.52 KB, text/plain)
2009-11-29 21:34 UTC, Robert Bradbury
Details
Config.log (config.log,240.62 KB, text/plain)
2009-11-29 21:36 UTC, Robert Bradbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2009-11-29 13:22:53 UTC
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"
Comment 1 Robert Bradbury 2009-11-29 13:24:04 UTC
Created attachment 211516 [details]
emerge --info
Comment 2 Rafał Mużyło 2009-11-29 18:43:27 UTC
Attach build.log and config.log.
Comment 3 Robert Bradbury 2009-11-29 21:34:58 UTC
Created attachment 211540 [details]
Build.log
Comment 4 Robert Bradbury 2009-11-29 21:36:09 UTC
Created attachment 211542 [details]
Config.log
Comment 5 Rafał Mużyło 2009-11-30 00:37:23 UTC
Perhaps an eselect-opengl problem.
What does 'ls -l /usr/include/GL/gl.h' print ?
Comment 6 Rafał Mużyło 2009-11-30 00:38:58 UTC
Also, what's your version of mesa ?
Comment 7 Rémi Cardona gentoo-dev 2009-11-30 12:27:09 UTC
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
Comment 8 Robert Bradbury 2009-11-30 14:04:47 UTC
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.