Skip to content

Instantly share code, notes, and snippets.

@allwefantasy
Created December 5, 2019 03:55
Show Gist options
  • Save allwefantasy/71f3525f7d4a7f685dc2896859725921 to your computer and use it in GitHub Desktop.
Save allwefantasy/71f3525f7d4a7f685dc2896859725921 to your computer and use it in GitHub Desktop.
Compiling ray project in MacOS Mojave 10.14.3 fails
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/boost/_objs/thread/tss_null.pic.o has no symbols
INFO: From Executing genrule //java:copy_pom_file:
++ pwd
+ WORK_DIR=/private/var/tmp/_bazel_allwefantasy/d9828fb34c7df6183e7947acf9798356/execroot/com_github_ray_project_ray
+ cp -f bazel-out/darwin-opt/bin/java/org_ray_ray_api_pom.xml /private/var/tmp/_bazel_allwefantasy/d9828fb34c7df6183e7947acf9798356/execroot/com_github_ray_project_ray/java/api/pom.xml
+ cp -f bazel-out/darwin-opt/bin/java/org_ray_ray_runtime_pom.xml /private/var/tmp/_bazel_allwefantasy/d9828fb34c7df6183e7947acf9798356/execroot/com_github_ray_project_ray/java/runtime/pom.xml
+ cp -f bazel-out/darwin-opt/bin/java/org_ray_ray_tutorial_pom.xml /private/var/tmp/_bazel_allwefantasy/d9828fb34c7df6183e7947acf9798356/execroot/com_github_ray_project_ray/java/tutorial/pom.xml
+ cp -f bazel-out/darwin-opt/bin/java/org_ray_ray_test_pom.xml /private/var/tmp/_bazel_allwefantasy/d9828fb34c7df6183e7947acf9798356/execroot/com_github_ray_project_ray/java/test/pom.xml
+ cp -f bazel-out/darwin-opt/bin/java/org_ray_ray_streaming_pom.xml /private/var/tmp/_bazel_allwefantasy/d9828fb34c7df6183e7947acf9798356/execroot/com_github_ray_project_ray/java/streaming/pom.xml
++ date
+ echo Thu Dec 5 10:28:39 CST 2019
ERROR: /Users/allwefantasy/CSDNWorkSpace/ray/BUILD.bazel:866:1: Executing genrule //:redis failed (Exit 77) bash failed: error executing command
(cd /private/var/tmp/_bazel_allwefantasy/d9828fb34c7df6183e7947acf9798356/sandbox/darwin-sandbox/2449/execroot/com_github_ray_project_ray && \
exec env - \
PATH=/Users/allwefantasy/.cargo/bin:/anaconda3/bin:/Users/allwefantasy/.nvm/versions/node/v10.5.0/bin:/usr/local/opt/[email protected]/bin:/Users/allwefantasy/nlp_architect_env/bin:/Users/allwefantasy/Softwares/apache-maven-3.6.1/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home//bin:/bin:/bin:/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Users/allwefantasy/Softwares/sbt/bin:/Users/allwefantasy/Softwares/antlr/ \
PYTHON2_BIN_PATH=/anaconda3/bin/python \
PYTHON3_BIN_PATH=/anaconda3/bin/python \
USE_CLANG_CL=1 \
/bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh;
set -x &&
curl -sL "https://github.com/antirez/redis/archive/5.0.3.tar.gz" | tar -xzf - --strip-components=1 -C . &&
make &&
mv ./src/redis-server bazel-out/darwin-opt/bin/redis-server &&
chmod +x bazel-out/darwin-opt/bin/redis-server &&
mv ./src/redis-cli bazel-out/darwin-opt/bin/redis-cli &&
chmod +x bazel-out/darwin-opt/bin/redis-cli
')
Execution platform: @local_config_platform//:host
Use --sandbox_debug to see verbose messages from the sandbox
+ curl -sL https://github.com/antirez/redis/archive/5.0.3.tar.gz
+ tar -xzf - --strip-components=1 -C .
INFO: Elapsed time: 386.467s, Critical Path: 63.31s
INFO: 2523 processes: 2522 darwin-sandbox, 1 local.
FAILED: Build did NOT complete successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment