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] Julia 1.10.2 fails when trying to add or use Plots issuing Pkg.add("Plots") or using Plots #4921
Comments
I found that deleting |
i have the same issue on julia 1.10.3 on Ubuntu 24.04 |
I have the same issue on Julia 1.10.3+0.aarch64.apple.darwin14 on macOS 14.4.1. I deleted the
|
I had the same issue with Julia 1.10.2. After I removed completely ~/.julia
and updated package code ran OK.
Then when I got 1.10.3 I did the following:
1. remove completely ~/.julia
2. install julia 1.10.3
3. issue Pkg.update()
4. tested, code ran fine, including Pkg.add("Plots")
…On Wed, May 1, 2024 at 6:55 AM Jeffrey D Varner ***@***.***> wrote:
I have the same issue on Julia 1.10.3+0.aarch64.apple.darwin14 on macOS
14.4.1
—
Reply to this email directly, view it on GitHub
<#4921 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGK34JDTXCYT6COCJSCFVTZADCY7AVCNFSM6AAAAABGPHUPYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBYGI4DMNZRGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I'm getting this issue causing a CI failure... so deleting everything and trying again is not a great solution. |
Hmmm. I just tried the "remove everything" workaround, but I'm still getting the following error message: ERROR: LoadError: InitError: UndefVarError: In particular:
It always seems to fail on the precomple step. |
That worked for me under Linux. I see you are running on Apple. Maybe that
is part of the problem.
…On Wed, May 1, 2024 at 8:53 AM Jeffrey D Varner ***@***.***> wrote:
Hmmm. I just tried the "remove everything" workaround, but I'm still
getting the following error message: ERROR: LoadError: InitError:
UndefVarError: GR_jll not defined.
In particular:
1. Deleted the .julia dir, reinstalled Julia
1.10.3+0.aarch64.apple.darwin14
2. Opened the REPL, added the Plots package. However, when I try to
use Plots and trigger a precompile ...
3. Boom.
It always seems to fail on the precomple step.
—
Reply to this email directly, view it on GitHub
<#4921 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGK34MF5E2NRFFTBQ757STZADQU7AVCNFSM6AAAAABGPHUPYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBYGQZDENZSGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yeah, could be. Frustrating. |
The recent issues may not be related to the original issue, but given that The current issue is very easy to replicate, even on Julia v1.10.3, starting from a completely empty depot. JULIA_DEPOT_PATH="$(mktemp -d)" julia --eval 'using Pkg' --eval 'Pkg.add("Plots")' Results down the line in
Pinning JULIA_DEPOT_PATH="$(mktemp -d)" julia --eval 'using Pkg' --eval 'Pkg.add([PackageSpec(; name="Plots"), PackageSpec(; name="LERC_jll", version="3.0.0")])' This is all on Ubuntu (23.10) and some other Linux distros. |
I think incompatibility with |
Man, that was a nice catch, @bauglir and @SamuelBrand1. Confirm that downgrading LERC_jll v4.0.0+0 ⇒ v3.0.0+1 resolves the Plots.jl GR issue for me, and a similar set of precompile issues with ImageMagick that “magically" surfaced this morning. |
ERROR: LoadError: Init
Error: could not load library "... /.julia/artifacts/648a32a349aac06f19b6bfed47f0b822b4ef28c3/lib/libgobject-2.0.so"
│ ..../.julia/artifacts/648a32a349aac06f19b6bfed47f0b822b4ef28c3/lib/libgobject-2.0.so: undefined symbol: g_dir_unref
Looking deeper into the cascade of errors, I can see that the following crash when precompiling
../src/Cairo_jll.jl
../src/GR_jll.jl
resulting in failures in the following packages:
✗ Cairo_jll
✗ Qt6Base_jll
✗ HarfBuzz_jll
✗ libass_jll
✗ FFMPEG_jll
✗ FFMPEG
✗ GR_jll
✗ Plots
✗ Plots → UnitfulExt
The text was updated successfully, but these errors were encountered: