Subject: bin/15507: sparc boot can not be compiled
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@aprisoft.de>
List: netbsd-bugs
Date: 02/06/2002 12:31:00
>Number:         15507
>Category:       bin
>Synopsis:       sparc boot can not be compiled
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 06 03:32:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 1.5ZA
>Organization:
	
>Environment:
	
	
System: NetBSD beasty.aprisoft.de 1.5ZA NetBSD 1.5ZA (BEASTY) #0: Wed Feb 6 10:43:05 CET 2002 martin@beasty.aprisoft.de:/usr/src/sys-mp/arch/i386/compile/BEASTY i386
Architecture: i386
Machine: i386
>Description:

There is a make bug (or a long hidden bug in some Makefiles that is now 
triggered by recent make changes). From a fresh, clean source tree, a make
in syssrc/arch/sparc/stand/boot will not work any longer, as the lib/z 
subdirectory is not created and the build fails when trying to cd there.

>How-To-Repeat:

cd /usr/src/sys/arch/sparc/stand/boot
rm -rf lib
/usr/tools/bin/nbmake-sparc

and watch it fail.

Doing 

cd /usr/src/sys/arch/sparc/stand/boot
rm -rf lib
/usr/tools/bin/nbmake-sparc __always_make_zlib
/usr/tools/bin/nbmake-sparc

works. This target is from syssrc/lib/libz/Makefile.inc.

If you happen to have a lib/z directory (which is not removed by a 
"make cleandir") it will work too.

>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted:
 
 Sources updated from cvs on Feb 6