From owner-freebsd-current@freebsd.org Wed Nov 25 19:47:35 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 40228A3796A for ; Wed, 25 Nov 2015 19:47:35 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0477B15DE; Wed, 25 Nov 2015 19:47:34 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from um-excht-a01.um.gwdg.de ([134.76.11.221] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1a1g2O-0005Vs-N5; Wed, 25 Nov 2015 20:47:32 +0100 Received: from krabat.raven.hur (79.210.253.100) by email.gwdg.de (134.76.9.210) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 25 Nov 2015 20:47:32 +0100 Subject: Re: freebsd-current compile with clang & ccache To: Bryan Drewery , FreeBSD-Current References: <5655F93F.2050706@juanmolina.eu> <56560304.4080501@FreeBSD.org> <56560D62.7060205@gwdg.de> <56560DE7.3080608@FreeBSD.org> From: Rainer Hurling Message-ID: <56561053.5040002@gwdg.de> Date: Wed, 25 Nov 2015 20:47:31 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <56560DE7.3080608@FreeBSD.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Spam-Level: - X-Virus-Scanned: (clean) by clamav 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 19:47:35 -0000 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.