Date: Wed, 4 Sep 2024 22:39:33 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Roger Marquis <marquis@roble.com>, freebsd-ports@freebsd.org Subject: Re: Poudriere vs ccache Message-ID: <364f3746-6bc3-48f6-a86c-7d137ddf3fda@quip.cz> In-Reply-To: <488qqrpq-969s-406r-0s2p-qo3nn549119s@mx.roble.com> References: <488qqrpq-969s-406r-0s2p-qo3nn549119s@mx.roble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?364f3746-6bc3-48f6-a86c-7d137ddf3fda>