Skip to content
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

Extension file not found: 'google/protobuf/protobuf.bzl'. #11

Open
tobigithub opened this issue Nov 26, 2015 · 1 comment
Open

Extension file not found: 'google/protobuf/protobuf.bzl'. #11

tobigithub opened this issue Nov 26, 2015 · 1 comment

Comments

@tobigithub
Copy link
Owner

who knows, tensorflow docker build fail after 1465.329s
using

docker build -t $USER/tensorflow-full -f tensorflow/tensorflow/tools/docker/Dockerfile.cpu .

____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (52495 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53070 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53084 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53098 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53112 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53126 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53140 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53154 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53168 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53182 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53196 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (53468 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (54677 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (55799 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (56632 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (56651 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (57180 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (58554 / 60274)
____[4 / 4] Cloning https://github.com/palantir/plottable.git: Resolving deltas (59943 / 60274)
____Loading package: tensorflow/python
ERROR: /tensorflow/tensorflow/python/BUILD:1: Extension file not found: 'google/protobuf/protobuf.bzl'.
ERROR: /tensorflow/tensorflow/tensorboard/BUILD:43:1: error loading package 'tensorflow/python': Extension file not found: 'google/protobuf/protobuf.bzl' and referenced by '//tensorflow/tensorboard:tensorboard'.
ERROR: Loading failed; build aborted.
____Elapsed time: 1465.329s
The command '/bin/sh -c bazel clean &&     bazel build -c opt tensorflow/tools/pip_package:build_pip_package &&     bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/pip &&     pip install --upgrade /tmp/pip/tensorflow-*.whl' returned a non-zero code: 1

@tobigithub
Copy link
Owner Author

tensorflow documention is wrong at https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/docker use

$ git clone --recurse-submodules https://github.com/tensorflow/tensorflow
$ sudo docker build -t $USER/tensorflow-full -f tensorflow/tensorflow/tools/docker/Dockerfile.cpu .

to build docker module

ubuntu@ubuntu-virtual-machine:~$ git clone --recurse-submodules https://github.com/tensorflow/tensorflowCloning into 'tensorflow'...
remote: Counting objects: 6044, done.
remote: Compressing objects: 100% (325/325), done.
remote: Total 6044 (delta 44), reused 0 (delta 0), pack-reused 5713
Receiving objects: 100% (6044/6044), 18.57 MiB | 591.00 KiB/s, done.
Resolving deltas: 100% (3231/3231), done.
Checking connectivity... done.
Submodule 'google/protobuf' (https://github.com/google/protobuf.git) registered for path 'google/protobuf'
Cloning into 'google/protobuf'...
remote: Counting objects: 28561, done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 28561 (delta 19), reused 0 (delta 0), pack-reused 28501
Receiving objects: 100% (28561/28561), 32.31 MiB | 600.00 KiB/s, done.
Resolving deltas: 100% (19535/19535), done.
Checking connectivity... done.
Submodule path 'google/protobuf': checked out '55ad57a235c009d0414aed1781072adda0c89137'
ubuntu@ubuntu-virtual-machine:~$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant