-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Locale dependent buildjar code #1342
Comments
/cc @damienmg How can we fix this properly? |
We could disable the reduced classpath. Or you could do that as a workaround. I think this is the right flag: |
Yep, It would be nice to avoid hard-coding a locale. We might be able to have the reduced classpath compilation emit structured diagnostics, and then do the locale-dependent formatting after checking if fallback was needed. |
Fixes bazelbuild/bazel#1342 -- PiperOrigin-RevId: 145144856 MOS_MIGRATED_REVID=145144856
hasRecognizedError in (bazel/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/ReducedClasspathJavaLibraryBuilder.java ) parses command line output messages, which varies by system language setting. So build failed on my computer with Japanese locale. I could successfully built the binary from scratch when I changed the system language to English on Windows 10, which requires log off and log on.
Possible fix are:
The text was updated successfully, but these errors were encountered: