Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 20:29:48 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Daniel Flickinger <attila@hun.org>
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>, Kris Kennaway <kris@obsecurity.org>, "FreeBSD 5. 0-CURRENT" <current@freebsd.org>
Subject:   Re: [AGAIN] ./usr.sbin/sysinstall/makedevs.c problem
Message-ID:  <20021015032948.GA60743@xor.obsecurity.org>
In-Reply-To: <20021015023546.in9343125@hun.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>

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

--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




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