Created attachment 775248 [details, diff] Quick-fix turning off ccache in spirv-llvm-translator-13.0.0-r2.ebuild Building dev-util/spirv-llvm-translator-13.0.0-r2 yields numerous sandbox violations when it detects ccache to be available on the system. On the other hand, when turning off ccache (using the package-specific -DCCACHE_ALLOWED=OFF in mycmakeargs), ccache as provided by portage is not used either - this packages CMake then directly uses the compiler from /usr/bin, bypassing ccache. I know how to get it to compile, see patch attached; I don't know how to deal with this better so it would honor the portage-wide ccache preference.
Yeah, it shouldn't be automagically using ccache at all.
Created attachment 775251 [details] Build log of unpatched ebuild w/ ccache on the system
Seems be new :S (I have indeed ccache enabled)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc043f55a905146dacb5c737c1f31f442176f41d commit fc043f55a905146dacb5c737c1f31f442176f41d Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2022-04-29 20:19:27 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2022-04-29 20:19:27 +0000 dev-util/spirv-llvm-translator: disable ccache Closes: https://bugs.gentoo.org/841518 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-util/spirv-llvm-translator/spirv-llvm-translator-13.0.0-r2.ebuild | 4 +++- dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-)