From 862ed5eaa914e3669a8ce2f0b54cdfe5db0bcccd Mon Sep 17 00:00:00 2001 From: xxchan Date: Tue, 12 Sep 2023 11:33:16 +0800 Subject: [PATCH] build: downgrade to openssl@1 temporarily (#12219) --- Cargo.lock | 8 ++++---- src/utils/workspace-config/Cargo.toml | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 11e8c9b64caa..4ea1e16806f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5080,18 +5080,18 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-src" -version = "300.1.3+3.1.2" +version = "111.25.3+1.1.1t" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd2c101a165fff9935e34def4669595ab1c7847943c42be86e21503e482be107" +checksum = "924757a6a226bf60da5f7dd0311a34d2b52283dd82ddeb103208ddc66362f80c" dependencies = [ "cc", ] [[package]] name = "openssl-sys" -version = "0.9.93" +version = "0.9.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db4d56a4c0478783083cfafcc42493dd4a981d41669da64b4572a2a089b51b1d" +checksum = "db7e971c2c2bba161b2d2fdf37080177eff520b3bc044787c7f1f5f9e78d869b" dependencies = [ "cc", "libc", diff --git a/src/utils/workspace-config/Cargo.toml b/src/utils/workspace-config/Cargo.toml index 2159f5508a75..d8b2dd800ab1 100644 --- a/src/utils/workspace-config/Cargo.toml +++ b/src/utils/workspace-config/Cargo.toml @@ -16,7 +16,9 @@ rw-dynamic-link = ["zstd-sys"] [dependencies] log = { version = "0.4", features = ["release_max_level_debug"] } -openssl-sys = { version = "0.9", optional = true, features = ["vendored"] } +# FIXME: 0.9.93 upgrades openssl-src to openssl@3, but we failed to build it. +# fix it later https://github.com/risingwavelabs/risingwave/pull/12198 +openssl-sys = { version = "=0.9.92", optional = true, features = ["vendored"] } sasl2-sys = { version = "0.1", optional = true, features = ["gssapi-vendored"] } tracing = { version = "0.1", features = ["release_max_level_debug"] } zstd-sys = { version = "2", optional = true, default-features = false, features = ["pkg-config"] }