Subject: build.sh fails
To: None <port-i386@netbsd.org>
From: Michael Gerhards <HM-Gerhards@uni.de>
List: port-i386
Date: 03/01/2005 16:32:31
Hello!

I try to build a new kernel and userland but build.sh keeps failing :-(
My system: PentiumII 300MHz, 192MB RAM, NetBSD 2.0

By the following steps I tried to ensure that everything is clean before
starting the build:

As user "root" I did the following in order to prepare the system:
cd /usr
rm -rf src
rm -rf obj
rm -rf tools
mkdir src
chown michael src
mkdir obj
chown michael obj

And as user "michael" I fetched the sources and started the build:
cd /usr
export CVSROOT=:pserver:anoncvs@anoncvs.de.netbsd.org:/cvsroot
cvs login
cvs checkout -rnetbsd-2 -PA src
cd /usr/src
./build.sh tools

But I get these errors:
if cc -DHAVE_CONFIG_H
-DINFODIR=\"/usr/src/tooldir.NetBSD-2.0_STABLE-i386/info\"
-DLOCALEDIR=\"/usr/src/tooldir.NetBSD-2.0_STABLE-i386/share/locale\" -I.
-I/usr/src/tools/texinfo/../../gnu/dist/texinfo/info -I.. -I.
-I/usr/src/tools/texinfo/../../gnu/dist/texinfo/lib -I../intl -I..
-I/usr/src/tools/texinfo/../../gnu/dist/texinfo/info     -O -MT
infokey.o -MD -MP -MF ".deps/infokey.Tpo"  -c -o infokey.o `test -f
'/usr/src/tools/texinfo/../../gnu/dist/texinfo/info/infokey.c' || echo
'/usr/src/tools/texinfo/../../gnu/dist/texinfo/info/'`/usr/src/tools/texinfo/../../gnu/dist/texinfo/info/infokey.c;
then mv -f ".deps/infokey.Tpo" ".deps/infokey.Po";  else rm -f
".deps/infokey.Tpo"; exit 1;  fi
cc  -O   -o infokey  infokey.o key.o ../lib/libtxi.a -lcurses
../intl/libintl.a
Making all in makeinfo
Making all in tests
nbmake: don't know how to make top2. Stop

nbmake: stopped in /usr/src/tools/texinfo/obj/build/makeinfo/tests

*** Failed target:  all-recursive
*** Failed command: set fnord $MAKEFLAGS; amf=$2; dot_seen=no;
target=`echo all-recursive | sed s/-recursive//`; list='tests'; for
subdir in $list; do echo "Making $target in $subdir"; if test "$subdir"
= "."; then dot_seen=yes; local_target="$target-am"; else
local_target="$target"; fi; (cd $subdir &&
/usr/src/tooldir.NetBSD-2.0_STABLE-i386/bin/nbmake -f
/usr/src/tools/texinfo/../Makefile.gnuwrap $local_target) || case "$amf"
in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; done; if test
"$dot_seen" = "no"; then
/usr/src/tooldir.NetBSD-2.0_STABLE-i386/bin/nbmake -f
/usr/src/tools/texinfo/../Makefile.gnuwrap "$target-am" || exit 1; fi;
test -z "$fail"
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo/obj/build/makeinfo

*** Failed target:  all-recursive
*** Failed command: set fnord $MAKEFLAGS; amf=$2; dot_seen=no;
target=`echo all-recursive | sed s/-recursive//`; list='intl m4 lib info
makeinfo po util doc'; for subdir in $list; do echo "Making $target in
$subdir"; if test "$subdir" = "."; then dot_seen=yes;
local_target="$target-am"; else local_target="$target"; fi; (cd $subdir
&& /usr/src/tooldir.NetBSD-2.0_STABLE-i386/bin/nbmake -f
/usr/src/tools/texinfo/../Makefile.gnuwrap $local_target) || case "$amf"
in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; done; if test
"$dot_seen" = "no"; then
/usr/src/tooldir.NetBSD-2.0_STABLE-i386/bin/nbmake -f
/usr/src/tools/texinfo/../Makefile.gnuwrap "$target-am" || exit 1; fi;
test -z "$fail"
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo/obj/build

*** Failed target:  all
*** Failed command: /usr/src/tooldir.NetBSD-2.0_STABLE-i386/bin/nbmake
-f /usr/src/tools/texinfo/../Makefile.gnuwrap all-recursive
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo/obj/build

*** Failed target:  .build_done
*** Failed command: (cd build &&
/usr/src/tooldir.NetBSD-2.0_STABLE-i386/bin/nbmake -f
/usr/src/tools/texinfo/../Makefile.gnuwrap BISON=true DESTDIR=
INSTALL=/usr/src/tooldir.NetBSD-2.0_STABLE-i386/bin/nbinstall\ -c\ \ -r
all)
*** Error code 1

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

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

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

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

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

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



Any ideas what goes wrong on my system?

Many thanks in advance,

Michael