-
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 crashes with internal error when building cc_binary #14548
Comments
Seems like an encoding problem. |
I've tried it in fresh container and it works there. So it might be caused by
|
Can reproduce this also on Arch, opened https://bugs.archlinux.org/task/73407 since it may well be a default configuration in Arch linux. |
As noticed in the Arch tracker by loqs, the issue in my case was the wrong java version chosen as default, if the OP confirms this may be closed |
Yep, same here. |
I'm running into this on Ubuntu. Using |
Shouldn't it be java-11-openjdk? |
Sorry yes that is what I meant. I have updated my comment. |
Hello @graywolf-at-work, Could you please verify the above issue with the latest Bazel release 5.2.0. Am not able to reproduce with the latest version. Thank you! |
Not graywolf, but for me updating to release just now 5.2.0 fixed the issue. |
Thank you for responding quickly. We are closing this issue now. Please feel free to reach us if you still have any queries w.r.t the above request. Thanks! |
Still getting this issue on Fedora 37 with bazel 5.4.0 from the vbatts/bazel copr |
Same here |
FWIW, I'm also seeing this reliably happen when trying to build Bazel 6.3.2 with jdk-17.0.9 on OpenBSD 7.4.
|
Description of the problem / feature request:
I decided to give bazel a try and wanted to build a cc_binary. However bazel crashes with:
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?
Up to date archlinux.
What's the output of
bazel info release
?What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?Have you found anything relevant by searching the web?
No.
Any other information, logs, or outputs that you want to share?
No, I don't know much about bazel (yet), so I do not know what would be useful. However I'm happy to provide any necessary information if requested.
The text was updated successfully, but these errors were encountered: