Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Plots.jl dependencies are broken, cannot install the package #4926

Closed
bvdmitri opened this issue May 1, 2024 · 3 comments
Closed

[BUG] Plots.jl dependencies are broken, cannot install the package #4926

bvdmitri opened this issue May 1, 2024 · 3 comments
Labels

Comments

@bvdmitri
Copy link

bvdmitri commented May 1, 2024

Just for the cross-reference JuliaPackaging/Yggdrasil#8580
Currently, it is not possible to install Plots.jl. In a fresh environment it fails with the following error:

        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  ✗ GR_jll
  ✗ Plots
  ✗ Plots → UnitfulExt
  9 dependencies successfully precompiled in 15 seconds. 136 already precompiled.
  1 dependency had output during precompilation:
┌ GR
│  ERROR: LoadError: InitError: could not load library "/Users/bvdmitri/.julia/artifacts/2107e7bc404f11b178cb9724cb371ef704995727/lib/libtiff.6.dylib"
│  dlopen(/Users/bvdmitri/.julia/artifacts/2107e7bc404f11b178cb9724cb371ef704995727/lib/libtiff.6.dylib, 0x0001): Library not loaded: @rpath/libLerc.dylib
│    Referenced from: <9C779A8B-3F00-3FC2-80E1-EF95F6DA4945> /Users/bvdmitri/.julia/artifacts/2107e7bc404f11b178cb9724cb371ef704995727/lib/libtiff.6.dylib
│    Reason: tried: '/Users/bvdmitri/.julia/artifacts/2107e7bc404f11b178cb9724cb371ef704995727/lib/./libLerc.dylib' (no such file), '/Users/bvdmitri/.julia/artifacts/2107e7bc404f11b178cb9724cb371ef704995727/lib/./libLerc.dylib' (no such file), '/Users/bvdmitri/.julia/juliaup/julia-1.10.3+0.aarch64.apple.darwin14/lib/julia/libLerc.dylib' (no such file), '/Users/bvdmitri/.julia/juliaup/julia-1.10.3+0.aarch64.apple.darwin14/lib/julia/../libLerc.dylib' (no such file), '/Users/bvdmitri/.julia/juliaup/julia-1.10.3+0.aarch64.apple.darwin14/lib/libLerc.dylib' (no such file), '/usr/local/lib/libLerc.dylib' (no such file), '/usr/lib/libLerc.dylib' (no such file, not in dyld cache)
│  Stacktrace:
│    [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
│      @ Base.Libc.Libdl ./libdl.jl:117
│    [2] dlopen(s::String, flags::UInt32)

On CI I get a slightly different error.
The problem is downstream (with GR_jll and LERC_jll) but I still decided to duplicate it here until its fully resolved

julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 11 × Apple M3 Pro
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 5 virtual cores)
@bvdmitri bvdmitri added the bug label May 1, 2024
@bvdmitri bvdmitri changed the title [BUG] Plots.jl dependencies are broken, cannot instal the package [BUG] Plots.jl dependencies are broken, cannot install the package May 1, 2024
@denius
Copy link

denius commented May 1, 2024

(@v1.11) pkg> add GR_jll
(@v1.11) pkg> pin GR_jll@v0.73.2

the solution.

@bvdmitri
Copy link
Author

bvdmitri commented May 1, 2024

It's not a solution for CI and generally a package should not pin sub-dependencies of other packages

@bvdmitri
Copy link
Author

bvdmitri commented May 1, 2024

It looks like the problem has been fixed though with JuliaRegistries/General#105958

@bvdmitri bvdmitri closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants