Subject: misc/15059: build fails when NBUILDJOBS>=2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <minoura@netbsd.org>
List: netbsd-bugs
Date: 12/27/2001 16:59:54
>Number:         15059
>Category:       misc
>Synopsis:       build fails when NBUILDJOBS>=2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 27 00:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        2001.12.18 -current
>Organization:
The NetBSD Project
>Environment:
System: NetBSD nclient1 1.5ZA NetBSD 1.5ZA (N1) #4: Fri Dec 18 15:00:02 JST 2001 minoura@nclient1:/usr/src/sys/arch/i386/compile/N1 i386 (both target and host)
VA Linux 2240 (PentiumIII 800MHz x 2, 1MB)
Sources cvs updated on 2001.12.27.
Architecture: i386
Machine: i386
>Description:
	build.sh fails in building tools.
>How-To-Repeat:
	# cd /usr/src
	# ./build.sh -d -j 2 -D /usr/obj/destdir -R /usr/obj/releasedir -T /usr/tools
	===> DESTDIR path: /usr/obj/destdir
	===> TOOLDIR path: /usr/tools
	(snip)
	--- xinstall.lo ---
	cc -O -Wall   -I/usr/src/tools/binstall/../../usr.bin/xinstall/../../bin/ls -include /usr/src/tools/compat/obj/config.h -c -o xinstall.lo /usr/src/tools/binstall/../../usr.bin/xinstall/xinstall.c
	--- xinstall ---
	cc -O -Wall   -I/usr/src/tools/binstall/../../usr.bin/xinstall/../../bin/ls -include /usr/src/tools/compat/obj/config.h   -o xinstall stat_flags.lo xinstall.lo  -L/usr/src/tools/compat/obj -lnbcompat -lutil
	ld: cannot find -lnbcompat
	*** Error code 1
	1 error
	
	nbmake: stopped in /usr/src/tools/binstall
	*** 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

>Fix:
	Unknown.
	Dependencies between libraries (libnbcompat?) and commands (nbinstall?)
	are wrong or not specified?
>Release-Note:
>Audit-Trail:
>Unformatted: