Subject: misc/5577: /usr/src/bin/sh can not be built with PARALLEL set in env
To: None <>
From: Craig M. Chase <>
List: netbsd-bugs
Date: 06/12/1998 10:12:28
>Number:         5577
>Category:       misc
>Synopsis:       /usr/src/bin/sh can not be built with PARALLEL set in env
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 12 08:20:00 1998
>Originator:     Craig Chase
Electrical and Computer Engineering, the University of Texas at Austin
>Release:        <NetBSD-current source date> June 10, 1998
System: NetBSD orac 1.3E NetBSD 1.3E (ORACIII) #2: Thu Jun 11 17:25:49 CDT 1998 chase@orac:/a/c3p0/home/c3p0/src/sys/arch/i386/compile/ORACIII i386

If the PARALLEL flag is set in the environment, 
make will fail in a few directories.  /usr/src/bin/sh is the best
example, I also noted /usr/src/domestic/usr.bin/compile_et will fail.

It appears to me that the YACC rules will only work if 
a) YHEADERS is set (and the associated source files include <file>.tab.h)
b) neither YHEADERS nor PARALLEL are set (and files include
cd /usr/src/bin/sh
make cleandir
The fix would appear to be to make YHEADERS the default for all YACC
rules.  Use of is inconsistent with parallel makes.