Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Installing cargo-apk crate results in failed to run custom build command for openssl v0.9.24`` #184

Open
agorgl opened this issue Oct 5, 2018 · 3 comments

Comments

@agorgl
Copy link
Contributor

agorgl commented Oct 5, 2018

Using rust stable installed from rustup today on a fully updated Arch Linux system when trying to cargo install cargo-apk, gives:

error: failed to run custom build command for `openssl v0.9.24`
process didn't exit successfully: `/tmp/cargo-installw66uL0/release/build/openssl-700208eb71c8ae94/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/theartist/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/openssl-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: failed to compile `cargo-apk v0.4.0`, intermediate artifacts can be found at `/tmp/cargo-installw66uL0`

Caused by:
  build failed
@ozkriff
Copy link
Contributor

ozkriff commented Oct 5, 2018

Check https://github.com/sfackler/rust-openssl#linux - do you have the correct version of system OpenSSL installed?

@agorgl
Copy link
Contributor Author

agorgl commented Oct 6, 2018

Yep, openssl version gives: OpenSSL 1.1.1 11 Sep 2018. The problem resides with version 0.4.0 in crates.io . I built it from the current master and it works good, it would be nice if you updated the repository package with the latest version!

@philip-alldredge
Copy link
Contributor

This is related to #221

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants