From nobody Wed Sep 04 20:39:33 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WzZ9P4HPpz5VLPF for ; Wed, 04 Sep 2024 20:39:37 +0000 (UTC) (envelope-from SRS0=NjJA=QC=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 4WzZ9P1cDRz4NJS for ; Wed, 4 Sep 2024 20:39:37 +0000 (UTC) (envelope-from SRS0=NjJA=QC=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 214AAD78AC; Wed, 4 Sep 2024 22:39:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1725482375; bh=ZO+9DPrdOBRylbjCB/lY4cCI4p+5Tf+npIhCj4FQ3lY=; h=Date:Subject:To:References:From:In-Reply-To; b=2OvY/HXwbcvcfFEN5ig2MwvsMRJZt45ecvsQvivH7SunLJlHbM26ZeKe74ngw5MeE QCusphcTkyemSiL7guZ7LvKDSOaOwpoiN68Qihjd4YujsYXEJ/Te+7v0Se02/irryc oGNGKPmM6yfiTwCZzCgU7LSIDGfUixiQ9z467CcM= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 39484D78A8; Wed, 4 Sep 2024 22:39:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1725482374; bh=ZO+9DPrdOBRylbjCB/lY4cCI4p+5Tf+npIhCj4FQ3lY=; h=Date:Subject:To:References:From:In-Reply-To; b=hv9uV2d3oCq05odl6RQMwKy8sQvUMWOwlag8LYCTj73N5Q0zgcIWvtD4gDttm5Rf1 Rs+llMGanBIn3/+Nh/9kqsNMimxprOfha7Lqbqu+H6w2eryC5ZmDAsyzXQzX9O30WN yj7dGF0+f9MxT1yyR+WLC7x66XECRroMOJGnM6bI= Message-ID: <364f3746-6bc3-48f6-a86c-7d137ddf3fda@quip.cz> Date: Wed, 4 Sep 2024 22:39:33 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Poudriere vs ccache To: Roger Marquis , freebsd-ports@freebsd.org References: <488qqrpq-969s-406r-0s2p-qo3nn549119s@mx.roble.com> Content-Language: cs-Cestina From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <488qqrpq-969s-406r-0s2p-qo3nn549119s@mx.roble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4WzZ9P1cDRz4NJS On 04/09/2024 04:03, Roger Marquis wrote: > Am seeing a CCACHE error in Poudriere since moving to a new disk > (permissions are the same): > >   ccache: error: Failed to create temporary file for > /root/.ccache/tmp/opt.stdout: Permission denied > > Now you'd think having CCACHE_DIR=/var/cache/ccache in make.conf and > poudriere.conf would address this but it does not.  What I also have is: > >   etc/make.conf:CCACHE_BUILD=yes >   etc/make.conf:CCACHE_DIR=/var/cache/ccache >   etc/make.conf:SCCACHE_DIR=/var/cache/ccache >   etc/make.conf:OVERLAYS+=/var/cache/ccache/overlay >   etc/make.conf:CCACHE_SIZE="50.0G" >   poudriere.conf:CCACHE_DIR=/var/cache/ccache >   poudriere.conf:CCACHE_DIR_NON_ROOT_SAFE=yes >   poudriere.conf:ALLOW_MAKE_JOBS_PACKAGES="pkg ccache py*" >   /var/cache/ccache/ccache.conf:cache_dir = /var/cache/ccache >   /var/cache/ccache/ccache.conf:base_dir = /var/cache/ccache >   /var/cache/ccache/ccache.conf:hash_dir = false >   /var/cache/ccache/ccache.conf:max_size = 50.0G > > Probably not all of these settings are necessary but then there is > conflicting info on various websites. > > Can anyone see what might be breaking ccache here or recommend > additional debugging? In the past months I've tried ccache in poudriere, but I also got random permission errors like you. Running poudriere bulk again completed without error, even though I didn't change anything in the poudriere configuration. After 4 or 5 months with ccache enabled, I turned it off. It only brought me more trouble. Kind regards Miroslav Lachman