From 85f037c5b531d28daa6f974ac43d96fe1f56b2a3 Mon Sep 17 00:00:00 2001 From: PengZheng Date: Tue, 11 Aug 2026 14:45:03 +0800 Subject: [PATCH] Pin OpenSSL below 4 to fix nightly conan builds ConanCenter published openssl/4.0.1, and the unbounded openssl/[>=3.2.0] range in conanfile.py resolved to it. civetweb/1.16 does not support the OpenSSL 4 API yet (no OPENSSL_API_4_0 branch), so the nightly linux-build-conan jobs fail compiling civetweb against the new headers. Restrict the range to openssl/[>=3.2.0 <4], matching the upper bound already declared by the civetweb recipe itself. Co-Authored-By: Claude --- conanfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 711b96199..67d465a08 100644 --- a/conanfile.py +++ b/conanfile.py @@ -394,7 +394,9 @@ def requirements(self): # TODO: To be replaced with mdnsresponder/1790.80.10, resolve some problems of mdnsresponder # https://github.com/conan-io/conan-center-index/pull/16254 self.requires("mdnsresponder/1310.140.1") - self.requires("openssl/[>=3.2.0]", override=True) + # OpenSSL 4.x is a breaking API change (like 3.0 was); civetweb/1.16 does not support it yet. + # Keep the range below 4 until civetweb and other consumers support the OpenSSL 4 API. + self.requires("openssl/[>=3.2.0 <4]", override=True) # Fix zlib to 1.3.1, 'libzip/1.10.1' and 'libcurl/7.64.1' requires different zlib versions causing conflicts self.requires("zlib/1.3.1", override=True) if self.options.build_event_admin_remote_provider_mqtt: