Skip to content

spotifyd fails to build with OpenSSL 4.0 #1421

Description

@loqs

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 #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):

  • OS: Arch Linux Rolling
  • Spotifyd: 6af1e48
  • cargo: cargo 1.97.0 (c980f4866 2026-06-30) (Arch Linux rust 1:1.97.0-1.1)

Additional context

@freswa @pierres

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA functionality or parts of a program that do not work as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions