Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2018 07:39:08 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        Stefan Esser <se@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: careless commits disrupt
Message-ID:  <868t3367wj.fsf@next.des.no>
In-Reply-To: <201810111910.w9BJAPrL049507@fire.js.berklix.net> (Julian H. Stacey's message of "Thu, 11 Oct 2018 21:10:25 %2B0200")
References:  <201810111910.w9BJAPrL049507@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian H. Stacey <jhs@berklix.com> writes:
> Stefan Esser <se@freebsd.org> writes:
> > You should also delete old files:
> >=20
> > cd /usr/src
> > make delete-old
> > make delete-old-libs
> I just ran that. It deleted lots of stuff. & I'd only run it 2 days ago.
> I should have run it just before buildworld though.
> It's not suggested in the top of=20
>   https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.ht=
ml
> just at base of page.

That's because you should *never* run delete-old or delete-old-libs from
a source tree that is newer than your installed system.  It may delete
files which have been obsoleted by changes you haven't yet built and
installed, to the point where you may be unable to build and install
those changes.  In this particular case, it will, at the very least,
break ssh and svn / svnlite.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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