Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2015 09:15:26 +0100
From:      Juan =?iso-8859-1?b?UmFt824=?= Molina Menor <listjm@club.fr>
To:        Bryan Drewery <bdrewery@FreeBSD.org>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: freebsd-current compile with clang & ccache
Message-ID:  <5656BF9E.6070206@club.fr>
In-Reply-To: <565623F1.70508@FreeBSD.org>
References:  <5655F93F.2050706@juanmolina.eu> <56560304.4080501@FreeBSD.org> <5656214B.5000101@club.fr> <565623F1.70508@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 25/11/2015 22:11, Bryan Drewery a écrit :
> On 11/25/2015 12:59 PM, Juan Ramón Molina Menor wrote:
>> Le 25/11/2015 19:50, Bryan Drewery a écrit :
>>> 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.
>> OK, thanks. I was referring to the content of /etc/src.conf. By the way,
>> there is no /etc/make.conf in this system.
>>
>>> Are you building and installing as a different user? Using a different
>>> MAKEOBJDIRPREFIX in build and install?
>> Not at all, just following the /etc/src/UPDATING instructions, as root:
>>
>> # cd /usr/src
>> # svn up
>> # make -j2 buildworld
>> # make -j2 kernel
>> <no reboot in single user>
>> # mergemaster -Fp
>> # make installworld COMPILER_TYPE="clang"
>> <COMPILER_TYPE is required>
>> # mergemaster -Fi
>> # make delete-old
>>
>>> Do you have CCACHE_PATH in your environment?
>> Yes, it is set in /etc/csh.cshrc as indicate the ccache instructions:
>>
>> # echo $CCACHE_PATH
>> /usr/bin:/usr/local/bin
>>
>>> Run 'make ccache-print-options|grep path'. It should have no value.
>> # make ccache-print-options | grep path
>> (environment) path =
>>
>
> Which branch and revision is this?

  11.0-CURRENT r291280 (yesterday).



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