Subject: bin/35503: Hangup during build release
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <dlagno@rambler.ru>
List: netbsd-bugs
Date: 01/28/2007 01:35:00
>Number:         35503
>Category:       bin
>Synopsis:       Hangup during build release
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 28 01:35:00 +0000 2007
>Originator:     Denis Lagno
>Release:        4.99.8
>Organization:
>Environment:
NetBSD flam.gado 4.99.8 NetBSD 4.99.8 (FLAM) #0: Sat Jan 20 00:34:40 MSK 2007  dina@flam.gado:/volatile/worksrc/netbsd-current/obj/sys/arch/i386/compile/FLAM i386

SMP machine
>Description:
Trying to build release:

./build.sh -B CHUP -O /flam/var/worksrc/netbsd-current/obj -T /flam/var/worksrc/netbsd-current/tools -D /flam/var/worksrc/netbsd-current/world -R /flam/var/worksrc/netbsd-current/rel -V X11SRCDIR=/flam/var/worksrc/netbsd-current/xsrc -U -j 5 -V USETOOLS=yes -V STRIPFLAG=-s -V NOGCCERROR= -V CPUFLAGS=-march=pentium4 -V COPTS="-O2 -mfpmath=sse -msse -fno-strict-aliasing -pipe" -V MKX11=yes -V MKCRYPTO_IDEA=yes -V MKCRYPTO_MDC2=yes -V MKCRYPTO_RC5=yes -V MKCATPAGES=no -V MKMANZ=yes -V MKPAM=yes -V USE_PAM=yes -V MACHINE_GNU_PLATFORM=i686-intel-netbsdelf distribution sets release kernel=/chup/crux/CHUP

it just hangs forever in following state:
 1326 dina       2    4   588K 1316K poll/0     1:00  0.00%  0.00% nbmake

Tail of build.sh output is:

Creating /flam/var/worksrc/netbsd-current/world/etc/mtree/set.xetc
Creating /flam/var/worksrc/netbsd-current/world/etc/mtree/set.xfont
Creating /flam/var/worksrc/netbsd-current/world/etc/mtree/set.xserver
postinstall-fix-obsolete ===> .
--- postinstall-fix-obsolete ---
   === Removing obsolete files ===
/bin/sh /volatile/worksrc/netbsd-current/src/usr.sbin/postinstall/postinstall -s /volatile/worksrc/netbsd-current/src -d /flam/var/worksrc/netbsd
-current/world/ fix obsolete
Source directory: /volatile/worksrc/netbsd-current/src
Target directory: /flam/var/worksrc/netbsd-current/world/
obsolete fix:
postinstall fixes passed: obsolete
postinstall fixes failed:
   ===============================
