pijul_org / pijul

#56 cargo install fails with ring-0.7.5

Opened by Nzen, on April 19, 2017
Closed
Nzen commented on April 19, 2017

Steps : opened terminal, typed "cargo install pijul". Expected : completion message.

Saw : error messages . Saved these as a json playable in asciinema https://mega.nz/#!I1w1QQ6J!hMQbZPfMP988G8kAahRt8YwjNIFWyIdUPdj7cDcJ3YA

failed to run custom build command for ring v0.7.5\r\nprocess didn't exit successfully: /tmp/cargo-install.epQHpw5dB2MX/release/build/ring-b25e03e0f98c3ebf/build-script-build (exit code: 101) /tmp/cargo-install.epQHpw5dB2MX/release/build/ring-4163d1b53774e5c0/out/x25519-asm-x86_64.o\ExitStatus(ExitStatus(0)) cargo:rustc-link-lib=static=ring-core\r\n\r\n--- stderr\r\nthread '' panicked at 'failed to execute ["c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "include" "-std=c++0x" "-fdata-sections" "-ffunction-sections" "-pedantic" "-pedantic-errors" "-Wall" "-Werror" "-Wextra" "-Wcast-align" "-Wcast-qual" "-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-declarations" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-fno-strict-aliasing" "-fvisibility=hidden" "-Wno-cast-align" "-fstack-protector" "-g3" "-DNDEBUG" "-D_XOPEN_SOURCE=700" "-c" "-o/tmp/cargo-install.epQHpw5dB2MX/release/build/ring-4163d1b53774e5c0/out/bn_test.o" "crypto/bn/bn_test.cc"]: No such file or directory (os error 2)', .cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.7.5/build.rs:717

Environment : SESSION_MANAGER: local/adase-mint:@/tmp/.ICE-unix/2195,unix/adase-mint:/tmp/.ICE-unix/2195 CINNAMON_VERSION: 2.4.8 LD_LIBRARY_PATH: /tmp/cargo-install.epQHpw5dB2MX/release/deps:/home/nzen/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib CARGO_HOME:home/nzen/.cargo RUST_RECURSION_COUNT: 1 RUSTUP_TOOLCHAIN: stable-x86_64-unknown-linux-gnu RUSTUP_HOME: /home/nzen/.rustupCARGO_PKG_VERSION: 0.7.5 CARGO_PKG_VERSION_PATCH: 5 CARGO_MANIFEST_DIR: /home/nzen/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.7.5 CARGO_CFG_TARGET_ARCH: x86_64 TARGET: x86_64-unknown-linux-gnu CARGO_PKG_NAME: ring CARGO_CFG_TARGET_ENDIAN: little CARGO_FEATURE_RSA_SIGNING: 1 OPT_LEVEL: 3 CARGO_CFG_TARGET_FAMILY: unix

brian commented on May 4, 2017

IDK what the issue is here but bn_test stuff was removed in ring 0.8 so maybe upgrading the dependency to ring 0.8 will fix this.

pmeunier commented on May 9, 2017

Done, thanks for reporting.