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 shows bogus WARNING for the rc files, if they are symlinks. #6469
Comments
This is a small enough use-case that I don't want to risk a breakage due to cherrypick. We should try and address it for 0.20, however. |
I'm getting the same error message for non-symlinks on Windows with Bazel 0.19.0:
|
Same as @baskus. Can somebody please confirm this is not the intended behaviour? |
Assigning to @dslomov to decide if this is a blocker for 0.20 |
/sub, this is causing confusing issues on the Mac too. The system_rc is
|
Description of the problem / feature request:
Bazel shows bogus
WARNING
for the rc files, if they are symlinks:But the rc file is correctly processed, as seen in the reproduction below.
Note that this is new in
0.19rc6
and there is no warning in0.18
.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
What operating system are you running Bazel on?
Linux.
What's the output of
bazel info release
?Any other information, logs, or outputs that you want to share?
Backstory (mostly irrelevant to the actual issue):
The
.bazelrc
symlink totools/bazel.rc
was added to ease the migration instead ofimport %workspace%/tools/bazel.rc
suggested in #6319, since we have projects (e.g. https://github.com/envoyproxy/envoy-filter-example) importing the main project (https://github.com/envoyproxy/envoy) as a submodule and linking to itstools/bazel.rc
, soimport
breaks, because workspace-relative location changes.The text was updated successfully, but these errors were encountered: