Subject: bin/11503: dependency of non-generated files in the tree
To: None <gnats-bugs@gnats.netbsd.org>
From: None <makoto@hauN.ORG>
List: netbsd-bugs
Date: 11/15/2000 15:04:14
>Number:         11503
>Category:       bin
>Synopsis:       dependency of non-generated files in the tree
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 15 15:04:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Minoura Makoto
>Release:        Wed Nov 15 02:37:53 UTC 2000
>Organization:
Minoura Makoto <minoura@netbsd.org> or <minoura@jp.netbsd.org>
>Environment:
System: NetBSD daisy 1.5H NetBSD 1.5H (DAISY) #172: Wed Nov 1 07:45:08 JST 2000 root@daisy:/usr/obj/sys/arch/i386/compile/DAISY i386


>Description:
gnusrc/gnu/dist/cvs/lib/getdate.c depends on gnusrc/gnu/dist/cvs/lib/getdate.y.
This means when the timestamp of getdate.y is newer than that of getdate.c
make(1) will re-generate getdate.c and attempts to overwrite it.

>How-To-Repeat:
# ls -lT gnu/dist/cvs/lib
-rw-r--r--  1 minoura  staff  42031 Nov  3 23:29:06 2000 getdate.c
-rw-r--r--  1 minoura  staff  25520 Nov  3 23:29:07 2000 getdate.y
# cd gnu/usr.bin/cvs ; make dependall
dependall ===> gnu/usr.bin/cvs/libcvs
yacc  /usr/src/gnu/usr.bin/cvs/libcvs/../../../dist/cvs/lib/getdate.y
yacc: 10 shift/reduce conflicts.
mv y.tab.c /usr/src/gnu/usr.bin/cvs/libcvs/../../../dist/cvs/lib/getdate.c
override rw-r--r--  minoura/staff for /usr/src/gnu/usr.bin/cvs/libcvs/../../../dist/cvs/lib/getdate.c? 

>Fix:
	Remove gnusrc/gnu/dist/cvs/lib/getdate.c or getdate.y.
>Release-Note:
>Audit-Trail:
>Unformatted: