google / google/oss-fuzz

Chronos: Chronos ccache incompatible with Bazel build

Open
#14,801 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
12.6k
Forks
2.9k
Avg merge
2d 2h
Merged PRs (30d)
62

Description

It has been discovered that the Chronos ccache approach, which reuses a local cache directory to avoid rebuilding the project during the check test process, is incompatible with the Bazel build system. This causes projects with Bazel builds to fail to complete the check test process despite the success on normal fuzzing build and execution. A temporary workaround in #14793 demonstrates that it can be addressed by using sed to remove the ccache path from the PATH environment variable and forcing a rebuild each time without using the ccache. However, it is considered better to fix this at the Chronos level. Hence, this issue has been created to mark the need for Chronos fixes for this issue.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by inspecting Chronos's ccache handling and compare it with the temporary workaround in #14793, focusing on Bazel check test execution. Done means Bazel-based projects complete the check test process without removing the ccache path or forcing a rebuild each time.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.