Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 319331

Summary: www-client/chromium-5.0.375.38 fails to build
Product: Gentoo Linux Reporter: mjbjr
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED UPSTREAM    
Severity: normal CC: barzakouski, phajdan.jr
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://code.google.com/p/chromium/issues/detail?id=44544
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
build environment
emerge info
emerge -pqv
requested /usr/include/GL/glx.h (points to this file)

Description mjbjr 2010-05-12 07:23:16 UTC
x86_64-pc-linux-gnu-g++  -march=native -O2 -pipe -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden '-DNO_TCMALLOC' '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_GPU=1' '-DGLEW_STATIC' '-DGL_GLEXT_PROTOTYPES' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' -I. -Igpu -Ithird_party/glew/include -MMD -MF out/Release/.deps/out/Release/obj.target/command_buffer_service/gpu/command_buffer/service/framebuffer_manager.o.d.raw -c -o out/Release/obj.target/command_buffer_service/gpu/command_buffer/service/framebuffer_manager.o gpu/command_buffer/service/framebuffer_manager.cc
In file included from ./gpu/command_buffer/service/gl_utils.h:59,
                 from ./gpu/command_buffer/service/buffer_manager.h:13,
                 from gpu/command_buffer/service/buffer_manager.cc:5:
/usr/include/GL/glx.h:169: error: 'XVisualInfo* __glewXChooseVisual(Display*, int, int*)' redeclared as different kind of symbol
third_party/glew/include/GL/glxew.h:1214: error: previous declaration of 'XVisualInfo* (* __glewXChooseVisual)(Display*, int, int*)'
/usr/include/GL/glx.h:172: error: 'void __glewXCopyContext(Display*, __GLXcontextRec*, __GLXcontextRec*, long unsigned int)' redeclared as different kind of symbol
third_party/glew/include/GL/glxew.h:1220: error: previous declaration of 'void (* __glewXCopyContext)(Display*, __GLXcontextRec*, __GLXcontextRec*, GLulong)'
/usr/include/GL/glx.h:175: error: '__GLXcontextRec* __glewXCreateContext(Display*, XVisualInfo*, __GLXcontextRec*, int)' redeclared as different kind of symbol
third_party/glew/include/GL/glxew.h:1217: error: previous declaration of '__GLXcontextRec* (* __glewXCreateContext)(Display*, XVisualInfo*, __GLXcontextRec*, int)'
/usr/include/GL/glx.h:178: error: 'GLXPixmap __glewXCreateGLXPixmap(Display*, XVisualInfo*, Pixmap)' redeclared as different kind of symbol

tons of these errors
Comment 1 mjbjr 2010-05-12 07:29:14 UTC
Created attachment 231143 [details]
build log
Comment 2 mjbjr 2010-05-12 07:30:36 UTC
Created attachment 231145 [details]
build environment
Comment 3 mjbjr 2010-05-12 07:31:36 UTC
Created attachment 231147 [details]
emerge info
Comment 4 mjbjr 2010-05-12 07:33:18 UTC
Created attachment 231149 [details]
emerge -pqv
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-05-14 17:43:31 UTC
Could you post the result of "eselect opengl list", and the contents of /usr/include/GL/glx.h?
Comment 6 mjbjr 2010-05-15 06:21:29 UTC
Created attachment 231507 [details]
requested /usr/include/GL/glx.h (points to this file)

# ls -l /usr/include/GL

lrwxrwxrwx 1 root root    39 May  5 11:34 glx.h -> //usr/lib64/opengl/nvidia/include/glx.h
Comment 7 mjbjr 2010-05-15 06:23:06 UTC
(In reply to comment #5)
> Could you post the result of "eselect opengl list", and the contents of
> /usr/include/GL/glx.h?
> 

# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-05-18 14:45:13 UTC
Thanks. Could you report the bug upstream (http://new.crbug.com) and post the link here? Please copy all data from this bug to the upstream bug.
Comment 9 mjbjr 2010-05-19 09:00:06 UTC
(In reply to comment #8)
> Thanks. Could you report the bug upstream (http://new.crbug.com) and post the
> link here? Please copy all data from this bug to the upstream bug.
> 

here's the upstream link:

http://code.google.com/p/chromium/issues/detail?id=44544
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-05-19 17:38:51 UTC
Thanks, closing as "upstream". If for some reason the upstream is slow to fix that and you can find some workaround, I'm happy to include it in the ebuild.
Comment 11 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-21 07:56:32 UTC
*** Bug 324893 has been marked as a duplicate of this bug. ***
Comment 12 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-21 09:35:56 UTC
Okay, now all chromium ebuilds contain a workaround. Please sync your portage tree to get the fix. I've also blogged about the issue here: http://phajdan-jr.blogspot.com/2010/06/www-clientchromium-and-nvidia-drivers.html