First, it showed WARNING:
leaves Building Bazel from scratch…
leaves Building Bazel with Bazel.
.WARNING: /tmp/bazel_aa6GUqlR/out/external/bazel_tools/WORKSPACE:1: Workspace name in /tmp/bazel_aa6GUqlR/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository’s definition (@bazel_tools); this will cause a build error in future versions.
WARNING: /home/nvidia/bazel-0.5.2-dist/tools/build_defs/docker/docker.bzl:19:1: The docker_{build,bundle} rules bundled with Bazel are deprecated in favor of:
GitHub - bazelbuild/rules_docker: Rules for building and handling Docker images with Bazel. Please change BUILD loads to reference: @io_bazel_rules_docker//docker:docker.bzl and add the following to your WORKSPACE:
git_repository(
name = “io_bazel_rules_docker”,
remote = “https://github.com/bazelbuild/rules_docker.git”,
commit = “…”,
)
load(“@io_bazel_rules_docker//docker:docker.bzl”, “docker_repositories”)
docker_repositories().
.
.
.
Then, it showed an Error:
ERROR: /home/nvidia/bazel-0.5.2-dist/src/main/protobuf/BUILD:27:2: Building src/main/protobuf/libextra_actions_base_proto-speed.jar (1 source jar) failed: Worker process sent response with exit code: 1.
java.lang.InternalError: Cannot find requested resource bundle for locale en_US
at com.sun.tools.javac.util.JavacMessages.getBundles(JavacMessages.java:128)
at com.sun.tools.javac.util.JavacMessages.getLocalizedString(JavacMessages.java:147)
at com.sun.tools.javac.util.JavacMessages.getLocalizedString(JavacMessages.java:140)
at com.sun.tools.javac.util.Log.localize(Log.java:788)
.
.
.
.
INFO: Elapsed time: 490.697s, Critical Path: 115.21s
ERROR: Could not build Bazel
cp: cannot stat ‘output/bazel’: No such file or directory
What could be the reason ?