.depend line 264: Inconsistent operator for ipf

Ruslan Ermilov ru at FreeBSD.org
Mon May 30 04:21:51 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050530/1a770288/attachment.bin


More information about the freebsd-current mailing list