bazel-contrib / bazel-contrib/rules_oci

2.2.7: runfiles.bash initializer cannot find

Open
#874 6 comments 6 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.