#1421·spotifyd

spotifyd fails to build with OpenSSL 4.0

Author: loqsCreated Jul 26, 2026Updated Jul 26, 2026
Labelsbug

Description spotifyd fails to build with OpenSSL 4.0.

To Reproduce

$ git clone https://github.com/Spotifyd/spotifyd.git
$ cd spotifyd
$ cargo build
....
  --- stderr

  thread 'main' (4340) panicked at /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/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.


  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Expected behavior spotifyd should build with OpenSSL 4.0. This issue can be fixed by https://github.com/Spotifyd/spotifyd/pull/1417.

Logs

Click to show logs

sh4d0wup-openssl-4.0-build-failure.log

Compilation flags

  • dbus_mpris
  • alsa_backend
  • portaudio_backend
  • pulseaudio_backend
  • rodio_backend

Versions (please complete the following information):

Additional context

@freswa @pierres