Subject: bin/15507: sparc boot can not be compiled
To: None <>
From: Martin Husemann <>
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
>Originator:     Martin Husemann
>Release:        NetBSD 1.5ZA
System: NetBSD 1.5ZA NetBSD 1.5ZA (BEASTY) #0: Wed Feb 6 10:43:05 CET 2002 i386
Architecture: i386
Machine: i386

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.


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

and watch it fail.


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

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

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

 Sources updated from cvs on Feb 6