Skip to content

Instantly share code, notes, and snippets.

@gaqzi
Created April 24, 2019 14:12
Show Gist options
  • Save gaqzi/7a29c00aa0bfb3dd13d6b0d63875fd1f to your computer and use it in GitHub Desktop.
Save gaqzi/7a29c00aa0bfb3dd13d6b0d63875fd1f to your computer and use it in GitHub Desktop.
$ ./pants test tests/python/pants_test/ Wed 22:08
info: using existing install for '1.24.0-x86_64-apple-darwin'
info: override toolchain for '/Users/ba/workspace/pants' set to '1.24.0-x86_64-apple-darwin'
1.24.0-x86_64-apple-darwin unchanged - rustc 1.24.0 (4d90ac38c 2018-02-12)
[Waiting for /Users/ba/.cache/pants/rust/cargo/bin/cargo fetch --manifest-path /Users/ba/workspace/pants/src/rust/engine/Cargo.toml (pid 93330) to complete]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404
generating /var/folders/rn/rn6_7mc163z7bj9rw1mhj7740000gn/T/tmpgakpG4/native_engine.c
Not overwriting /Users/ba/workspace/pants/src/rust/engine/src/cffi/native_engine.c because it is unchanged
Not overwriting /Users/ba/workspace/pants/src/rust/engine/src/cffi/native_engine.cflags because it is unchanged
Compiling grpcio-sys v0.2.1
error: failed to run custom build command for `grpcio-sys v0.2.1`
process didn't exit successfully: `/Users/ba/workspace/pants/src/rust/engine/target/release/build/grpcio-sys-899740795f72ac64/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=grpc_wrap.c
cargo:rerun-if-changed=grpc
cargo:rerun-if-env-changed=GRPCIO_SYS_USE_PKG_CONFIG
running: "cmake" "/Users/ba/.cache/pants/rust/cargo/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.2.1/grpc" "-DCMAKE_INSTALL_PREFIX=/Users/ba/workspace/pants/src/rust/engine/target/release/build/grpcio-sys-d17edf29b6a40345/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -stdlib=libc++ -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Release"
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/ba/workspace/pants/src/rust/engine/target/release/build/grpcio-sys-d17edf29b6a40345/out/build
running: "cmake" "--build" "." "--target" "grpc" "--config" "Release" "--"
[ 0%] Generating err_data.c
[ 0%] Built target lhash
[ 0%] Built target stack
[ 0%] Built target buf
[ 0%] Built target base64
[ 0%] Built target pkcs8_lib
[ 0%] Built target pool
[ 2%] Built target bytestring
[ 2%] Built target sha
[ 2%] Built target md4
[ 2%] Built target aes
[ 2%] Built target rc4
[ 2%] Built target modes
[ 2%] Built target des
[ 4%] Built target md5
[ 4%] Built target chacha
[ 4%] Built target conf
[ 4%] Built target poly1305
[ 6%] Built target curve25519
[ 6%] Built target digest
[ 9%] Built target cipher
--- stderr
CMake Warning at CMakeLists.txt:122 (message):
gRPC_INSTALL will be forced to FALSE because gRPC_ZLIB_PROVIDER is "module"
CMake Warning at CMakeLists.txt:184 (message):
gRPC_PROTOBUF_PROVIDER is "module" but PROTOBUF_ROOT_DIR is wrong
CMake Warning at CMakeLists.txt:251 (message):
gRPC_GFLAGS_PROVIDER is "module" but GFLAGS_ROOT_DIR is wrong
CMake Warning at CMakeLists.txt:271 (message):
gRPC_BENCHMARK_PROVIDER is "module" but BENCHMARK_ROOT_DIR is wrong
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
grpc_csharp_ext
zlib
This warning is for project developers. Use -Wno-dev to suppress it.
go: cannot find GOROOT directory: /go
make[3]: *** [third_party/boringssl/crypto/err/err_data.c] Error 2
make[3]: *** Deleting file `third_party/boringssl/crypto/err/err_data.c'
make[2]: *** [third_party/boringssl/crypto/err/CMakeFiles/err.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/grpc.dir/rule] Error 2
make: *** [grpc] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2
build script failed, must exit now', /Users/ba/.cache/pants/rust/cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.29/src/lib.rs:632:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Failed to build native engine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment