Re: .depend line 264: Inconsistent operator for ipf

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Mon, 30 May 2005 14:22:10 +0300
On Sat, May 28, 2005 at 05:31:55PM +0200, Christoph P. Kukulies wrote:
> After cvsupping into a 6.0-current of January 2005 and a subsequent
> make buildworld I'm getting the following in the cleandir
> phase:
> 
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> ===> sbin/init (cleandir)
> rm -f init init.o init.8.gz init.8.cat.gz
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> ===> sbin/ip6fw (cleandir)
> rm -f ip6fw ip6fw.o ip6fw.8.gz ip6fw.8.cat.gz
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> ===> sbin/ipf (cleandir)
> ".depend", line 264: Inconsistent operator for ipf
> make: fatal errors encountered -- cannot continue
> *** Error code 1
> 
> Stop in /usr/src/sbin.
> *** Error code 1
> 
> Stop in /usr/src.
> ...
> 
When someone changes the type of "foo" from file to directory,
this is exactly what happens.  sbin/ipf/ipf was a file, which
has a recorded dependency in your stale .depend file.  Now,
sbin/ipf/ipf is a directory, and it has a :: type of dependency
provided by bsd.subdir.mk in sbin/ipf/Makefile, hence the error
from make(1).  Just blow away your /usr/obj/usr/src/sbin/ipf.
I'm considering changing bsd.subdir.mk to prevent this from
happening again and again.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Mon May 30 2005 - 09:21:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:35 UTC