bazel build //tensorflow/tools/android/inference_interface:libtensorflow_inference.so --crosstool_top=//external:android/crosstool --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cpu=armeabi-v7a
INFO: Repository 'go_sdk' used the following cache hits instead of downloading the corresponding file.
* Hash 'aea86e3c73495f205929cfebba0d63f1382c8ac59be081b6351681415f4063cf' for
https://dl.google.com/go/go1.12.5.linux-amd64.tar.gzIf the definition of 'go_sdk' was updated, verify that the hashes were also updated.
ERROR: An error occurred during the fetch of repository 'go_sdk':
Traceback (most recent call last):
File "/home/shiyalun/.cache/bazel/_bazel_shiyalun/e734bd7599f02ff604855d4be6fbc13c/external/io_bazel_rules_go/go/private/sdk.bzl", line 51, column 16, in _go_download_sdk_impl
_remote_sdk(ctx, [url.format(filename) for url in ctx.attr.urls], ctx.attr.strip_prefix, sha256)
File "/home/shiyalun/.cache/bazel/_bazel_shiyalun/e734bd7599f02ff604855d4be6fbc13c/external/io_bazel_rules_go/go/private/sdk.bzl", line 128, column 17, in _remote_sdk
fail("error extracting Go SDK:\n" + res.stdout + res.stderr)
Error in fail: error extracting Go SDK:
Timed out
ERROR: Analysis of target '//tensorflow/tools/android/inference_interface:libtensorflow_inference.so' failed; build aborted: error extracting Go SDK: