Bug 4364

Summary: X.org CVS doesn't build.
Product: xorg Reporter: Samuli Suominen <drac>
Component: * OtherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Samuli Suominen 2005-09-06 01:13:51 UTC
I'm sorry but [Search] function in this bugzilla seems to be down(?) and I don't 
know if this is posted or not. 

X.org CVS is broken, tried direct approach and fluidportage cvs livebuild in 
gentoo. Both resulted this about grammar_mesa.o:

make[5]: Entering directory `/var/tmp/portage/xorg-x11-20101010/work/xc/lib/GL/
GL'
rm -f libGL.a
ar clq libGL.a ../../../lib/GL/glx/unshared/?*.o ../../../lib/GL/glx/glapi_x86.o 
  ../../../lib/GL/dri/drm/unshared/?*.o
ranlib libGL.a
rm -f ../../../exports/lib/libGL.a
cd ../../../exports/lib && ln -s ../../lib/GL/GL/libGL.a .
rm -f libGL.so.1.2~
+ cd .
+ i686-pc-linux-gnu-gcc -o ./libGL.so.1.2~ -shared -Wl,-Bsymbolic -Wl,-soname,
libGL.so.1 ../../../lib/GL/glx/XF86dri.o ../../../lib/GL/glx/clientattrib.o ../
../../lib/GL/glx/compsize.o ../../../lib/GL/glx/dispatch.o ../../../lib/GL/glx/
dri_glx.o ../../../lib/GL/glx/eval.o ../../../lib/GL/glx/glapi.o ../../../lib/
GL/glx/glapi_x86.o ../../../lib/GL/glx/glcontextmodes.o ../../../lib/GL/glx/
glthread.o ../../../lib/GL/glx/glx_pbuffer.o ../../../lib/GL/glx/glx_query.o ..
/../../lib/GL/glx/glx_texture_compression.o ../../../lib/GL/glx/glxcmds.o ../..
/../lib/GL/glx/glxext.o ../../../lib/GL/glx/glxextensions.o ../../../lib/GL/glx/
indirect.o ../../../lib/GL/glx/indirect_init.o ../../../lib/GL/glx/
indirect_size.o ../../../lib/GL/glx/indirect_transpose_matrix.o ../../../lib/GL/
glx/indirect_vertex_array.o ../../../lib/GL/glx/indirect_vertex_program.o ../..
/../lib/GL/glx/indirect_window_pos.o ../../../lib/GL/glx/pixel.o ../../../lib/
GL/glx/pixelstore.o ../../../lib/GL/glx/render2.o ../../../lib/GL/glx/renderpix.
o ../../../lib/GL/glx/single2.o ../../../lib/GL/glx/singlepix.o ../../../lib/GL/
glx/vertarr.o ../../../lib/GL/glx/xfont.o ../../../lib/GL/dri/drm/xf86drm.o ../
../../lib/GL/dri/drm/xf86drmHash.o ../../../lib/GL/dri/drm/xf86drmRandom.o ../
../../lib/GL/dri/drm/xf86drmSL.o -lpthread -L../../../exports/lib -lXxf86vm -L
../../../exports/lib -lXext -lX11 -ldl -lc
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
warning: creating a DT_TEXTREL in object.
+ rm -f libGL.so.1
+ ln -s libGL.so.1.2 libGL.so.1
+ '[' -d ../../../exports/lib ']'
+ :
+ set -x
+ rm -f ../../../exports/lib/libGL.so.1
+ cd ../../../exports/lib
+ ln -s ../../lib/GL/GL/libGL.so.1 .
rm -f libGL.so.1.2
mv -f libGL.so.1.2~ libGL.so.1.2
+ rm -f libGL.so
+ ln -s libGL.so.1.2 libGL.so
rm -f ../../../exports/lib/libGL.so.1.2
cd ../../../exports/lib && ln -s ../../lib/GL/GL/libGL.so.1.2 .
+ rm -f ../../../exports/lib/libGL.so
+ cd ../../../exports/lib
+ ln -s ../../lib/GL/GL/libGL.so .
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-20101010/work/xc/lib/GL/
GL'
making all in lib/GL/mesa/drivers/osmesa...
make[5]: Entering directory `/var/tmp/portage/xorg-x11-20101010/work/xc/lib/GL/
mesa/drivers/osmesa'
rm -f osmesa.o unshared/osmesa.o
i686-pc-linux-gnu-gcc -c -ansi -Wno-return-type -w  -I../../../../../exports/
include/X11 -I../../../../../include/extensions -I../../../../../extras/Mesa/
src/mesa              -I../../../../../extras/Mesa/src/mesa/glapi             -
I../../../../../extras/Mesa/src/mesa/shader           -I../../../../../extras/
Mesa/src/mesa/main               -I../../../../../extras/Mesa/include -I../../..
/../../lib/GL/include  -I../../../../.. -I../../../../../exports/include   -
Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                               -
D_POSIX_SOURCE -D_XOPEN_SOURCE-D_BSD_SOURCE -D_SVID_SOURCE                       
          -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                           -
