Skip to content

Bazel version downgrade from 8 to 7 leads to Unrecognized option: --inject_repository #7184

@ujohnny

Description

@ujohnny

Description of the bug:

  1. Sync project with Bazel 8.
  2. Change Bazel version to 7.4.1 in .bazelversion
  3. Do sync

Leads to error

Updating VCS...
Running Bazel info...
Command: bazelisk info --tool_tag=ijwb:CLion --color=yes --progress_in_terminal_title=no --inject_repository=intellij_aspect=/home/evgenii/.cache/JetBrains/IntelliJIdea2024.3/plugins-sandbox/plugins/clwb/aspect --inject_repository=intellij_aspect_template=/home/evgenii/triage/bazel-project-sample/.clwb/.idea/aspect --inject_repository=intellij_aspect=/home/evgenii/.cache/JetBrains/IntelliJIdea2024.3/plugins-sandbox/plugins/clwb/aspect --inject_repository=intellij_aspect_template=/home/evgenii/triage/bazel-project-sample/.clwb/.idea/aspect --define=_cpp_use_get_tool_for_action=true bazel-bin bazel-genfiles bazel-testlogs execution_root package_path output_path output_base release starlark-semantics java-home --
Starting local Bazel server and connecting to it...
ERROR: --inject_repository=intellij_aspect=/home/evgenii/.cache/JetBrains/IntelliJIdea2024.3/plugins-sandbox/plugins/clwb/aspect :: Unrecognized option: --inject_repository=intellij_aspect=/home/evgenii/.cache/JetBrains/IntelliJIdea2024.3/plugins-sandbox/plugins/clwb/aspect

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

No response

Which Intellij IDE are you using? Please provide the specific version.

No response

What programming languages and tools are you using? Please provide specific versions.

No response

What Bazel plugin version are you using?

033983e

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions