Subject: bin/13289: make reports the wrong path-prefix for errant .depend files
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 06/23/2001 14:23:26
>Number: 13289
>Category: bin
>Synopsis: make reports the wrong path-prefix for errant .depend files
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 23 11:21:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Greg A. Woods
>Release: 2001/06/19
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD proven 1.5W NetBSD 1.5W (PROVEN) #2: Tue Jun 19 21:48:56 EDT 2001 woods@proven:/work/woods/NetBSD-src/sys/arch/i386/compile/PROVEN i386
Architecture: i386
Machine: i386
>Description:
A corrupt .depend file will be reported with the wrong pathname
prefix, apparently with ${.CURDIR} instead of ${.OBJDIR}....
# cd /proven/work/woods/NetBSD-src/games/hack/
# make dependall
make: "/proven/work/woods/NetBSD-src/games/hack/.depend" line 1361: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /proven/work/woods/NetBSD-src/games/hack
# ls -l .depend obj/.depend
ls: .depend: No such file or directory
-rw-r--r-- 1 root wheel 76692 Jun 21 20:41 obj/.depend
#
>How-To-Repeat:
make sure you're using OBJDIR builds
corrupt a .depend file and then run 'make'
>Fix:
unknown
(workaround: remove the .depend file and run "make depend")
>Release-Note:
>Audit-Trail:
>Unformatted: