Subject: fail to build 1.6 on current
To: None <tech-toolchain@NetBSD.org>
From: Florent Parent <Florent.Parent@hexago.com>
List: tech-toolchain
Date: 02/24/2005 10:40:14
Hi,
I'm running -current (2.99.15) on which I have sources for 1.6
(netbsd-1-6-RELEASE) and 1.6.2 netbsd-1-6-PATCH002. I fail to build
the system tools for either these trees. Build fails differently for
each.
Build output below. Is this a known problem? Any way around this?
Thanks
Florent
=================================
Using NetBSD 1.6 sources from CVS
./build -t
...
/home/parent/src/netbsd/1.6/src/tools/obj/tools.NetBSD-2.99.15-i386/bin/nbhost-mkdep
-a -I. -I./include -I/home/parent/src/netbsd/1.6/src/tools/compat
-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/basename.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/dirname.c
/home/parent/src/netbsd/1.6/src/tools/compat/fgetln.c
/home/parent/src/netbsd/1.6/src/tools/compat/flock.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libutil/fparseln.c
/home/parent/src/netbsd/1.6/src/tools/compat/getmode.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/stdlib/getopt_long.c
/home/parent/src/netbsd/1.6/src/tools/compat/issetugid.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../usr.bin/lex/libyywrap.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/md/md2c.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/md/md2hl.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/md/md4c.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/md/md4hl.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/md/md5c.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/md/md5hl.c
/home/parent/src/netbsd/1.6/src/tools/compat/pread.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/pwcache.c
/home/parent/src/netbsd/1.6/src/tools/compat/pwrite.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/pw_scan.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/hash/rmd160.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/hash/rmd160hl.c
/home/parent/src/netbsd/1.6/src/tools/compat/setenv.c
/home/parent/src/netbsd/1.6/src/tools/compat/setgroupent.c
/home/parent/src/netbsd/1.6/src/tools/compat/setpassent.c
/home/parent/src/netbsd/1.6/src/tools/compat/setprogname.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/hash/sha1.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/hash/sha1hl.c
/home/parent/src/netbsd/1.6/src/tools/compat/snprintf.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/string/strlcat.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/string/strlcpy.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/string/strmode.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/string/strsep.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/unvis.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/vis.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/_err.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/_errx.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/_verr.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/_verrx.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/_vwarn.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/_vwarnx.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/_warn.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/_warnx.c/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/gen/__fts13.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_close.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_conv.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_debug.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_delete.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_get.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_open.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_overflow.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_page.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_put.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_search.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_seq.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_split.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/btree/bt_utils.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/db/db.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/hash/hash.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/hash/hash_bigkey.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/hash/hash_buf.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/hash/hash_func.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/hash/hash_log2.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/hash/hash_page.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/mpool/mpool.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/recno/rec_close.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/recno/rec_delete.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/recno/rec_get.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/recno/rec_open.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/recno/rec_put.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/recno/rec_search.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/recno/rec_seq.c
/home/parent/src/netbsd/1.6/src/tools/compat/../../lib/libc/db/recno/rec_utils.c
nbmake: don't know how to make <built-in>. Stop
nbmake: stopped in /home/parent/src/netbsd/1.6/src/tools/compat
*** Error code 2
Stop.
nbmake: stopped in /home/parent/src/netbsd/1.6/src/tools/compat
*** Error code 1
Stop.
nbmake: stopped in /home/parent/src/netbsd/1.6/src/tools
=========================================================
Using NetBSD 1.6.2 sources from CVS (netbsd-1-6-PATCH002)
./build.sh -t
...
cc -O -I/home/parent/src/netbsd/1.6.2/src/tools/compat/obj
-I/home/parent/src/netbsd/1.6.2/src/tools/compat/obj/include
-I/home/parent/src/netbsd/1.6.2/src/tools/cap_mkdb/../compat
-DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -c -o getcap.lo.o
/home/parent/src/netbsd/1.6.2/src/lib/libc/gen/getcap.c
/home/parent/src/netbsd/1.6.2/src/lib/libc/gen/getcap.c: In function
`cgetent':
/home/parent/src/netbsd/1.6.2/src/lib/libc/gen/getcap.c:213: error:
argument `db_array' doesn't match prototype
/usr/include/stdlib.h:249: error: prototype declaration
/home/parent/src/netbsd/1.6.2/src/lib/libc/gen/getcap.c: In function
`cgetfirst':
/home/parent/src/netbsd/1.6.2/src/lib/libc/gen/getcap.c:727: error:
argument `db_array' doesn't match prototype
/usr/include/stdlib.h:250: error: prototype declaration
/home/parent/src/netbsd/1.6.2/src/lib/libc/gen/getcap.c:733: warning:
passing arg 2 of `cgetnext' from incompatible pointer type
/home/parent/src/netbsd/1.6.2/src/lib/libc/gen/getcap.c: In function
`cgetnext':
/home/parent/src/netbsd/1.6.2/src/lib/libc/gen/getcap.c:762: error:
argument `db_array' doesn't match prototype
/usr/include/stdlib.h:252: error: prototype declaration
*** Error code 1
Stop.
nbmake: stopped in /home/parent/src/netbsd/1.6.2/src/tools/cap_mkdb
*** Error code 1
Stop.
nbmake: stopped in /home/parent/src/netbsd/1.6.2/src/tools/cap_mkdb
*** Error code 1
Stop.
nbmake: stopped in /home/parent/src/netbsd/1.6.2/src/tools
[pc28 src]#