Summary: | bazel.eclass: dev-build/bazel builds fail when CCACHE enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Susan Wilson <susanw> |
Component: | Eclasses | Assignee: | Jason Zaman <perfinion> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs.gentoo.org, chn, dan, jstein, kfm, leonchik1976, soap |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 922374 |
Description
Susan Wilson
2021-07-27 23:53:19 UTC
I have found a solution: set `cache_dir` in `/etc/ccache.conf`, like this: ``` cache_dir=/var/cache/ccache max_size=300G umask=002 compiler_check=%compiler% -v compress=false ``` I am not familiar with bazel too and I have tried to pass `CCACHE_DIR` and `-d $CCACHE_DIR` into bazel but all get failed, only this method works. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8876dc1db3205682d1ed8543b7fef1ce2b619874 commit 8876dc1db3205682d1ed8543b7fef1ce2b619874 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2024-02-24 12:55:07 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2024-02-24 12:55:07 +0000 Remove bazel.eclass Closes: https://bugs.gentoo.org/804690 Bug: https://bugs.gentoo.org/804690 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> eclass/bazel.eclass | 227 ---------------------------------------------------- 1 file changed, 227 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8876dc1db3205682d1ed8543b7fef1ce2b619874 commit 8876dc1db3205682d1ed8543b7fef1ce2b619874 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2024-02-24 12:55:07 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2024-02-24 12:55:07 +0000 Remove bazel.eclass Closes: https://bugs.gentoo.org/804690 Bug: https://bugs.gentoo.org/804690 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> eclass/bazel.eclass | 227 ---------------------------------------------------- 1 file changed, 227 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c68172926bdaff7eb20553509c4f00196e98b07a commit c68172926bdaff7eb20553509c4f00196e98b07a Author: Huang Rui <vowstar@gmail.com> AuthorDate: 2024-02-25 16:04:05 +0000 Commit: Huang Rui <vowstar@gmail.com> CommitDate: 2024-02-25 16:04:19 +0000 sci-electronics/verible: treeclean bazel eclass dropped from ::gentoo Bug: https://bugs.gentoo.org/804690 Signed-off-by: Huang Rui <vowstar@gmail.com> sci-electronics/verible/Manifest | 42 -------- sci-electronics/verible/metadata.xml | 31 ------ sci-electronics/verible/verible-0.0.3420.ebuild | 121 ------------------------ sci-electronics/verible/verible-0.0.3430.ebuild | 121 ------------------------ 4 files changed, 315 deletions(-) |