Subject: evbarm tools build failed
To: None <tech-userlevel@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: current-users
Date: 06/23/2004 01:09:39
# uname -a
NetBSD NBSD1 2.0_BETA NetBSD 2.0_BETA (NBSD1) #1: Tue Jun 15 15:33:23 NOVST 
2004  ianzag@NBSD1:/usr/src/sys/arch/i386/compile/NBSD1 i386

Completely updated from CVS several minutes ago.

build.sh -m evbarm tools

---cut---
===> build.sh command: ./build.sh -m evbarm tools
===> build.sh started: Wed Jun 23 01:06:10 NOVST 2004
===> No nonexistent/bin/nbmake, needs building.
===> Bootstrapping nbmake

[skip]

#    create  cap_mkdb/.depend
rm -f .depend
/usr/src/tooldir.NetBSD-2.0_BETA-i386/bin/nbhost-mkdep -d -f .depend 
-s .lo\ .ln cap_mkdb.d getcap.d
#   compile  cap_mkdb/cap_mkdb.lo
cc -O -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include  
-I/usr/src/tools/cap_mkdb/../compat -DHAVE_NBTOOL_CONFIG_H=1  
-D_FILE_OFFSET_BITS=64  -c -o 
cap_mkdb.lo.o    /usr/src/usr.bin/cap_mkdb/cap_mkdb.c
/usr/src/usr.bin/cap_mkdb/cap_mkdb.c: In function `db_build':
/usr/src/usr.bin/cap_mkdb/cap_mkdb.c:175: warning: passing arg 2 of 
`__nbcompat_cgetnext' from incompatible pointer type
mv cap_mkdb.lo.o cap_mkdb.lo
#   compile  cap_mkdb/getcap.lo
cc -O -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include  
-I/usr/src/tools/cap_mkdb/../compat -DHAVE_NBTOOL_CONFIG_H=1  
-D_FILE_OFFSET_BITS=64  -c -o getcap.lo.o    /usr/src/lib/libc/gen/getcap.c
/usr/src/lib/libc/gen/getcap.c: In function `__nbcompat_cgetent':
/usr/src/lib/libc/gen/getcap.c:214: error: argument `db_array' doesn't match 
prototype
/usr/src/tools/compat/compat_defs.h:517: error: prototype declaration
/usr/src/lib/libc/gen/getcap.c: In function `__nbcompat_cgetfirst':
/usr/src/lib/libc/gen/getcap.c:728: error: argument `db_array' doesn't match 
prototype
/usr/src/tools/compat/compat_defs.h:518: error: prototype declaration
/usr/src/lib/libc/gen/getcap.c:734: warning: passing arg 2 of 
`__nbcompat_cgetnext' from incompatible pointer type
/usr/src/lib/libc/gen/getcap.c: In function `__nbcompat_cgetnext':
/usr/src/lib/libc/gen/getcap.c:763: error: argument `db_array' doesn't match 
prototype
/usr/src/tools/compat/compat_defs.h:520: error: prototype declaration

*** Failed target:  getcap.lo
*** Failed command: cc -O -I/usr/src/tools/compat/obj 
-I/usr/src/tools/compat/obj/include -I/usr/src/tools/cap_mkdb/../compat 
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -c -o 
getcap.lo.o /usr/src/lib/libc/gen/getcap.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/cap_mkdb

*** Failed target:  dependall
*** Failed command: 
cd /usr/src/tools/cap_mkdb; /usr/src/tooldir.NetBSD-2.0_BETA-i386/bin/nbmake 
realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/cap_mkdb

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

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

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

Any ideas ?

// wbr