Subject: bin/2032: gspa Makefile has bad dependancies; assumes y.tab.h premade
To: None <gnats-bugs@NetBSD.ORG>
From: Luke Mewburn <lukem@supp.cpr.itg.telecom.com.au>
List: netbsd-bugs
Date: 02/06/1996 13:35:59
>Number: 2032
>Category: bin
>Synopsis: gspa Makefile has bad dependancies; assumes y.tab.h premade
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: lm
>Arrival-Date: Mon Feb 5 21:50:03 1996
>Last-Modified:
>Originator: Luke Mewburn
>Organization:
Telstra
>Release: NetBSD-960206
>Environment:
System: NetBSD shelob.supp.cpr.itg.telecom.com.au 1.1A NetBSD 1.1A (SHELOB) #0: Mon Jan 8 12:58:14 EST 1996 root@shelob:/z/src/sys/arch/i386/compile/SHELOB i386
>Description:
when doing a make in usr.sbin/gspa/gspa with an empty obj dir,
gspa.c will bomb out with 'can't find y.tab.h' errors.
[bin/1838] attepts to fix it by reordering the SRCS+= line,
which may break under a parallel make.
>How-To-Repeat:
cd /usr/src/usr.sbin/gspa/gspa
make clean
make
>Fix:
apply this patch, which adds correct dependancies.
close [bin/1838] and [bin/1993]
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/gspa/gspa/Makefile Tue Dec 12 07:56:00 1995
--- usr.sbin/gspa/gspa/Makefile Tue Feb 6 12:24:41 1996
***************
*** 8,11 ****
--- 8,13 ----
NOMAN= noman
CLEANFILES+=gsp_gram.c y.tab.h
+ gsp_eval.o gsp_lex.o gspa.o: gsp_gram.c
+
.include <bsd.prog.mk>
>Audit-Trail:
>Unformatted: