JuliaIO / HDF5.jl

Save and load data in the HDF5 file format from Julia
https://juliaio.github.io/HDF5.jl
MIT License
390 stars 143 forks source link

Not compatible with `TerminalMenus` in the stdlib #1050

Closed jonniediegelman closed 1 year ago

jonniediegelman commented 1 year ago
(@v1.8) pkg> activate --temp

(jl_V5nvBY) pkg> add HDF5 TerminalMenus
...

(jl_V5nvBY) pkg> precompile
Precompiling project...
  ✗ HDF5
  0 dependencies successfully precompiled in 1 seconds. 15 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

HDF5 [f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f]

Failed to precompile HDF5 [f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f] to /Users/jonnie.diegelman/.julia/compiled/v1.8/HDF5/jl_9E0K8q.
ERROR: LoadError: UndefVarError: libhdf5 not defined
Stacktrace:
 [1] h5_get_libversion()
   @ HDF5 ~/.julia/packages/HDF5/YX0jU/src/HDF5.jl:39
 [2] top-level scope
   @ ~/.julia/packages/HDF5/YX0jU/src/HDF5.jl:44
 [3] include
   @ ./Base.jl:419 [inlined]
 [4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
   @ Base ./loading.jl:1554
 [5] top-level scope
   @ stdin:1
in expression starting at /Users/jonnie.diegelman/.julia/packages/HDF5/YX0jU/src/HDF5.jl:1
in expression starting at stdin:1

(jl_V5nvBY) pkg> add HDF5@0.16.13
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Compat [34da2185]:
 Compat [34da2185] log:
 ├─possible versions are: 1.0.0-4.6.0 or uninstalled
 ├─restricted by compatibility requirements with TerminalMenus [dc548174] to versions: 1.0.0-2.2.1
 │ └─TerminalMenus [dc548174] log:
 │   ├─possible versions are: 0.1.0 or uninstalled
 │   └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0
 └─restricted by compatibility requirements with HDF5 [f67ccb44] to versions: 3.1.0-4.6.0 — no versions left
   └─HDF5 [f67ccb44] log:
     ├─possible versions are: 0.9.4-0.16.13 or uninstalled
     └─restricted to versions 0.16.13 by an explicit requirement, leaving only versions 0.16.13
julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.5.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 4 on 4 virtual cores
mkitti commented 1 year ago

I'm pretty sure the issue here is with TerminalMenus.jl. I'm happy to try and resolve this on that side.