You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Ubuntu 14.04 and bazel 0.1.1. I got the same error when building the pip package:
bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
I added the option "--genrule_strategy=standalone" and it worked again now. I didn't try the option "--spawn_strategy=standalone" (they're the same?). Thanks a lot for the help.
bazel build -c opt //tensorflow/cc:tutorials_example_trainer --verbose_failures
INFO: Found 1 target...
INFO: From Executing genrule @jpeg_archive//:configure [for host]:
unshare failed with EINVAL even after 101 tries, giving up.
ERROR: /root/.cache/bazel/_bazel_root/73f6290c46c3f436a04f635e253824f5/external/jpeg_archive/BUILD:67:1: Executing genrule @jpeg_archive//:configure failed: bash failed: error executing command
(cd /root/.cache/bazel/_bazel_root/73f6290c46c3f436a04f635e253824f5/tensorflow &&
exec env -
PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/root/bin
/bin/bash -c 'source tools/genrule/genrule-setup.sh; pushd external/jpeg_archive/jpeg-9a; workdir=$(mktemp -d -t tmp.XXXXXXXXXX); cp -a * $workdir; pushd $workdir; ./configure; popd; popd; cp $workdir/jconfig.h bazel-out/host/genfiles/external/jpeg_archive/jpeg-9a; rm -rf $workdir;'): bash failed: error executing command
(cd /root/.cache/bazel/_bazel_root/73f6290c46c3f436a04f635e253824f5/tensorflow &&
exec env -
PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/root/bin
/bin/bash -c 'source tools/genrule/genrule-setup.sh; pushd external/jpeg_archive/jpeg-9a; workdir=$(mktemp -d -t tmp.XXXXXXXXXX); cp -a * $workdir; pushd $workdir; ./configure; popd; popd; cp $workdir/jconfig.h bazel-out/host/genfiles/external/jpeg_archive/jpeg-9a; rm -rf $workdir;').
Target //tensorflow/cc:tutorials_example_trainer failed to build
INFO: Elapsed time: 23.353s, Critical Path: 22.21s
The text was updated successfully, but these errors were encountered: