ERRO:bazel build tensorflow/python/tools:freeze_graph
0\git clone https://github.com/tensorflow/tensorflow.git
nxt001@ubuntu:~/tensorflow/tensorflow-master$ bazel build tensorflow/python/tools:freeze_graph
.......
ERROR: /home/nxt001/tensorflow/tensorflow-master/tensorflow/BUILD:418:1: no such package '@grpc//': java.io.IOException: thread interrupted and referenced by '//tensorflow:grpc'
ERROR: Analysis of target '//tensorflow/python/tools:freeze_graph' failed; build aborted: Analysis failed
1
nxt001@ubuntu:~/tensorflow/tensorflow-master$ bazel build tensorflow/python/tools:freeze_graph
Starting local Bazel server and connecting to it...
... still trying to connect to local Bazel server after 10 seconds ...
INFO: Invocation ID: ab6e601e-6204-4c18-b46d-fd8071544a65
DEBUG: /home/nxt001/.cache/bazel/_bazel_nxt001/1556042b251b57e36e2c6a7dca180332/external/build_bazel_rules_apple/apple/repositories.bzl:35:5:
WARNING: build_bazel_rules_apple depends on bazel_skylib loaded from https://github.com/bazelbuild/bazel-skylib.git (tag 0.6.0), but we have detected it already loaded into your workspace from None (tag None). You may run into compatibility issues. To silence this warning, pass ignore_version_differences = True to apple_rules_dependencies().
ERROR: /home/nxt001/tensorflow/tensorflow-master/tensorflow/BUILD:418:1: no such package '@grpc//': java.io.IOException: thread interrupted and referenced by '//tensorflow:grpc'
ERROR: Analysis of target '//tensorflow/python/tools:freeze_graph' failed; build aborted: Analysis failed
INFO: Elapsed time: 1136.548s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (184 packages loaded, 8765 targets
configured)
Fetching @grpc; fetching 130s
2\bazel OK
nxt001@ubuntu:~$ bazel version
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
INFO: Invocation ID: fb8ecee4-25a1-452a-941e-1457161e835c
Build label: 0.22.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Mon Jan 28 12:58:08 2019 (1548680288)
Build timestamp: 1548680288
Build timestamp as int: 1548680288
3\bazel build //main:hello-world (OK)
nxt001@ubuntu:~/examples/cpp-tutorial/stage1$ bazel build //main:hello-world
nxt001@ubuntu:~/examples/cpp-tutorial/stage1$ ls
bazel-bin bazel-out bazel-testlogs README.md
bazel-genfiles bazel-stage1 main WORKSPACE
nxt001@ubuntu:~/examples/cpp-tutorial/stage1$ bazel-bin/main/hello-world
Hello world
Sat Feb 16 18:52:08 2019