bazel-contrib / bazel-contrib/rules_oci
2.2.7: runfiles.bash initializer cannot find
Open
- Dominant language
- Starlark
- Stars
- 423
- Forks
- 213
- Avg merge
- 53m
- Merged PRs (30d)
- 1
Description
ERROR: runfiles.bash initializer cannot find bazel_tools/tools/bash/runfiles/runfiles.bash. An executable rule may have forgotten to expose it in the runfiles, or the binary may require RUNFILES_DIR to be set.
bazel 8.1.0
Contributor guide
Research direction
Start by reproducing the failure with Bazel 8.1.0 and inspect how the executable rule exposes bazel_tools/tools/bash/runfiles/runfiles.bash. Check whether RUNFILES_DIR is set in the failing context; done means the initializer can locate runfiles.bash without the reported error.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100