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 build from cli passes, bazel build from clion fails #7169

Open
stu opened this issue Dec 12, 2024 · 2 comments
Open

bazel build from cli passes, bazel build from clion fails #7169

stu opened this issue Dec 12, 2024 · 2 comments
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: CLion CLion plugin type: bug

Comments

@stu
Copy link

stu commented Dec 12, 2024

Description of the bug:

from CLI, bazel build //... works no errors. build in clion fails.

error loading package 'external': the repository @@intellij_aspect does not exist, but has been specified as overridden with --override_repository. Use --inject_repository instead to add a new repository.

project fails to build.

Which category does this issue belong to?

CLion

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

open the bazel repository examples/cpp-tutorial/stage3 in clion. hit build. fail.

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

clion 2024.3.1

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

No response

What Bazel plugin version are you using?

2024.11.19.0.3-api-version-243

Have you found anything relevant by searching the web?

No response

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

No response

@stu stu added awaiting-maintainer Awaiting review from Bazel team on issues type: bug labels Dec 12, 2024
@github-actions github-actions bot added the product: CLion CLion plugin label Dec 12, 2024
@tpasternak
Copy link
Contributor

Hi, can you please share the result of bazel info release?

@styurin
Copy link

styurin commented Dec 14, 2024

Try this:

echo 7.1.2 > .bazelversion

and run the command again.

Bazel 8.0.0 was released 4 days ago. If you use Bazelisk, it will pick it up automatically unless Bazel version is configured explicitly.

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 product: CLion CLion plugin type: bug
Projects
Status: Untriaged
Development

No branches or pull requests

4 participants