Skip to content

Instantly share code, notes, and snippets.

@tydavis
Created July 28, 2023 13:30
Show Gist options
  • Save tydavis/56ac06dfecf5043670fafb155abc92a5 to your computer and use it in GitHub Desktop.
Save tydavis/56ac06dfecf5043670fafb155abc92a5 to your computer and use it in GitHub Desktop.
cargo install -F vendored-openssl cargo-update --force
...
Compiling unicode-normalization v0.1.22 13:28:34 [40/81]
Compiling openssl-src v111.26.0+1.1.1u
Compiling unicode-bidi v0.3.13
Compiling openssl-sys v0.9.90
Compiling libz-sys v1.1.12
error: failed to run custom build command for `openssl-sys v0.9.90`
Caused by:
process didn't exit successfully: `/tmp/cargo-installCJeUv3/release/build/openssl-sys-cc788c7762b3c452/build-script-main` (exit status:
101)
--- stdout
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_NO_VENDOR
X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_NO_VENDOR unset
cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
OPENSSL_NO_VENDOR unset
cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-musl
CC_x86_64-unknown-linux-musl = None
cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_musl
CC_x86_64_unknown_linux_musl = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None 13:28:34 [20/81]
cargo:rerun-if-env-changed=CC
CC = None
cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-musl
CFLAGS_x86_64-unknown-linux-musl = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_musl
CFLAGS_x86_64_unknown_linux_musl = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-musl
AR_x86_64-unknown-linux-musl = None
cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_musl
AR_x86_64_unknown_linux_musl = None
cargo:rerun-if-env-changed=HOST_AR
HOST_AR = None
cargo:rerun-if-env-changed=AR
AR = None
cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-musl
ARFLAGS_x86_64-unknown-linux-musl = None
cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_musl
ARFLAGS_x86_64_unknown_linux_musl = None
cargo:rerun-if-env-changed=HOST_ARFLAGS
HOST_ARFLAGS = None
cargo:rerun-if-env-changed=ARFLAGS
ARFLAGS = None
cargo:rerun-if-env-changed=RANLIB_x86_64-unknown-linux-musl
RANLIB_x86_64-unknown-linux-musl = None
cargo:rerun-if-env-changed=RANLIB_x86_64_unknown_linux_musl
RANLIB_x86_64_unknown_linux_musl = None
cargo:rerun-if-env-changed=HOST_RANLIB
HOST_RANLIB = None
cargo:rerun-if-env-changed=RANLIB
RANLIB = None
cargo:rerun-if-env-changed=RANLIBFLAGS_x86_64-unknown-linux-musl
RANLIBFLAGS_x86_64-unknown-linux-musl = None
cargo:rerun-if-env-changed=RANLIBFLAGS_x86_64_unknown_linux_musl
RANLIBFLAGS_x86_64_unknown_linux_musl = None
cargo:rerun-if-env-changed=HOST_RANLIBFLAGS
HOST_RANLIBFLAGS = None
cargo:rerun-if-env-changed=RANLIBFLAGS
RANLIBFLAGS = None
running cd "/tmp/cargo-installCJeUv3/release/build/openssl-sys-588be18b97249a0d/out/openssl-build/build/src" && AR="ar" CC="cc" RANLIB="ranlib" "perl" "./Configure" "--prefix=/tmp/cargo-installCJeUv3/release/build/openssl-sys-588be18b97249a0d/out/openssl-build/install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-engine" "no-async" "linux-x86_64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-DOPENSSL_NO_SECURE_MEMORY"
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/tydavis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-src-111.26.0+1.1.1u/src/lib.rs:504:39
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-update v13.0.4`, intermediate artifacts can be found at `/tmp/cargo-installCJeUv3`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment