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

CLion cannot fetch Xcode information with bazel 8 #6604

Open
LeFrosch opened this issue Jul 31, 2024 · 0 comments · May be fixed by #7193
Open

CLion cannot fetch Xcode information with bazel 8 #6604

LeFrosch opened this issue Jul 31, 2024 · 0 comments · May be fixed by #7193
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues bazel 8 product: CLion CLion plugin type: bug

Comments

@LeFrosch
Copy link
Collaborator

Description of the bug:

Sync complete but issues warning:

Warning:There was an error fetching the Xcode information from the build: com.google.idea.blaze.cpp.XcodeCompilerSettingsProvider$XcodeCompilerSettingsException: Could not get a usable Xcode version from cquery output: 
Some C++ functionality may not be available.

Seems to be because XcodeProperties was replaced by XcodeVersionPropertiesInfo which causes the cquery in XcodeCompilerSettingsProviderImpl to fail.

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.

Sync any C project with bazel-8.0.0-pre.20240718.2-darwin-arm64.

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?

No response

Have you found anything relevant by searching the web?

No response

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

No response

@LeFrosch LeFrosch added type: bug product: CLion CLion plugin awaiting-maintainer Awaiting review from Bazel team on issues labels Jul 31, 2024
@LeFrosch LeFrosch self-assigned this Jul 31, 2024
ujohnny added a commit that referenced this issue Dec 17, 2024
ujohnny added a commit that referenced this issue Dec 18, 2024
Bazel 8 introduced new provider located in apple_common module,
which is not available in cquery context, so the implementation
was updated to just find a provider with required attributes to
make implementation also work for bazel 7 and older

fixes #6604
@ujohnny ujohnny linked a pull request Dec 18, 2024 that will close this issue
3 tasks
LeFrosch pushed a commit to LeFrosch/intellij-bazel that referenced this issue Jan 7, 2025
Bazel 8 introduced new provider located in apple_common module,
which is not available in cquery context, so the implementation
was updated to just find a provider with required attributes to
make implementation also work for bazel 7 and older

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

Successfully merging a pull request may close this issue.

2 participants