NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xsrc/48863 (build.sh fails to build)



I did the following, but the build failed.


# cat /etc/mk.conf 
MKDEBUG=                        yes
MKDEBUGLIB=                     yes
MKTTINTERP=                     yes
NOCLEANDIR=                     yes

# rm -fr /usr/obj/* /usr/tools/*
# cd /usr/src && make cleandir
# cd /usr/xsrc && make cleandir
# cd /usr/src && cvs update -dP -r netbsd-6-0
# cd /usr/xsrc && cvs update -dP -r netbsd-6-0
# cat /usr/src/CVS/Tag
Tnetbsd-6-0

# cat /usr/xsrc/CVS/Tag
Tnetbsd-6-0

# cd /usr/src && ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc -U -u -x 
tools
# cd /usr/src && ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc -U -u -x 
kernel=GENERIC
# cd /usr/src && ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc -U -u -x 
release


This is the log of the operations:


===> build.sh command:    ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc -U 
-u -x tools
===> build.sh started:    Sun Jun 22 11:14:12 CEST 2014
===> NetBSD version:      6.0.5_PATCH
===> MACHINE:             i386
===> MACHINE_ARCH:        i386
===> Build platform:      NetBSD 6.1.4_PATCH i386
===> HOST_SH:             /bin/sh
===> No $TOOLDIR/bin/nbmake, needs building.
===> Bootstrapping nbmake
checking for sh... /bin/sh
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no

[...]

/usr/tools/bin/i486--netbsdelf-ld -Map netbsd.map --cref -T 
/usr/src/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd 
${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
NetBSD 6.0.5_PATCH (GENERIC) #0: Sun Jun 22 11:51:50 CEST 2014
   text    data     bss     dec     hex filename
11264819         563676  464796 12293291         bb94ab netbsd

===> Kernels built from GENERIC:
  /usr/obj/sys/arch/i386/compile/GENERIC/netbsd
===> build.sh ended:      Sun Jun 22 11:51:56 CEST 2014
===> Summary of results:
         build.sh command:    ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc 
-U -u -x kernel=GENERIC
         build.sh started:    Sun Jun 22 11:35:16 CEST 2014
         NetBSD version:      6.0.5_PATCH
         MACHINE:             i386
         MACHINE_ARCH:        i386
         Build platform:      NetBSD 6.1.4_PATCH i386
         HOST_SH:             /bin/sh
         TOOLDIR path:        /usr/tools
         DESTDIR path:        /usr/obj/destdir.i386
         RELEASEDIR path:     /usr/obj/releasedir
         Updated makewrapper: /usr/tools/bin/nbmake-i386
         Building kernel without building new tools
         Building kernel:     GENERIC
         Build directory:     /usr/obj/sys/arch/i386/compile/GENERIC
         Kernels built from GENERIC:
          /usr/obj/sys/arch/i386/compile/GENERIC/netbsd
         build.sh ended:      Sun Jun 22 11:51:56 CEST 2014
===> .
===> build.sh command:    ./build.sh -O /usr/obj -T /usr/tools -X /usr/xsrc -U 
-u -x release
===> build.sh started:    Sun Jun 22 11:52:05 CEST 2014
===> NetBSD version:      6.0.5_PATCH
===> MACHINE:             i386
===> MACHINE_ARCH:        i386
===> Build platform:      NetBSD 6.1.4_PATCH i386
===> HOST_SH:             /bin/sh
===> TOOLDIR path:        /usr/tools
===> DESTDIR path:        /usr/obj/destdir.i386
===> RELEASEDIR path:     /usr/obj/releasedir
===> Updated makewrapper: /usr/tools/bin/nbmake-i386
distribution ===> .
build ===> .    (with: NOPOSTINSTALL=1)
Build started at: Sun Jun 22 11:52:06 CEST 2014
check-tools ===> .
do-top-obj ===> .
obj ===> .      (with: NOSUBDIR=)
do-tools-obj ===> .

[...]

#   compile  libXt/Object.go
/usr/tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Werror   
-fno-strict-aliasing  --sysroot=/usr/obj/destdir.i386  
-I/usr/obj/destdir.i386/usr/X11R7/include/X11 -DUSE_POLL -DUSE_SNPRINTF -DLIBXT 
-I.  -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-I/usr/obj/destdir.i386/usr/X11R7/include -c -DDEBUG    -g 
/usr/xsrc/external/mit/libXt/dist/src/Object.c -o Object.go
#   compile  libXt/PassivGrab.go
/usr/tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Werror   
-fno-strict-aliasing  --sysroot=/usr/obj/destdir.i386  
-I/usr/obj/destdir.i386/usr/X11R7/include/X11 -DUSE_POLL -DUSE_SNPRINTF -DLIBXT 
-I.  -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-I/usr/obj/destdir.i386/usr/X11R7/include -c -DDEBUG    -g 
/usr/xsrc/external/mit/libXt/dist/src/PassivGrab.c -o PassivGrab.go
#   compile  libXt/Pointer.go
/usr/tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Werror   
-fno-strict-aliasing  --sysroot=/usr/obj/destdir.i386  
-I/usr/obj/destdir.i386/usr/X11R7/include/X11 -DUSE_POLL -DUSE_SNPRINTF -DLIBXT 
-I.  -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-I/usr/obj/destdir.i386/usr/X11R7/include -c -DDEBUG    -g 
/usr/xsrc/external/mit/libXt/dist/src/Pointer.c -o Pointer.go
#   compile  libXt/Popup.go
/usr/tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Werror   
-fno-strict-aliasing  --sysroot=/usr/obj/destdir.i386  
-I/usr/obj/destdir.i386/usr/X11R7/include/X11 -DUSE_POLL -DUSE_SNPRINTF -DLIBXT 
-I.  -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-I/usr/obj/destdir.i386/usr/X11R7/include -c -DDEBUG    -g 
/usr/xsrc/external/mit/libXt/dist/src/Popup.c -o Popup.go
#   compile  libXt/PopupCB.go
/usr/tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Werror   
-fno-strict-aliasing  --sysroot=/usr/obj/destdir.i386  
-I/usr/obj/destdir.i386/usr/X11R7/include/X11 -DUSE_POLL -DUSE_SNPRINTF -DLIBXT 
-I.  -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-I/usr/obj/destdir.i386/usr/X11R7/include -c -DDEBUG    -g 
/usr/xsrc/external/mit/libXt/dist/src/PopupCB.c -o PopupCB.go
#   compile  libXt/RectObj.go
/usr/tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Werror   
-fno-strict-aliasing  --sysroot=/usr/obj/destdir.i386  
-I/usr/obj/destdir.i386/usr/X11R7/include/X11 -DUSE_POLL -DUSE_SNPRINTF -DLIBXT 
-I.  -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-I/usr/obj/destdir.i386/usr/X11R7/include -c -DDEBUG    -g 
/usr/xsrc/external/mit/libXt/dist/src/RectObj.c -o RectObj.go
#   compile  libXt/ResConfig.go
/usr/tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Werror   
-fno-strict-aliasing  --sysroot=/usr/obj/destdir.i386  
-I/usr/obj/destdir.i386/usr/X11R7/include/X11 -DUSE_POLL -DUSE_SNPRINTF -DLIBXT 
-I.  -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-I/usr/obj/destdir.i386/usr/X11R7/include -c -DDEBUG    -g 
/usr/xsrc/external/mit/libXt/dist/src/ResConfig.c -o ResConfig.go
*** Error code 1

Stop.
nbmake: stopped in /usr/src/external/mit/xorg/lib/libXt
*** Error code 1

Stop.
nbmake: stopped in /usr/src/external/mit/xorg/lib/libXt
*** Error code 1

Stop.
nbmake: stopped in /usr/src/external/mit/xorg/lib
*** Error code 1

Stop.
nbmake: stopped in /usr/src/external/mit/xorg
*** Error code 1

Stop.
nbmake: stopped in /usr/src/external/mit/xorg
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src


Home | Main Index | Thread Index | Old Index