Closed polyzen closed 5 years ago
What's the actual build failure—does your machine not have that older version of openssl available? If so, upgrading to reqwest 0.9.x presumably would fix it. There was a similar issue in one of my other projects: scottlamb/http-serve#13.
...
Compiling aho-corasick v0.6.6
Compiling parking_lot_core v0.2.14
error: failed to run custom build command for `openssl v0.9.24`
process didn't exit successfully: `/build/moonfire-nvr-git/src/moonfire-nvr/target/release/build/openssl-4c84590159ae59
9e/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /build/.cargo/registry/src/github.com-1ecc6299db9ec823/op
enssl-0.9.24/build.rs:16:14
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
I do have openssl-1.0
installed, but as you say, this is a common issue.
Thank you for resolving this so quickly.
This is apparently pulled in by
reqwest
.https://github.com/rust-lang/cargo/pull/5012