-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
Description
Repositories that have dependency to score_communication are facing issue when building docs with bazel build //:docs
During execution an error in ide_support is reported:
File "/home/pko/.cache/bazel/_bazel_pko/3c6e3ebec6d1f13bc4ad8e79f49ea7cf/execroot/_main/bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/score_process+/sphinx_build.runfiles/score_docs_as_code+/src/extensions/score_plantuml.py", line 64, in get_runfiles_dir
sys.exit(
SystemExit: Could not find runfiles_dir at /home/pko/.cache/bazel/_bazel_pko/3c6e3ebec6d1f13bc4ad8e79f49ea7cf/execroot/_main/bazel-bin/ide_support.runfiles. Have a look at README.md for instructions on how to build docs.
It turns out bazel cannot find runfiles in expected directories and it happens due to the script in communications:
| export RUNFILES_DIR="$0.runfiles" |
In which RUNFILES_DIR is set messing later execution of ide_support.
Commenting out bazel_dep to communication solves the issue and both ide_support and docs pass.
Error Occurrence Rate
None
How to reproduce
e.g.
https://github.com/eclipse-score/persistency/actions/runs/21214394044/job/61151306834?pr=172
Supporting Information
eclipse-score/tooling#103
eclipse-score/docs-as-code#295
eclipse-score/docs-as-code#304
Classification
minor
Affected Version
0.5
Expected Closure Version
0.5
Category
- Safety Related
- Security Related
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done