Some Ruby ports fails with ccache
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Sep 2026 12:47:39 UTC
Hi, I am using ccache in my environment to speed up port builds, however, some ports fails to pass poudriere builds when using ccache, disabling it temporarily fixes the problem. I am wondering the reason. Poudriere.conf: CCACHE_DIR=/var/cache/ccache CCACHE_DIR_NON_ROOT_SAFE=yes BUILD_AS_NON_ROOT=yes PORTBUILD_USER=yusuf PORTBUILD_GROUP=yusuf PORTBUILD_UID=2005 PORTBUILD_GID=2005 The user/group numbers same as on my host and ccache directory is owned by the same. # ls -1 /userdata/usr/local/poudriere/data/logs/bulk/144amd64-main/2026-09-23_15h34m57s/logs/errors/ rubygem-erb-6.0.7.log rubygem-json-2.21.2.log rubygem-prism-1.9.0.log rubygem-racc-1.8.1.log rubygem-rugged-1.9.6.log Mostly throwing this error below in all logs. ccache: error: Failed to create directory /var/cache/ccache/tmp: Permission denied Thanks in advance.