Skip to content

Communication's exports break ide_support #103

@PiotrKorkus

Description

@PiotrKorkus

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:
https://github.com/eclipse-score/communication/blob/8c1f29e1c6f0ae2f1d8e4096c37c42a8c38b04bb/quality/sanitizer/sanitizers_functional_test.sh#L25

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.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Draft

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions