From owner-freebsd-current@FreeBSD.ORG Mon May 30 11:21:51 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C98B16A41C for ; Mon, 30 May 2005 11:21:51 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F5F143D48 for ; Mon, 30 May 2005 11:21:50 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j4UBLmsL013823; Mon, 30 May 2005 14:21:48 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 71150-14; Mon, 30 May 2005 14:21:47 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j4UBLllt013820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 May 2005 14:21:47 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j4UBMBvh055399; Mon, 30 May 2005 14:22:11 +0300 (EEST) (envelope-from ru) Date: Mon, 30 May 2005 14:22:10 +0300 From: Ruslan Ermilov To: "Christoph P. Kukulies" Message-ID: <20050530112210.GG54585@ip.net.ua> References: <20050528153155.GA75114@kukulies.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5L6AZ1aJH5mDrqCQ" Content-Disposition: inline In-Reply-To: <20050528153155.GA75114@kukulies.org> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-current@FreeBSD.org Subject: Re: .depend line 264: Inconsistent operator for ipf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 11:21:51 -0000 --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--