[GH-ISSUE #1006] Couldn't build on libressl 4.1.0. #8740

Closed
opened 2026-05-23 03:54:05 +01:00 by JakeStanger · 4 comments
Owner

Originally created by @lidgnulinux on GitHub (May 26, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1006

Describe the bug

Hello, I'm using distro with libressl 4.1.0 and when I build ironbar 0.16.x and latest master, the build error. It complaints that one of crates is only support libressl 2.5 through 4.0.x.

To reproduce
Steps to reproduce the behavior:

  1. Download latest master archive.
  2. Build using cargo.
  3. One of crates complaints only support libressl 2.5 through 4.0.x and then the build error.

Expected behavior

Build success without error.

System information:

  • Distro: LFS 12.3, built with musl & libressl.
  • Compositor: Hyprland.
  • Ironbar version: 0.16.1 and latest master.

Additional context

  • none

Screenshots

  • none.
Originally created by @lidgnulinux on GitHub (May 26, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1006 **Describe the bug** <!-- A clear and concise description of what the bug is. --> Hello, I'm using distro with libressl 4.1.0 and when I build ironbar 0.16.x and latest master, the build error. It complaints that one of crates is only support libressl 2.5 through 4.0.x. **To reproduce** Steps to reproduce the behavior: 1. Download latest master archive. 2. Build using cargo. 3. One of crates complaints only support libressl 2.5 through 4.0.x and then the build error. **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> Build success without error. **System information:** - Distro: LFS 12.3, built with musl & libressl. - Compositor: Hyprland. - Ironbar version: 0.16.1 and latest master. **Additional context** <!-- Add any other context about the problem here. --> - none **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> - none.
JakeStanger 2026-05-23 03:54:05 +01:00
Author
Owner

@JakeStanger commented on GitHub (May 26, 2025):

Hey, I'm going to need some more information please as I don't exactly have the same LFS setup to hand to be able to test. Can you share build logs and let me know which crate?

<!-- gh-comment-id:2909915627 --> @JakeStanger commented on GitHub (May 26, 2025): Hey, I'm going to need some more information please as I don't exactly have the same LFS setup to hand to be able to test. Can you share build logs and let me know *which* crate?
Author
Owner

@lidgnulinux commented on GitHub (May 26, 2025):

Can you share build logs and let me know which crate?

Sorry I'm away from my machine right now, but I still can remember the crate that complaints about the libressl. The crates is openssl-sys.

<!-- gh-comment-id:2909924951 --> @lidgnulinux commented on GitHub (May 26, 2025): > Can you share build logs and let me know which crate? Sorry I'm away from my machine right now, but I still can remember the crate that complaints about the libressl. The crates is openssl-sys.
Author
Owner

@JakeStanger commented on GitHub (May 26, 2025):

In that case you should be able to compile with the http feature disabled

<!-- gh-comment-id:2909990297 --> @JakeStanger commented on GitHub (May 26, 2025): In that case you should be able to compile with the `http` feature disabled
Author
Owner

@lidgnulinux commented on GitHub (May 28, 2025):

For anyone with libressl 4.1.0, you can solve it by using this patch :

--- Cargo.lock	2025-05-26 05:31:12.000000000 +0700
+++ Cargo.lock.new	2025-05-28 17:55:11.453062180 +0700
@@ -2342,13 +2342,23 @@
 checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
 
 [[package]]
+name = "openssl-src"
+version = "300.5.0+3.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8ce546f549326b0e6052b649198487d91320875da901e7bd11a06d1ee3f9c2f"
+dependencies = [
+ "cc",
+]
+
+[[package]]
 name = "openssl-sys"
-version = "0.9.107"
+version = "0.9.108"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8288979acd84749c744a9014b4382d42b8f7b2592847b5afb2ed29e5d16ede07"
+checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847"
 dependencies = [
  "cc",
  "libc",
+ "openssl-src",
  "pkg-config",
  "vcpkg",
 ]

<!-- gh-comment-id:2915972604 --> @lidgnulinux commented on GitHub (May 28, 2025): For anyone with libressl 4.1.0, you can solve it by using this patch : ``` --- Cargo.lock 2025-05-26 05:31:12.000000000 +0700 +++ Cargo.lock.new 2025-05-28 17:55:11.453062180 +0700 @@ -2342,13 +2342,23 @@ checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" [[package]] +name = "openssl-src" +version = "300.5.0+3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8ce546f549326b0e6052b649198487d91320875da901e7bd11a06d1ee3f9c2f" +dependencies = [ + "cc", +] + +[[package]] name = "openssl-sys" -version = "0.9.107" +version = "0.9.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8288979acd84749c744a9014b4382d42b8f7b2592847b5afb2ed29e5d16ede07" +checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#8740
No description provided.