Subject: Build stalls at tools/uudecode
To: None <current-users@netbsd.org>
From: walt <wa1ter@myrealbox.com>
List: current-users
Date: 02/20/2004 13:01:34
After updating sources today I get this on two -CURRENT boxes:

#      link  uudecode/uudecode
cc -O -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include 
-I/usr/src/tools/uudecode/../compat -DHAVE_NBTOOL_CONFIG_H=1 
-D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE    -o uudecode uude
code.lo -L/usr/src/tools/compat/obj -lnbcompat -lz
dependall ===> texinfo

And the process just hangs there forever, using no CPU.  I'm wondering
if the zombie ksh is responisible for this hang:

#ps
   618 p0 SW+  0:00.02 sh build.sh build
  1489 p0 ZW+  0:00.00 (ksh)         ******** note this zombie ksh ******
  1742 p0 SW+  0:00.03 /usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake 
do-tools
  4906 p0 SW+  0:00.02 /usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake 
_THISDIR_ texinfo/
  8737 p0 SW+  0:00.00 /bin/sh -ec (cd /usr/src/tools && 
/usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake dependall)
  9576 p0 SW+  0:00.00 /bin/ksh -c \n  as_lineno_1=$LINENO\n 
as_lineno_2=$LINENO\n  as_lineno_3=`(expr $as_lineno_1 + 1) 
2>/dev/null`\n  test "x$as_lineno_1" != "x$as_lineno
10043 p0 SW+  0:00.01 /bin/sh -ec cd /usr/src/tools/texinfo; 
/usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake realall
10915 p0 SW+  0:00.03 /usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake 
build
14146 p0 SW+  0:00.02 /usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake 
realall
19742 p0 SW+  0:00.01 sh 
/usr/src/tools/texinfo/../../gnu/dist/texinfo/configure 
--program-prefix=nb --prefix=/usr/src/obj/tooldir.NetBSD-1.6ZK-i386
21164 p0 SW   0:00.06 -bash
23401 p0 SW+  0:00.00 /bin/sh -ec (cd /usr/src && 
/usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake do-tools)
24945 p0 SW+  0:00.05 /usr/src/obj/tooldir.NetBSD-1.6ZK-i386/bin/nbmake 
dependall
26219 p0 SW+  0:00.00 /bin/sh -ec targ=dependall;dir=texinfo;\t\t case 
"$dir" in /*)\t\t\t\t\t\t echo "$targ ===> $dir";\t\t\t\t cd 
"$dir";\t\t\t\t\t\t /usr/src/obj/tooldir.