Subject: failed build distribution - part2
To: None <current-users@netbsd.org>
From: Phil Pereira <phil@bsdnexus.com>
List: current-users
Date: 05/03/2004 21:10:25
Sorry, I forgot to add several lines prior to the output I gave, which are:

*** Configuration unknown-unknown-netbsd2.0E not supported
Configure in /usr/obj/tools/gcc/build/gcc failed, exiting.

***Failed target: .configure_done

----------------------------------------------------------
UNIX is user-friendly; it's just picky about its friends!!!
UNIX is simple; it just takes a genius to understand its simplicity!!!
 
-----Original Message-----
From: Phil Pereira [mailto:phil@bsdnexus.com] 
Sent: 03 May 2004 20:59
To: 'current-users@netbsd.org'
Subject: failed build distribution

Hello gurus,

I am trying to upgrade to NetBSD 2.0E. I have been following the
documentation on building a distribution.

I have successfully built a new Generic Kernel (2.0E) and rebooted, however,
"./build.sh distribution fails with the following error:


*** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS= CXX=c++
CXXFLAGS=-O INSTALL=/usr/src/obj/tooldir.NetBSD-2.0E-i386/bin/nbinstall\ -c\
\ -r LDFLAGS= LEX=/usr/src/obj/tooldir.NetBSD-2.0E-i386/bin/nblex
PATH="/usr/src/obj/tooldir.NetBSD-2.0E-i386/bin:$PATH"
YACC=/usr/src/obj/tooldir.NetBSD-2.0E-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/obj/tooldir.NetBSD-2.0E-i386)
*** Error code 1

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

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

Stop.
nbmake: stopped in /usr/src

*** Failed target:  distribution
*** 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/obj/tooldir.NetBSD-2.0E-i386/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build
NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

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



I had built this box from a 1.6ZL snapshot.

Thanks all

Phil

----------------------------------------------------------
UNIX is user-friendly; it's just picky about its friends!!!
UNIX is simple; it just takes a genius to understand its simplicity!!!