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

.blazerc mentioned (wrong filename) on import error at bazel startup #22685

Closed
peakschris opened this issue Jun 11, 2024 · 2 comments
Closed
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) team-CLI Console UI type: bug

Comments

@peakschris
Copy link

Description of the bug:

If a .bazelrc file has a error due to failed import, the following message is displayed:

[FATAL 05:46:36.066 src/main/cpp/blaze.cc:1104] Unexpected error reading .blazerc file 'd:\workdir\javaproject2/out/bazelrc/imported.bazelrc':

The error should reference .bazelrc not .blazerc

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 operating system are you running Bazel on?

windows

What is the output of bazel info release?

7.2.0

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

No response

If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.

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

@sgowroji sgowroji added the team-CLI Console UI label Jun 11, 2024
@tjgq tjgq self-assigned this Jun 18, 2024
@tjgq tjgq added P2 We'll consider working on this in future. (Assignee optional) and removed untriaged labels Jun 18, 2024
@fmeum
Copy link
Collaborator

fmeum commented Jun 18, 2024

@bazel-io fork 7.3.0

bazel-io pushed a commit to bazel-io/bazel that referenced this issue Jun 18, 2024
…blazerc" in error messages.

Fixes bazelbuild#22685.

PiperOrigin-RevId: 644377301
Change-Id: I05e7e01f1b4f79c219aa974871efcbc41966966c
github-merge-queue bot pushed a commit that referenced this issue Jun 19, 2024
…cific ".blazerc" in error messages. (#22793)

Fixes #22685.

PiperOrigin-RevId: 644377301
Change-Id: I05e7e01f1b4f79c219aa974871efcbc41966966c

Commit
7b02eaa

Co-authored-by: Googler <tjgq@google.com>
@iancha1992
Copy link
Member

A fix for this issue has been included in Bazel 7.3.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=7.3.0rc1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) team-CLI Console UI type: bug
Projects
None yet
Development

No branches or pull requests

6 participants