[Pkg-rust-maintainers] Bug#1140415: rustc: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat Jun 20 02:43:52 BST 2026


Package: rustc
Version: 1.95.0+dfsg1-2
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:
|  thread 'main' (778032) panicked at /rust/deps/openssl-sys-0.9.111/build/main.rs:472:5:
|
|  This crate is only compatible with OpenSSL (version 1.0.2 through 1.1.1, or 3), or LibreSSL 3.5
|  through 4.2.x, but a different version of OpenSSL was found. The build is now aborting
|  due to this version mismatch.

This did not pop up earlier because of missing openssl dependency and
rustc was not among those packages to build on my list. This error looks
familiar and the included rust crate is probably an older version.
There is a packaged one which is newer because a lot of rust- packages
failed and then it resolved on its own for most of them.
 
Sebastian



More information about the Pkg-rust-maintainers mailing list