Subject: Unable to build xsrc
To: None <netbsd-users@netbsd.org>
From: Ian Thomas <ipthomas@mac.com>
List: netbsd-users
Date: 06/10/2004 13:14:40
	I'm currently unable to build XFree86 4.4 using xsrc.  Here are the 
errors when the failure occurs.

#    create  GL/glapi_x86.d
CC=/home/ipt/src/netbsd/tools/bin/i386--netbsdelf-gcc 
/home/ipt/src/netbsd/tools/bin/nbmkdep -f glapi_x86.d --      
-I/home/ipt/src/netbsd/dest/usr/X11R6/include/X11  
-I/home/ipt/src/netbsd/dest/usr/X11R6/include/X11/extensions  
-I/usr/src/xsrc/xfree/xc/lib/GL/include  
-I/usr/src/xsrc/xfree/xc/extras/Mesa/src  -DXTHREADS -D_REENTRANT 
-DXUSE_MTSAFE_API  -DXNO_MTSAFE_PWDAPI -DUSE_NBSD_THREADLIB -DGLXEXT 
-DGLX_USE_MESA -DCSRG_BASED -DFUNCPROTO=15
-DNARROWPROTO -I/home/ipt/src/netbsd/dest/usr/X11R6/include   -nostdinc 
-isys
tem /home/ipt/src/netbsd/dest/usr/include -DUSE_X86_ASM 
-traditional-cpp   /usr/src/xsrc/xfree/xc/lib/GL/glx/glapi_x86.S
/usr/src/xsrc/xfree/xc/lib/GL/glx/glapi_x86.S:2: assyntax.h: No such 
file or directory
/usr/src/xsrc/xfree/xc/lib/GL/glx/glapi_x86.S:3: ../glapioffsets.h: No 
such file or directory
nbmkdep: compile failed.

*** Failed target:  glapi_x86.d
*** Failed command: 
CC=/home/ipt/src/netbsd/tools/bin/i386--netbsdelf-gcc 
/home/ipt/src/netbsd/tools/bin/nbmkdep -f glapi_x86.d -- 
-I/home/ipt/src/netbsd/dest/usr/X11R6/include/X11 
-I/home/ipt/src/netbsd/dest/usr/X11R6/include/X11/extensions 
-I/usr/src/xsrc/xfree/xc/lib/GL/include 
-I/usr/src/xsrc/xfree/xc/extras/Mesa/src -DXTHREADS -D_REENTRANT 
-DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI
-DUSE_NBSD_THREADLIB -DGLXEXT -DGLX_USE_MESA -DCSRG_BASED 
-DFUNCPROTO=15 -DNARROWPROTO 
-I/home/ipt/src/netbsd/dest/usr/X11R6/include -nostdinc -isystem 
/home/ipt/src/netbsd/dest/usr/include -DUSE_X86_ASM -traditional-cpp 
/usr/src/xsrc/xfree/xc/lib/GL/glx/glapi_x86.S
*** Error code 1

Stop.
nbmake: stopped in /usr/src/x11/lib/GL

*** Failed target:  do-lib-GL
*** Failed command: (cd /usr/src/x11/lib/GL && 
/home/ipt/src/netbsd/tools/bin/nbmake dependall)
*** Error code 1

Stop.
nbmake: stopped in /usr/src/x11
*** Failed target:  build
*** Failed command: (cd /usr/src/x11 && 
/home/ipt/src/netbsd/tools/bin/nbmake do-lib-GL)
*** Error code 1

Stop.
nbmake: stopped in /usr/src/x11

*** Failed target:  do-x11
*** Failed command: (cd /usr/src/x11 && 
/home/ipt/src/netbsd/tools/bin/nbmake build)
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: (cd /usr/src && 
/home/ipt/src/netbsd/tools/bin/nbmake do-x11)
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  distribution
*** Failed command: (cd /usr/src && 
/home/ipt/src/netbsd/tools/bin/nbmake NOPOSTINSTALL=1 build)
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution

	I ran the following to build xsrc

./build.sh -U -x -D /path/to/my/dist distribution

	It seems that everything before X built fine.  Am I now able to run

./build.sh -U install=/

	and have the system updated or do I have to rerun build.sh without the 
'-x' flag?  I'm running 2.0_BETA and just recently updated xsrc via 
cvs.  Should I have posted this to current-users instead?


Ian P. Thomas