-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 fails to find local_config_cc for gRPC #6813
Comments
As an addendum, I've built this with three BAZEL environment configurations:
Unfortunately, it doesn't seem like any of the above are working, so I'm not sure there is a configuration problem? |
The issue is not about your Visual C++ installation, it is caused by
I am guessing that |
Starting from 0.20.0, Bazel won't fail when |
Hi @rongjiecomputer, I changed the BAZEL_SH to point to that, and I get the same message. I ran a clean --expunge, and then tried again with
EDIT: Sorry @meteorcloudy, I hadn't seen your post. I tried to update via chocolatey but this actually breaks and cannot find the python package.
|
Can you try |
Hi @meteorcloudy, This was done after a ~Jon |
@JonMcDevitt Can you show me more error message? |
ME TOO,On linux |
I tried |
Description of the problem / feature request:
When calling
bazel build :all
, cannot find package '@local_config_cc'. Currently I am unsure whether this is a gRPC issue or whether this is an issue stemming from the Chocolatey installation of bazel.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?
Windows 10
What's the output of
bazel info release
?WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
d:\perforce\jmcdevitt_development\apps\testapp\thirdparty\grpc/.bazelrc
d:\perforce\jmcdevitt_development\apps\testapp\thirdparty\grpc/tools/bazel.rc
release 0.19.2
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.Not applicable.
What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?git remote get-url origin - https://github.com/grpc/grpc
git rev-parse master - b88dfc227cd8c9ceeb7797b3265905a93880a077
git rev-parse HEAD - b88dfc227cd8c9ceeb7797b3265905a93880a077
Have you found anything relevant by searching the web?
I have tried a variety of google searches, but none of the results seem to be working as workarounds. In particular, issue 3063 seemed promising, but it is closed, and could specifically be XCode related.
Any other information, logs, or outputs that you want to share?
My bazel environment variables:
BAZEL_SH=C:\Windows\System32\bash.exe
BAZEL_VC=D:\dev\VisualStudio\VisualStudioPro2015\VC
BAZEL_VS=D:\dev\VisualStudio\VisualStudioPro2015
"Stack Trace"
References
The text was updated successfully, but these errors were encountered: