JuliaPackaging / BinaryBuilderBase.jl

https://juliapackaging.github.io/BinaryBuilderBase.jl/stable
MIT License
11 stars 31 forks source link

Host and runtime dependencies should be resolved separately #329

Closed Keno closed 11 months ago

Keno commented 11 months ago

I just ran into this situation where it's refusing to install a new HDF version because the host dependency on cmake pins the OpenSSL version to something incompatible:

ERROR: LoadError: Unsatisfiable requirements detected for package HDF5_jll [0234f1f7]:
 HDF5_jll [0234f1f7] log:
 ├─possible versions are: 1.10.5 - 1.14.2 or uninstalled
 ├─restricted by compatibility requirements with NetCDF_jll [7243133f] to versions: 1.12.0 - 1.14.2
 │ └─NetCDF_jll [7243133f] log:
 │   ├─possible versions are: 4.7.4 - 400.902.208 or uninstalled
 ├─restricted by compatibility requirements with OpenSSL_jll [458c3c95] to versions: 1.10.5 - 1.12.2 or uninstalled, leaving only versions: 1.12.0 - 1.12.2
 │ └─OpenSSL_jll [458c3c95] log:
 │   ├─possible versions are: 1.1.1 - 3.0.11 or uninstalled
 │   └─restricted by compatibility requirements with CMake_jll [3f4e10e2] to versions: 1.1.10 - 1.1.23
 │     └─CMake_jll [3f4e10e2] log:
 │       ├─possible versions are: 3.17.1 - 3.24.3 or uninstalled
 │       └─restricted to versions * by an explicit requirement, leaving only versions: 3.17.1 - 3.24.3
 └─restricted by compatibility requirements with Matio_jll [f34749e5] to versions: 1.14.2 — no versions left
   └─Matio_jll [f34749e5] log:
     ├─possible versions are: 1.5.23 - 1.5.24 or uninstalled
     └─restricted by compatibility requirements with Trilinos_jll [b6fd3212] to versions: 1.5.24
       └─Trilinos_jll [b6fd3212] log:
         ├─possible versions are: 12.12.1 - 14.4.0 or uninstalled
         └─restricted to versions 14.4.0 by an explicit requirement, leaving only versions: 14.4.0
Keno commented 11 months ago

I'm an idiot, it's already doing this, I just had unsaved changes.