Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2005 14:22:10 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        "Christoph P. Kukulies" <kuku@kukulies.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: .depend  line 264: Inconsistent operator for ipf
Message-ID:  <20050530112210.GG54585@ip.net.ua>
In-Reply-To: <20050528153155.GA75114@kukulies.org>
References:  <20050528153155.GA75114@kukulies.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--5L6AZ1aJH5mDrqCQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> =3D=3D=3D> sbin/init (cleandir)
> rm -f init init.o init.8.gz init.8.cat.gz
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> =3D=3D=3D> sbin/ip6fw (cleandir)
> rm -f ip6fw ip6fw.o ip6fw.8.gz ip6fw.8.cat.gz
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> =3D=3D=3D> sbin/ipf (cleandir)
> ".depend", line 264: Inconsistent operator for ipf
> make: fatal errors encountered -- cannot continue
> *** Error code 1
>=20
> Stop in /usr/src/sbin.
> *** Error code 1
>=20
> Stop in /usr/src.
> ...
>=20
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
=66rom 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,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--5L6AZ1aJH5mDrqCQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCmvdiqRfpzJluFF4RAn7BAJ9QdairmcZAg7Am7W2wnBRScfF21QCfasSC
PIz+Gtlm3bnL/hUEFwkH2rQ=
=7ihG
-----END PGP SIGNATURE-----

--5L6AZ1aJH5mDrqCQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050530112210.GG54585>