Subject: Re: Unable to build tools/userland
To: Jan H. van Gils <JanVG@Knoware.NL>
From: walt <wa1ter@myrealbox.com>
List: current-users
Date: 03/06/2004 07:45:44
Jan H. van Gils wrote:
> Hi,
>
> Thanks for reading.
>
> For about 2 weeks now, I have the following problem when I try
> to build tools or userland.
>
> Building a new kernel is no problem!
>
> The make starts, no problem, but then the build seems to be running
> but there is no processor activity the last message in the log is
> the following : (see part of the log). There seems to be a status quo ?
>
>
> # compile uudecode/uudecode.lo
> cc -O -I/build/current/src/tools/compat/obj.i386
> -I/build/current/src/tools/compat/obj.i386/include
> -I/build/current/src/tools/uudecode/../compat -DHAVE_NBTOOL_CONFIG_H=1
> -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -c -o uudecode.lo.o
> /build/current/src/tools/uudecode/../../usr.bin/uudecode/uudecode.c
> mv uudecode.lo.o uudecode.lo
> # link uudecode/uudecode
> cc -O -I/build/current/src/tools/compat/obj.i386
> -I/build/current/src/tools/compat/obj.i386/include
> -I/build/current/src/tools/uudecode/../compat -DHAVE_NBTOOL_CONFIG_H=1
> -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -o uudecode uudecode.lo
> -L/build/current/src/tools/compat/obj.i386 -lnbcompat -lz
> dependall ===> texinfo
>
> Where is the build waiting for ?????
The problem was a bug in ksh. The ksh you have is broken and needs to
be recompiled before you can finish building the system.
cd /usr/src/bin/ksh
make clean
make
make install
That should fix it. If that doesn't work you can make /bin/ksh a symlink
to /usr/pkg/bin/bash as a temporary workaround so you can rebuild the system.