Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 11:37:11 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Rainer Hurling <rhurlin@gwdg.de>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: freebsd-current compile with clang & ccache
Message-ID:  <56560DE7.3080608@FreeBSD.org>
In-Reply-To: <56560D62.7060205@gwdg.de>
References:  <5655F93F.2050706@juanmolina.eu> <56560304.4080501@FreeBSD.org> <56560D62.7060205@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--aFdEkpRKv3DXCLlAS4Bj0ISwpoQcFnXET
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 11/25/2015 11:34 AM, Rainer Hurling wrote:
> Am 25.11.15 um 19:50 schrieb Bryan Drewery:
>> On 11/25/2015 10:09 AM, Juan Molina wrote:
>>>> On 11/24/2015 1:31 AM, M&S - Krasznai Andr=E1s wrote:
>>>>> /What can I do to eliminate the ccache error during installworld
>>>> apart from not using ccache? /
>>>> I would recommend not setting CC or CCACHE_PATH in make.conf and usi=
ng
>>>> the new WITH_CCACHE_BUILD=3Dyes option instead.
>>>>
>>>> --=20
>>>> Regards,
>>>> Bryan Drewery
>>>
>>> Hi.
>>>
>>> I=92m seeing the same ccache errors and I do not have CC or CCACHE_PA=
TH
>>> defined anywhere. Only WITH_CCACHE_BUILD and WITH_FAST_DEPEND in src.=
conf.
>>>
>>
>> WITH_FAST_DEPEND is not related.
>>
>> Are you building and installing as a different user? Using a different=

>> MAKEOBJDIRPREFIX in build and install?
>>
>> Do you have CCACHE_PATH in your environment?
>>
>> Run 'make ccache-print-options|grep path'. It should have no value.
>>
>=20
> Is there any possibility to redirect the .ccache directory, something
> like CCACHE_PATH for userland?
>=20
> I am asking, because in my attempts to build base with WITH_CCACHE_BUIL=
D
> and WITH_FAST_DEPEND enabled, it breaks with error message 'file system=

> full'. My root partition has only 1GB and ccache itself seems to need
> more than 800MB in /root/.ccache.
>=20

You want to modify CCACHE_DIR. You can do this in make.conf or the
environment.

I tend to just symlink /root/.ccache to somewhere else though and let
the default work via the symlink.

Also see 'man src.conf' (WITH_CCACHE_BUILD section) and 'man ccache'.

--=20
Regards,
Bryan Drewery


--aFdEkpRKv3DXCLlAS4Bj0ISwpoQcFnXET
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQEcBAEBAgAGBQJWVg3oAAoJEDXXcbtuRpfPp4kIAIG74kRWq+ZcnN10xDOmSNxp
QGwNYiK2PYJb8RFMfFSS1ioCnDQnXOmhbtP66jSzZ8UBIa7fFJhpIZQ9Jz/gEZfZ
Tim6ZzRVZEmQzRxUZ1HOAgBb7vEBwPjGn3WuRNFXrxV6+SoGLeQzXqixyJ93Tmis
CnmBNO74tA8DbPc3XSE8OXzvrV3Eu1PulDFyzjLHqGuZY7koI1kjDg51BzIX00Bv
AdqFP6dF5VMDiQz1TrEZOL7717HwJ27EbBIj+uG8ycnH+fS5L80MTyWLKKPfEW5J
KU/YHbjHNvmP+RSjGXcLzIJX6ej4YlF8dY2rK0NgJa44GAktDzcZn7rD/8K0xNc=
=K0VX
-----END PGP SIGNATURE-----

--aFdEkpRKv3DXCLlAS4Bj0ISwpoQcFnXET--



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