-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
I meet the error when bazel build -c opt //:deepmind_lab.so #206
Comments
Which bazel version are you using, and could you try a recent one?
… |
the version of bazel is 0.19.2, because the version of tf installed is 1.13.1. Do I need to upgrade the version of Bazel? |
Please do, the current version is 4.0.0. You can get self-contained binaries from GitHub, but better to use your system's package management if possible (see https://docs.bazel.build/versions/master/install.html), or maybe use something like https://github.com/bazelbuild/bazelisk. |
I have installed v 4.0.0 of Bazel, But another question is raised, any advices?
|
I have paste the complete log, and the error info raised is the following: ERROR: /home/ubuntu/wangxq/projects/lab/BUILD:62:8: Executing genrule //:lcc_dagcheck [for host] failed: (Exit 1): bash failed: error executing command /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/host/bin/lburg engine/code/tools/lcc/src/dagcheck.md > "bazel-out/host/bin/engine/code/tools/lcc/src/dagcheck.c"' ERROR: /home/ubuntu/wangxq/projects/lab/BUILD:766:8 Executing genrule //:vm_pk3 failed: (Exit 1): bash failed: error executing command /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/host/bin/lburg engine/code/tools/lcc/src/dagcheck.md > "bazel-out/host/bin/engine/code/tools/lcc/src/dagcheck.c"' |
Would you mind formatting your output as code so it isn't used as raw markdown? |
Is your source tree clean (check |
I have runned ERROR: /home/ubuntu/wangxq/projects/lab/deepmind/level_generation/BUILD:6:10: Symlinking //deepmind/level_generation:compile_map_sh failed: failed to create symbolic link 'deepmind/level_generation/compile_map_sh': file 'deepmind/level_generation/compile_map.sh' is not executable |
Odd, the file is definitely checked in as executable: https://github.com/deepmind/lab/blob/master/deepmind/level_generation/compile_map.sh I'm not sure what's going on I'm afraid. Maybe try again in a new checkout? |
By the way, I have modified the files:
|
Please, please, format your posts. They're extremely hard and tiring to read. |
Ths. I have successfully complied it by trying again in a new checkout. |
bazel build -c opt //:deepmind_lab.so
ERROR: /home/ubuntu/zz/projects/lab/WORKSPACE:146:1: //external:tree_archive: no such attribute 'repo_mapping' in 'http_archive' rule
ERROR: Skipping '//:deepmind_lab.so': error loading package 'external': Package 'external' contains errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'external': Package 'external' contains errors
The text was updated successfully, but these errors were encountered: