Subject: build.sh failed
To: None <current-users@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: current-users
Date: 11/11/2003 20:11:09
Host platform: NetBSD-1.6.1-stable/i386 installed from binary sets without 
futher re-compilation.
Target platform: NetBSD-current/i386
Code tree: complete NetBSD-current CVS-ed from netbsd.org at 10/10/2003.

"cd /usr/src-current/src"
"$./build.sh release"

--- cut ---
#   compile  hp300.lo
cc -O -I. -I/usr/src-current/src/tools/installboot -I/usr/src-current/src/
tools/installboot/../mips-elf2ecoff -I/usr/src-current/src/tools/compat/obj 
-I/usr/src-current/src/tools/compat/obj/include  -I/usr/src-current/src/
tools/installboot/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64 
-D_NETBSD_SOURCE  -I/usr/src-current/src/tools/installboot/../../usr.sbin/
installboot -I. -c -o hp300.lo.o /usr/src-current/src/tools/
installboot/../../usr.sbin/installboot/arch/hp300.c
In file included from /usr/src-current/src/tools/installboot/../../usr.sbin/
installboot/installboot.h:44,
                 from /usr/src-current/src/tools/installboot/../../usr.sbin/
installboot/arch/hp300.c:63:
/usr/src-current/src/tools/installboot/../../usr.sbin/installboot/../../sys/
sys/bootblock.h:288: redefinition of `struct mbr_partition'

*** Failed target:  hp300.lo
*** Failed command: cc -O -I. -I/usr/src-current/src/tools/installboot -I/usr/
src-current/src/tools/installboot/../mips-elf2ecoff -I/usr/src-current/src/
tools/compat/obj -I/usr/src-current/src/tools/compat/obj/include -I/usr/
src-current/src/tools/installboot/../compat -DHAVE_NBTOOL_CONFIG_H=1 
-D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -I/usr/src-current/src/tools/
installboot/../../usr.sbin/installboot -I. -c -o hp300.lo.o /usr/src-current/
src/tools/installboot/../../usr.sbin/installboot/arch/hp300.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src-current/src/tools/installboot

*** Failed target:  dependall
*** Failed command: cd /usr/src-current/src/tools/installboot; /usr/
src-current/src/obj/tooldir.NetBSD-1.6.1-i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src-current/src/tools/installboot

*** Failed target:  dependall-installboot
*** Failed command: targ=dependall;dir=installboot; case "$dir" in /*) echo 
"$targ ===> $dir"; cd "$dir"; /usr/src-current/src/obj/
tooldir.NetBSD-1.6.1-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo 
"$targ ===> $dir"; cd "/usr/src-current/src/tools/$dir"; /usr/src-current/
src/obj/tooldir.NetBSD-1.6.1-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /usr/src-current/src/tools

*** Failed target:  do-tools
*** Failed command: (cd /usr/src-current/src/tools && /usr/src-current/src/
obj/tooldir.NetBSD-1.6.1-i386/bin/nbmake dependall)
*** Error code 1

Stop.
nbmake: stopped in /usr/src-current/src

*** Failed target:  build
*** Failed command: (cd /usr/src-current/src && /usr/src-current/src/obj/
tooldir.NetBSD-1.6.1-i386/bin/nbmake do-tools)
*** Error code 1

Stop.
nbmake: stopped in /usr/src-current/src

*** Failed target:  release
*** Failed command: (cd /usr/src-current/src && /usr/src-current/src/obj/
tooldir.NetBSD-1.6.1-i386/bin/nbmake NOPOSTINSTALL=1 build)
*** Error code 1

Stop.
nbmake: stopped in /usr/src-current/src

ERROR: Failed to make release
*** BUILD ABORTED ***
--- cut ---

Any ideas ?

// wbr

---
JSC Novosibirsk Geophysical Equipment Development Center.
WEB http://www.megasignal.com