Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ujohnny opened this issue Dec 17, 2024 · 0 comments
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues bazel 8 type: bug

Comments

@ujohnny
Copy link
Collaborator

ujohnny commented Dec 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues bazel 8 type: bug
Projects
Status: Untriaged
Development

No branches or pull requests

6 participants