tensorboard 2.0.0 doesn't build with bazel 0.29.1
See original GitHub issueI can’t build tensorboard 2.0.0 with bazel 0.29.1:
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
WARNING: Download from https://mirror.bazel.build/nodejs.org/dist/v10.16.0/node-v10.16.0-linux-x64.tar.xz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Analyzing: target //tensorboard:tensorboard (1 packages loaded)
Analyzing: target //tensorboard:tensorboard (1 packages loaded, 0 targets configured)
INFO: Call stack for the definition of repository 'com_google_protobuf' which is a tf_http_archive (rule definition at /build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl:124:19):
- /build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/tensorflow/workspace.bzl:429:5
- /build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/tensorflow/workspace.bzl:58:5
- /build/tensorboard/src/tensorboard-2.0.0/WORKSPACE:96:1
ERROR: An error occurred during the fetch of repository 'com_google_protobuf':
Traceback (most recent call last):
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 104
_apply_patch(ctx, ctx.attr.patch_file)
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 71, in _apply_patch
_execute_and_check_ret_code(ctx, cmd)
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 52, in _execute_and_check_ret_code
fail("Non-zero return code({1}) when ...))
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 52, in fail
"Non-zero return code({1}) when executing '{0}':\nStdout: {2}\nStderr: {3}".format(" ".join(cmd_and_args), result.ret..., <2 more arguments>)
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 54, in "Non-zero return code
" ".join(cmd_and_args)
sequence element must be a string (got 'path'). See https://github.com/bazelbuild/bazel/issues/7802 for information about --incompatible_string_join_requires_strings.
ERROR: /build/tensorboard/src/tensorboard-2.0.0/tensorboard/BUILD:215:1: //tensorboard:dynamic_plugins depends on //tensorboard/plugins/projector:projector_plugin in repository @ which failed to fetch. no such package '@com_google_protobuf//': Traceback (most recent call last):
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 104
_apply_patch(ctx, ctx.attr.patch_file)
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 71, in _apply_patch
_execute_and_check_ret_code(ctx, cmd)
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 52, in _execute_and_check_ret_code
fail("Non-zero return code({1}) when ...))
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 52, in fail
"Non-zero return code({1}) when executing '{0}':\nStdout: {2}\nStderr: {3}".format(" ".join(cmd_and_args), result.ret..., <2 more arguments>)
File "/build/.cache/bazel/_bazel_builduser/16a9d96650c79965c8c2ccb42c1699ae/external/org_tensorflow/third_party/repo.bzl", line 54, in "Non-zero return code
" ".join(cmd_and_args)
sequence element must be a string (got 'path'). See https://github.com/bazelbuild/bazel/issues/7802 for information about --incompatible_string_join_requires_strings.
ERROR: Analysis of target '//tensorboard:tensorboard' failed; build aborted: Analysis failed
INFO: Elapsed time: 77.813s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (30 packages loaded, 128 targets configured)
FAILED: Build did NOT complete successfully (30 packages loaded, 128 targets configured)
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Building TensorFlow 2 with bazel 0.29.1 on Windows 10 fails
I suspect the space in the Python path. Try this: open cmd.exe. create a junction c:\python pointing to the real Python directory:
Read more >Build from source on Windows - Install - TensorFlow
Install Bazel, the build tool used to compile TensorFlow. ... that look like Unix paths to Windows paths, and this doesn't work with...
Read more >bazelrc - Google Git
TensorFlow Bazel configuration file. # This file tries to group and simplify build options for TensorFlow. #. # ----CONFIG OPTIONS----. # Android options:....
Read more >Installing Bazel on Ubuntu
Step 2: Install and update Bazel ... This installs Bazel 1.0.0 as /usr/bin/bazel-1.0.0 on your system. This can be useful if you need...
Read more >Package List — Spack 0.20.0.dev0 documentation
Versions: 2.0.1, 2.0.0, 1.9.3, 1.9.2; Build Dependencies: java, maven ... 2.0.1, 2.0.0, 1.2.1, 1.2.0, 1.1.0, 1.0.1, 1.0.0, 0.29.1, 0.29.0, 0.28.1, 0.28.0, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For me, the patch command was missing
yum install patch
fixed the issueThanks! It helps me solve the problem.