Re: .depend line 264: Inconsistent operator for ipf
From: Ruslan Ermilov (ru_at_FreeBSD.org)
Date: 05/30/05
- Previous message: Jia-Shiun Li: "Re: VESA non-VGA flag"
- In reply to: Christoph P. Kukulies: ".depend line 264: Inconsistent operator for ipf"
- Next in thread: Kris Kennaway: "Re: .depend line 264: Inconsistent operator for ipf"
- Reply: Kris Kennaway: "Re: .depend line 264: Inconsistent operator for ipf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 May 2005 14:22:10 +0300 To: "Christoph P. Kukulies" <kuku@kukulies.org>
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@FreeBSD.org FreeBSD committer
- application/pgp-signature attachment: stored
- Previous message: Jia-Shiun Li: "Re: VESA non-VGA flag"
- In reply to: Christoph P. Kukulies: ".depend line 264: Inconsistent operator for ipf"
- Next in thread: Kris Kennaway: "Re: .depend line 264: Inconsistent operator for ipf"
- Reply: Kris Kennaway: "Re: .depend line 264: Inconsistent operator for ipf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]