Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2024 19:03:57 -0700 (PDT)
From:      Roger Marquis <marquis@roble.com>
To:        freebsd-ports@freebsd.org
Subject:   Poudriere vs ccache
Message-ID:  <488qqrpq-969s-406r-0s2p-qo3nn549119s@mx.roble.com>

next in thread | raw e-mail | index | archive | help
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?

Roger Marquis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?488qqrpq-969s-406r-0s2p-qo3nn549119s>