mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-23 09:32:31 +01:00
56 lines
1.7 KiB
Diff
56 lines
1.7 KiB
Diff
Don't use bundled OpenSSL for tests - it fails to build on Alpine.
|
|
This patch fixes the following error:
|
|
|
|
error: failed to run custom build command for `openssl-sys v0.9.60`
|
|
|
|
Caused by:
|
|
process didn't exit successfully: `/home/jirutjak/aports/testing/xh/src/xh-0.9.0/target/release/build/openssl-sys-97034bc2d62d9cd0/build-script-main` (exit code: 101)
|
|
--- stdout
|
|
cargo:rustc-cfg=const_fn
|
|
cargo:rerun-if-env-changed=X86_64_ALPINE_LINUX_MUSL_OPENSSL_NO_VENDOR
|
|
X86_64_ALPINE_LINUX_MUSL_OPENSSL_NO_VENDOR unset
|
|
cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
|
|
OPENSSL_NO_VENDOR unset
|
|
|
|
--- stderr
|
|
thread 'main' panicked at 'don't know how to configure OpenSSL for x86_64-alpine-linux-musl', /home/jirutjak/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-src-111.14.0+1.1.1j/src/lib.rs:219:18
|
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
|
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -46,7 +46,7 @@
|
|
indoc = "1.0"
|
|
predicates = "1.0.7"
|
|
httpmock = "0.5.5"
|
|
-curl = { version = "0.4.34", features = ["static-ssl"] }
|
|
+curl = { version = "0.4.34" }
|
|
tempfile = "3.2.0"
|
|
|
|
[features]
|
|
--- a/Cargo.lock
|
|
+++ b/Cargo.lock
|
|
@@ -1400,15 +1400,6 @@
|
|
checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
|
|
|
|
[[package]]
|
|
-name = "openssl-src"
|
|
-version = "111.14.0+1.1.1j"
|
|
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
-checksum = "055b569b5bd7e5462a1700f595c7c7d487691d73b5ce064176af7f9f0cbb80a9"
|
|
-dependencies = [
|
|
- "cc",
|
|
-]
|
|
-
|
|
-[[package]]
|
|
name = "openssl-sys"
|
|
version = "0.9.60"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
@@ -1417,7 +1408,6 @@
|
|
"autocfg",
|
|
"cc",
|
|
"libc",
|
|
- "openssl-src",
|
|
"pkg-config",
|
|
"vcpkg",
|
|
]
|