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

next in thread | previous in thread | raw e-mail | index | archive | help
Am 25.11.15 um 20:37 schrieb Bryan Drewery:
> 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ás 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 using
>>>>> the new WITH_CCACHE_BUILD=yes option instead.
>>>>>
>>>>> -- 
>>>>> Regards,
>>>>> Bryan Drewery
>>>>
>>>> Hi.
>>>>
>>>> I’m seeing the same ccache errors and I do not have CC or CCACHE_PATH
>>>> 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.
>>>
>>
>> Is there any possibility to redirect the .ccache directory, something
>> like CCACHE_PATH for userland?
>>
>> I am asking, because in my attempts to build base with WITH_CCACHE_BUILD
>> 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.
>>
> 
> 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'.
> 

Oops, I should have looked into man src.conf before asking here, sorry.

And many thanks for the quick and helpful answer.



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