From owner-freebsd-current Mon Oct 14 20:29:51 2002 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 26E2137B401 for ; Mon, 14 Oct 2002 20:29:50 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-88.dsl.lsan03.pacbell.net [64.165.226.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 829F043E7B for ; Mon, 14 Oct 2002 20:29:49 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1ADF366C7B; Mon, 14 Oct 2002 20:29:49 -0700 (PDT) Date: Mon, 14 Oct 2002 20:29:48 -0700 From: Kris Kennaway To: Daniel Flickinger Cc: Steve Kargl , Kris Kennaway , "FreeBSD 5. 0-CURRENT" Subject: Re: [AGAIN] ./usr.sbin/sysinstall/makedevs.c problem Message-ID: <20021015032948.GA60743@xor.obsecurity.org> References: <20021013191535.ND7D66190@hun.org> <20021014011949.qdTj11904@hun.org> <20021014034139.HeM817047@hun.org> <20021014040129.GC29903@xor.obsecurity.org> <20021014045110.GA11554@troutmask.apl.washington.edu> <20021014051058.GA32699@xor.obsecurity.org> <20021015023546.in9343125@hun.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <20021015023546.in9343125@hun.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 15, 2002 at 02:35:46AM +0000, Daniel Flickinger wrote: > A stale .depend file is anathema... as I said: >=20 > the whole issue begs the question as to why 'make > buildworld', which normally cleans up before it > takes off, does not handle this for an update, and > it does on the rest of the 3000+ other executables? I've explained this a number of times now: buildworld only runs a single 'cleandir' which is insufficient to remove any stale .depend files in your SOURCE tree, if you already have an OBJECT tree present. Running two 'cleandirs' sequentially (or equivalently, rm -rf /usr/obj && make cleandir) will clean out stale build files from your source tree as well. The only way a .depend file can get into your source tree in the first place if is you've been building things manually, in which case it's your responsibility to clean things up again. Exactly how to go about cleaning things up has been explained to you by several people. Kris --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9q4usWry0BWjoQKURAoWRAJ9vOLRKSODMF6Zzrn1Vi+Lfua5UywCgkI9P OU2k6Uzk5r8AdUcEAfGZheg= =SjNO -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message