Subject: toolchain/14837: build.sh fails with NBUILDJOBS > 1
To: None <gnats-bugs@gnats.netbsd.org>
From: Brett Lymn (Master of the Siren) <blymn@baesystems.com.au>
List: netbsd-bugs
Date: 12/04/2001 21:45:48
>Number: 14837
>Category: toolchain
>Synopsis: build.sh fails with NBUILDJOBS > 1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 04 03:17:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Brett Lymn (Master of the Siren)
>Release: 20011203
>Organization:
Brett Lymn
>Environment:
System: NetBSD siren 1.5W NetBSD 1.5W (SIREN) #3: Sun Jul 8 19:58:28 CST 2001 blymn@siren:/usr/local/src/chuq/syssrc/sys/arch/i386/compile/SIREN i386
Architecture: i386
Machine: i386
>Description:
If NBUILDJOBS in /etc/mk.conf is set to, say, 20 then build.sh
fails with the following error:
dependall ===> makewhatis
dependall ===> toolchain
install ===> toolchain
--- .install_done ---
cd: can't cd to /usr/src/tools/toolchain/obj.i386/build
*** Error code 2
1 error
nbmake: stopped in /usr/src/tools/toolchain
*** Error code 2
Stop.
nbmake: stopped in /usr/src/tools
*** Error code 1
1 error
nbmake: stopped in /usr/src
*** Error code 2
Stop.
nbmake: stopped in /usr/src
The build completes correctly if I comment out the NBUILDJOBS line
in /etc/mk.conf.
>How-To-Repeat:
Add NBUILDJOBS to /etc/mk.conf and attempt a build.
>Fix:
Unknown at the moment, it looks like make may be failing to
wait for dependent jobs to finish before doing the install.
>Release-Note:
>Audit-Trail:
>Unformatted: