Subject: building tools fails
To: None <current-users@NetBSD.org>
From: Werner Backes <werner@bit-1.de>
List: current-users
Date: 06/05/2004 19:20:12
./build.sh tools fails with:

checking for uchar...
checking for .preinit_array/.init_array/.fini_array support... no
checking if mkdir takes one argument... no
checking for main in -lunwind... no
*** Configuration unknown-unknown-netbsd2.0E not supported
Configure in /usr/obj/tools/gcc/build/gcc failed, exiting.

*** Failed target:  .configure_done
*** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS= CXX=c++ 
CXXFLAGS=-O INSTALL=/usr/src/tooldir.NetBSD-1.6.2-i386/bin/nbinstall\ 
-c\ \ -r LDFLAGS= LEX=/usr/src/tooldir.NetBSD-1.6.2-i386/bin/nblex 
PATH="/usr/src/tooldir.NetBSD-1.6.2-i386/bin:$PATH" 
YACC=/usr/src/tooldir.NetBSD-1.6.2-i386/bin/nbyacc sh 
/usr/src/tools/gcc/../../gnu/dist/gcc/configure --target=i386--netbsdelf 
--disable-nls --enable-long-long --disable-multilib --enable-threads 
--program-transform-name="s,^,i386--netbsdelf-," --enable-languages="c 
c++ objc f77" --prefix=/usr/src/tooldir.NetBSD-1.6.2-i386)
*** Error code 1

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

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

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

*** Failed target:  dependall-gcc
*** 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}" && 
/usr/src/tooldir.NetBSD-1.6.2-i386/bin/nbmake _THISDIR_="${this}" "$@" 
${target}; }; _makedirtarget gcc dependall
*** Error code 1

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

*** Failed target:  do-tools
*** 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}" && /usr/src/tooldir.NetBSD-1.6.2-i386/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget tools dependall
*** Error code 1

Stop.
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}" && /usr/src/tooldir.NetBSD-1.6.2-i386/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-tools
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make build
*** BUILD ABORTED ***


Does anyone has a clue what's wrong here?

Werner