Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 04:02:43 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        Wolfram Schneider <wosch@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: /usr/obj is 11GB huge on FreeBSD 12-current
Message-ID:  <20171215120243.GB1179@albert.catwhisker.org>
In-Reply-To: <CAMWY7CDoF9LWJiz1wB7XWUtKsvk6QJGvH=yrUCh9FnRoG4y7EA@mail.gmail.com>
References:  <CAMWY7CDoF9LWJiz1wB7XWUtKsvk6QJGvH=yrUCh9FnRoG4y7EA@mail.gmail.com>

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

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

On Fri, Dec 15, 2017 at 10:12:09AM +0100, Wolfram Schneider wrote:
> Hi,
>=20
> I upgraded a machine from 11-stable to 12-current. The /usr/obj tree
> is now 11GB huge:
>=20
> FreeBSD 12-current
> $ du -hs /usr/obj
>  11G /usr/obj
>=20
> on FreeBSD 11-stable it was less the size:
> $ du -hs /usr/obj
> 5.6G /usr/obj
>=20
> this is a problem when you have a small VM with 20GB disk space or less.
>=20
> Is there a way to use less /usr/obj disk space during build? I know
> that we have to do some bootstrapping for newer compiler tools, but
> does we need to keep all temp files during the build?

There was a change near the beginning of November; please see UPDATING
entry 20171101 -- you probably have several no-longer-used
subdirectories under /usr/obj/usr/src/.

Once those are cleared out, my experience (tracking stable/11 & head in
different slices on the same machines) is that stbale/11 is using about
5.0G, while head uses about 6.1G.

> ...

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
The US "cannot afford" Trump as President or Roy Moore in the Senate.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--Q6krFlhYnjrU02zP
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJaM7njXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4X4Z8H/iieWbI/tx2lhxurfGN4tOIK
vta2aAPS/xcjFS8jH1iR0bnfezbwxvc6wv4MksXYlPrYbumGAxw2paSowTdRb8Ye
yGAAXP2xLBzfTAG5XLii551PTX6gHGyGJrz+IiosQ2+b6jiSZiKVY/bFU7m8lsSB
JSMc3ajcud5qxpnjQ9FjvNgy1PvVFOoCVxEdZDTu3nG65NpRlVEpWcar55qmdIMy
8P/F3EoXRxJsyDISzRj7zvNfF5Sijub9M/EIFXJ41Fovwbn9uIKin1NWGikG7C0v
H0wXnORxSND4NkCQMCvR9UzZRJw/m7OXVFu/E8Xnk5F5jzlPdahkyFncCb6i3rM=
=F++T
-----END PGP SIGNATURE-----

--Q6krFlhYnjrU02zP--



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