Looks like a sandbox issue. Few Permission denied issues when trying to operate ccache objects in /home/ccache. Reproducible: Always Steps to Reproduce: 1.Try to emerge polybar Using portage-bashrc-mv from mv overlay to set up building environment. All other packages build just fine.
Created attachment 685146 [details] build log
https://github.com/polybar/polybar/blob/d5be8cad97e8582feefc7b8445c02e796bcd98c1/cmake/cxx.cmake#L1
How is ccache being injected into the build? It looks like the build should be able to read/write to CCACHE_DIR: https://github.com/gentoo/portage/blob/master/bin/ebuild.sh#L685
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4364793311421ec7ad7adff94fabe6af5bc9546b commit 4364793311421ec7ad7adff94fabe6af5bc9546b Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2021-02-22 21:28:45 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2021-02-22 21:29:32 +0000 x11-misc/polybar: force off build system CCACHEing Using ccache for builds in Portage should be done via FEATURES=ccache and CCACHE_DIR. Closes: https://bugs.gentoo.org/767949 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: John Helmert III <ajak@gentoo.org> x11-misc/polybar/polybar-3.4.3.ebuild | 4 +++- x11-misc/polybar/polybar-3.5.4.ebuild | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-)