From owner-freebsd-current@freebsd.org Wed Nov 25 21:05:42 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71257A37E23 for ; Wed, 25 Nov 2015 21:05:42 +0000 (UTC) (envelope-from listjm@club.fr) Received: from smtp25.services.sfr.fr (smtp25.services.sfr.fr [93.17.128.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38168108B; Wed, 25 Nov 2015 21:05:41 +0000 (UTC) (envelope-from listjm@club.fr) Received: from filter.sfr.fr (localhost [78.118.197.112]) by msfrf2507.sfr.fr (SMTP Server) with ESMTP id 8BCEB700006A; Wed, 25 Nov 2015 22:00:03 +0100 (CET) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=listjm@club.fr Received: from [192.168.1.51] (112.197.118.78.rev.sfr.net [78.118.197.112]) by msfrf2507.sfr.fr (SMTP Server) with ESMTP id 537BF700004D; Wed, 25 Nov 2015 22:00:03 +0100 (CET) X-SFR-UUID: 20151125210003342.537BF700004D@msfrf2507.sfr.fr Subject: Re: freebsd-current compile with clang & ccache To: Bryan Drewery , FreeBSD-Current References: <5655F93F.2050706@juanmolina.eu> <56560304.4080501@FreeBSD.org> From: Juan =?iso-8859-1?b?UmFt824=?= Molina Menor Message-ID: <5656214B.5000101@club.fr> Date: Wed, 25 Nov 2015 21:59:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56560304.4080501@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2015 21:05:42 -0000 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 # mergemaster -Fp # make installworld COMPILER_TYPE="clang" # 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 = Best regards, Juan