Subject: build.sh fails in tools/file
To: None <current-users@netbsd.org>
From: Chavdar Ivanov <ci@spidersweb.co.uk>
List: current-users
Date: 12/13/2004 14:44:47
CVS update as of today. 

### Release build started at Mon Dec 13 13:17:53 GMT 2004
===> build.sh command: ./build.sh -a i386 -m i386 -j 3 -U -u -D /d/netbsd-builds/2_0/i386/destdir -R /d/netbsd-builds/2_0/i386/releasedir -O /d/obj1/netbsd-builds/2_0/i386/obj -T /d/netbsd-builds/2_0/i386/tools -x release
===> build.sh started: Mon Dec 13 13:17:53 GMT 2004
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> TOOLDIR path:     /d/netbsd-builds/2_0/i386/tools
===> DESTDIR path:     /d/netbsd-builds/2_0/i386/destdir
===> RELEASEDIR path:  /d/netbsd-builds/2_0/i386/releasedir
===> makewrapper:      /d/netbsd-builds/2_0/i386/tools/bin/nbmake-i386
===> Updated /d/netbsd-builds/2_0/i386/tools/bin/nbmake-i386
--- release ---
build ===> .	(with: NOPOSTINSTALL=1)
Build started at: Mon Dec 13 13:17:57 GMT 2004
--- dependall ---
................................................................
dependall ===> tools/db
--- dependall ---
dependall ===> tools/file
--- all ---
/d/netbsd-builds/2_0/i386/tools/bin/nbmake  -f /usr/src/tools/file/../Makefile.gnuwrap  all-recursive
--- all-recursive ---
Making all in src
--- softmagic.lo ---
if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/src/tools/file/../../dist/file/src -I..   -DMAGIC='"/d/netbsd-builds/2_0/i386/tools/share/file/magic"'   -O -MT softmagic.lo -MD -MP -MF ".deps/softmagic.Tpo"  -c -o softmagic.lo `test -f '/usr/src/dist/file/src/softmagic.c' || echo '/usr/src/tools/file/../../dist/file/src/'`/usr/src/dist/file/src/softmagic.c;  then mv -f ".deps/softmagic.Tpo" ".deps/softmagic.Plo";  else rm -f ".deps/softmagic.Tpo"; exit 1;  fi
rm -f .libs/softmagic.lo
cc -DHAVE_CONFIG_H -I. -I/usr/src/tools/file/../../dist/file/src -I.. -DMAGIC=\"/d/netbsd-builds/2_0/i386/tools/share/file/magic\" -O -MT softmagic.lo -MD -MP -MF .deps/softmagic.Tpo -c /usr/src/dist/file/src/softmagic.c  -fPIC -DPIC -DPIC -o softmagic.o
/usr/src/dist/file/src/softmagic.c: In function `mprint':
/usr/src/dist/file/src/softmagic.c:282: error: `FILE_BESTRING16' undeclared (first use in this function)
/usr/src/dist/file/src/softmagic.c:282: error: (Each undeclared identifier is reported only once
/usr/src/dist/file/src/softmagic.c:282: error: for each function it appears in.)
/usr/src/dist/file/src/softmagic.c:283: error: `FILE_LESTRING16' undeclared (first use in this function)
/usr/src/dist/file/src/softmagic.c: In function `mconvert':
/usr/src/dist/file/src/softmagic.c:434: error: `FILE_BESTRING16' undeclared (first use in this function)
/usr/src/dist/file/src/softmagic.c:435: error: `FILE_LESTRING16' undeclared (first use in this function)
/usr/src/dist/file/src/softmagic.c: In function `mcopy':
/usr/src/dist/file/src/softmagic.c:635: error: `FILE_BESTRING16' undeclared (first use in this function)
/usr/src/dist/file/src/softmagic.c:635: error: `FILE_LESTRING16' undeclared (first use in this function)
/usr/src/dist/file/src/softmagic.c: In function `mcheck':
/usr/src/dist/file/src/softmagic.c:1121: error: `FILE_BESTRING16' undeclared (first use in this function)
/usr/src/dist/file/src/softmagic.c:1122: error: `FILE_LESTRING16' undeclared (first use in this function)
*** [softmagic.lo] Error code 1
1 error

nbmake: stopped in /d/obj1/netbsd-builds/2_0/i386/obj/tools/file/build/src
*** [all-recursive] Error code 1
1 error

nbmake: stopped in /d/obj1/netbsd-builds/2_0/i386/obj/tools/file/build
*** [all] Error code 2
1 error

nbmake: stopped in /d/obj1/netbsd-builds/2_0/i386/obj/tools/file/build
*** [.build_done] Error code 2
1 error

nbmake: stopped in /usr/src/tools/file
*** [dependall] Error code 2
1 error

nbmake: stopped in /usr/src/tools/file

*** Failed target:  dependall-file
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/usr/src/tools" ;; *) this="tools/${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /d/netbsd-builds/2_0/i386/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget file dependall
*** Error code 2

Stop.
nbmake: stopped in /usr/src/tools
*** [do-tools] Error code 1
1 error

nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /d/netbsd-builds/2_0/i386/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-tools
*** Error code 2

Stop.
nbmake: stopped in /usr/src
*** [release] Error code 1
1 error

nbmake: stopped in /usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***
### Release build done at Mon Dec 13 13:23:50 GMT 2004
### All done at Mon Dec 13 13:23:50 GMT 2004


Any ideas?