D_GNU_SOURCE                            -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  
-D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL    -march=athlon-xp -
O2 -pipe -fomit-frame-pointer -fno-strict-aliasing   osmesa.c -o unshared/
osmesa.o
rm -f osmesa.o
i686-pc-linux-gnu-gcc -c -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fno-
strict-aliasing  -ansi -Wno-return-type -w  -I../../../../../exports/include/X11 
-I../../../../../include/extensions -I../../../../../extras/Mesa/src/mesa        
        -I../../../../../extras/Mesa/src/mesa/glapi             -I../../../../..
/extras/Mesa/src/mesa/shader            -I../../../../../extras/Mesa/src/mesa/
main              -I../../../../../extras/Mesa/include             -I../../../..
/../lib/GL/include  -I../../../../.. -I../../../../../exports/include   -Dlinux 
-D__i386__ -D_POSIX_C_SOURCE=199309L                              -
D_POSIX_SOURCE -D_XOPEN_SOURCE                -D_BSD_SOURCE -D_SVID_SOURCE       
                          -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64             
              -D_GNU_SOURCE                            -DFUNCPROTO=15 -
DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -
DMALLOC_0_RETURNS_NULL      -fPIC osmesa.crm -f driverfuncs.o unshared/
driverfuncs.o
i686-pc-linux-gnu-gcc -c -ansi -Wno-return-type -w  -I../../../../../exports/
include/X11 -I../../../../../include/extensions -I../../../../../extras/Mesa/
src/mesa              -I../../../../../extras/Mesa/src/mesa/glapi             -
I../../../../../extras/Mesa/src/mesa/shader           -I../../../../../extras/
Mesa/src/mesa/main               -I../../../../../extras/Mesa/include -I../../..
/../../lib/GL/include  -I../../../../.. -I../../../../../exports/include   -
Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                               -
D_POSIX_SOURCE -D_XOPEN_SOURCE-D_BSD_SOURCE -D_SVID_SOURCE                       
          -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                           -
D_GNU_SOURCE                            -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  
-D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL    -march=athlon-xp -
O2 -pipe -fomit-frame-pointer -fno-strict-aliasing   driverfuncs.c -o unshared/
driverfuncs.o
rm -f driverfuncs.o
i686-pc-linux-gnu-gcc -c -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fno-
strict-aliasing  -ansi -Wno-return-type -w  -I../../../../../exports/include/X11 
-I../../../../../include/extensions -I../../../../../extras/Mesa/src/mesa        
        -I../../../../../extras/Mesa/src/mesa/glapi             -I../../../../..
/extras/Mesa/src/mesa/shader            -I../../../../../extras/Mesa/src/mesa/
main              -I../../../../../extras/Mesa/include             -I../../../..
/../lib/GL/include  -I../../../../.. -I../../../../../exports/include   -Dlinux 
-D__i386__ -D_POSIX_C_SOURCE=199309L                              -
D_POSIX_SOURCE -D_XOPEN_SOURCE                -D_BSD_SOURCE -D_SVID_SOURCE       
                          -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64             
              -D_GNU_SOURCE                            -DFUNCPROTO=15 -
DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -
DMALLOC_0_RETURNS_NULL      -fPIC driverfuncs.c
make[5]: *** No rule to make target `grammar_mesa.o', needed by `DONE'.  Stop.
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-20101010/work/xc/lib/GL/
mesa/drivers/osmesa'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-20101010/work/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-20101010/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-20101010/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-20101010/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-20101010 failed.
!!! Function build, Line 974, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.

drac ~ # find /var/tmp/portage -name grammar_mesa.o
/var/tmp/portage/xorg-x11-20101010/work/xc/lib/GL/mesa/shader/grammar/unshared/
grammar_mesa.o
/var/tmp/portage/xorg-x11-20101010/work/xc/lib/GL/mesa/shader/grammar/
grammar_mesa.o
drac ~ #
Comment 1 Colin Harrison 2005-09-06 02:07:43 UTC
Duplicate of 4349 
Comment 2 Samuli Suominen 2005-09-06 06:05:06 UTC

*** This bug has been marked as a duplicate of 4349 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.