checkflist ===> distrib/sets
--- check_DESTDIR ---
--- /flam/var/worksrc/netbsd-current/world/METALOG.sanitised --- 
( cat /volatile/worksrc/netbsd-current/src/etc/mtree/NetBSD.dist ;  echo '/unset all' ;  cat /flam/var/worksrc/netbsd-current/world/METALOG )  | 
/flam/var/worksrc/netbsd-current/tools/bin/nbmtree -C -k all -N /volatile/worksrc/netbsd-current/src/etc > /flam/var/worksrc/netbsd-current/world
/METALOG.new &&  ( rm -f /flam/var/worksrc/netbsd-current/world/METALOG ;  mv /flam/var/worksrc/netbsd-current/world/METALOG.new /flam/var/worksr
c/netbsd-current/world/METALOG )
cat /flam/var/worksrc/netbsd-current/world/METALOG | grep -v " optional" > /flam/var/worksrc/netbsd-current/world/METALOG.sanitised
--- checkflist ---
cd /volatile/worksrc/netbsd-current/src/distrib/sets &&  DESTDIR=/flam/var/worksrc/netbsd-current/world  MACHINE=i386 MACHINE_ARCH=i386  CKSUM=/f
lam/var/worksrc/netbsd-current/tools/bin/nbcksum  DB=/flam/var/worksrc/netbsd-current/tools/bin/nbdb  HOST_SH=/bin/sh  MAKE=/flam/var/worksrc/net
bsd-current/tools/bin/nbmake  MKTEMP=/flam/var/worksrc/netbsd-current/tools/bin/nbmktemp  MTREE=/flam/var/worksrc/netbsd-current/tools/bin/nbmtre
e  PAX=/flam/var/worksrc/netbsd-current/tools/bin/nbpax  TSORT=/flam/var/worksrc/netbsd-current/tools/bin/nbtsort\ -q  /bin/sh /volatile/worksrc/
netbsd-current/src/distrib/sets/checkflist  -b  -M /flam/var/worksrc/netbsd-current/world/METALOG.sanitised
make distribution started at:  Sat Jan 27 18:56:57 MSK 2007
make distribution finished at: Sun Jan 28 00:54:29 MSK 2007
release ===> etc        (with: DISTRIBUTION_DONE=1)
--- check_DESTDIR ---
--- check_RELEASEDIR ---
--- kern-GENERIC ---
--- kern-GENERIC_LAPTOP ---
--- kern-GENERIC_DIAGNOSTIC ---
--- kern-GENERIC ---
cd /volatile/worksrc/netbsd-current/src/sys/arch/i386/conf && /flam/var/worksrc/netbsd-current/tools/bin/nbconfig -s /volatile/worksrc/netbsd-current/src/sys  -b /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC GENERIC
--- kern-GENERIC.MP ---
--- kern-GENERIC.MPACPI ---
--- kern-GENERIC_LAPTOP ---
cd /volatile/worksrc/netbsd-current/src/sys/arch/i386/conf && /flam/var/worksrc/netbsd-current/tools/bin/nbconfig -s /volatile/worksrc/netbsd-current/src/sys  -b /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC_LAPTOP GENERIC_LAPTOP
--- kern-GENERIC_DIAGNOSTIC ---
cd /volatile/worksrc/netbsd-current/src/sys/arch/i386/conf && /flam/var/worksrc/netbsd-current/tools/bin/nbconfig -s /volatile/worksrc/netbsd-current/src/sys  -b /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC_DIAGNOSTIC GENERIC_DIAGNOSTIC
--- kern-GENERIC.MP ---
cd /volatile/worksrc/netbsd-current/src/sys/arch/i386/conf && /flam/var/worksrc/netbsd-current/tools/bin/nbconfig -s /volatile/worksrc/netbsd-current/src/sys  -b /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC.MP GENERIC.MP
--- kern-GENERIC.MPACPI ---
cd /volatile/worksrc/netbsd-current/src/sys/arch/i386/conf && /flam/var/worksrc/netbsd-current/tools/bin/nbconfig -s /volatile/worksrc/netbsd-current/src/sys  -b /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC.MPACPI GENERIC.MPACPI
--- kern-GENERIC_DIAGNOSTIC ---
Build directory is /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC_DIAGNOSTIC
Don't forget to run "make depend"
cd /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC_DIAGNOSTIC && /flam/var/worksrc/netbsd-current/tools/bin/nbmake distclean
--- kern-GENERIC.MPACPI ---
Build directory is /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC.MPACPI
Don't forget to run "make depend"
cd /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC.MPACPI && /flam/var/worksrc/netbsd-current/tools/bin/nbmake distclean
--- kern-GENERIC.MP ---
Build directory is /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC.MP
Don't forget to run "make depend"
cd /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC.MP && /flam/var/worksrc/netbsd-current/tools/bin/nbmake distclean
--- kern-GENERIC_LAPTOP ---
Build directory is /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC_LAPTOP
Don't forget to run "make depend"
cd /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC_LAPTOP && /flam/var/worksrc/netbsd-current/tools/bin/nbmake distclean
--- kern-GENERIC ---
Build directory is /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC
Don't forget to run "make depend"
cd /flam/var/worksrc/netbsd-current/obj/sys/arch/i386/compile/GENERIC && /flam/var/worksrc/netbsd-current/tools/bin/nbmake distclean

>How-To-Repeat:

>Fix: