Yggdrasil icon indicating copy to clipboard operation
Yggdrasil copied to clipboard

Qt5Base_jll incompatible with julia 1.12

Open mbaz opened this issue 1 week ago • 4 comments

Trying to install Qt5Svg_jll on Linux, julia 1.12.3 fails:

pkg> add Qt5Svg_jll
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package OpenSSL_jll [458c3c95]:
 OpenSSL_jll [458c3c95] log:
 ├─possible versions are: 3.5.4 or uninstalled
 └─found to have no compatible versions left with Qt5Base_jll [ea2cea3b]
   └─Qt5Base_jll [ea2cea3b] log:
     ├─possible versions are: 5.15.2 - 5.15.3 or uninstalled
     └─required (without additional version restrictions) by Qt5Svg_jll [3af4ccab]
       └─Qt5Svg_jll [3af4ccab] log:
         ├─possible versions are: 5.15.2 - 5.15.3 or uninstalled
         └─restricted to versions * by an explicit requirement, leaving only versions: 5.15.2 - 5.15.3

I don't have much experience dealing with dependencies in artifacts, so I've been unable to find the cause. Please let me know if you need any more information.

Update: the issue is that Qt5Base_jll depends on OpenSSL v1.1.10, whereas julia 1.12 introduced OpenSSL_jll v3 as a standard library.

mbaz avatar Dec 16 '25 00:12 mbaz

If I understand correctly, this line: https://github.com/JuliaPackaging/Yggdrasil/blob/29c7adf81d564c9337d5b8b3a2e31eb9f4d8c53c/Q/Qt5Base/build_tarballs.jl#L199 in Qt5Base requires OpenSSL_jll version 1.1.10, which seems extremely old, and is no longer available.

mbaz avatar Dec 16 '25 00:12 mbaz

Branch 1.1 of OpenSSL_jll is at 1.1.23: https://github.com/JuliaPackaging/Yggdrasil/blob/29c7adf81d564c9337d5b8b3a2e31eb9f4d8c53c/O/OpenSSL/OpenSSL%401.1/build_tarballs.jl#L5

(This corresponds to official release 1.1.23). What is the best way to proceed?

mbaz avatar Dec 16 '25 00:12 mbaz

https://github.com/JuliaPackaging/Yggdrasil/pull/8855 is a PR to fix this and needs more testing.

nhz2 avatar Dec 16 '25 20:12 nhz2

Thank you for the pointer! It seems this issue is difficult to solve, though. In my case, moving to Qt6 seems like the natural solution, but I'll need to test if it's possible.

mbaz avatar Dec 17 '25 00:12 mbaz