Build fails on Ubuntu 16.04.1
See original GitHub issueI followed the instructions, and got this error when building:
ubuntu@BorisGPUMP2 [ /tmp/sonnet ] (master)
[18:35]: bazel build --config=opt :install
zsh: correct 'build' to 'BUILD' [nyae]? n
.............
WARNING: Config values are not defined in any .rc file: opt
WARNING: /home/ubuntu/.cache/bazel/_bazel_ubuntu/73ef796d701fb86018fd94fe895372e2/external/org_tensorflow/tensorflow/workspace.bzl:72:5: tf_repo_name was specified to tf_workspace but is no longer used and will be removed in the future.
INFO: Found 1 target...
ERROR: /home/ubuntu/.cache/bazel/_bazel_ubuntu/73ef796d701fb86018fd94fe895372e2/external/protobuf/BUILD:241:1: C++ compilation of rule '@protobuf//:js_embed' failed: Process exited with status 1 [sandboxed].
src/main/tools/linux-sandbox-pid1.cc:257: "mount(/tmp/sonnet, tmp/sonnet, NULL, MS_BIND, NULL)": No such file or directory
Use --strategy=CppCompile=standalone to disable sandboxing for the failing actions.
Target //:install failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/ubuntu/.cache/bazel/_bazel_ubuntu/73ef796d701fb86018fd94fe895372e2/external/org_tensorflow/tensorflow/core/BUILD:190:1 C++ compilation of rule '@protobuf//:js_embed' failed: Process exited with status 1 [sandboxed].
INFO: Elapsed time: 8.429s, Critical Path: 0.18s
[18:39]: lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Build fails on Ubuntu 16.04 · Issue #1 - GitHub
The default compiler on Xenial (gcc 5.4.0) does not enable c++11 features by default, therefore the build fails.
Read more >Error building Sagemath8.1 on ubuntu 16.04 while installing
I am having Ubuntu 16.04lts running on intel i3 5th generation. I tried installing sagemath from source but keep receiving error msg:.
Read more >Install Ruby On Rails on Ubuntu 16.04 Xenial Xerus - GoRails
A guide to setting up a Ruby on Rails development environment on Ubuntu 16.04 Xenial Xerus with Git, MySQL, and PostgreSQL.
Read more >XenialXerus/ReleaseNotes/ChangeSummary/16.04.7
This is a brief summary of bugs fixed between Ubuntu 16.04.6 and 16.04.7. This summary covers only changes to packages in main and ......
Read more >docker build fails RUN command at Ubuntu 16.04 but not ...
docker build fails RUN command at Ubuntu 16.04 but not 18.04 with same Docker verison · FROM arm32v7/openjdk:8-jdk-slim WORKDIR /app COPY qemu- ...
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
This, together with #6, made the build succeed, but after installing the wheel file, it seems like it can’t find the native library:
The wheel file also doesn’t contain a native library:
Duplicate of #25 . Also, as pointed out, please move out of the sonnet to import it, as you might be importing only the python dependencies (a fix for this use case is coming in the following days).