You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The precompilation on MacOS is failing consistently on GitHub Actions. It seems to be related to GR.jl + Plots.jl:
ERROR: LoadError: LoadError: InitError: Evaluation into the closed module`GR` breaks incremental compilation because the side effects will not be permanent. This is likely due to some other module mutating `GR` with `eval` during precompilation - don't do this.
Stacktrace:
[1] eval
@ ./boot.jl:360 [inlined]
[2] __init__()
@ GR ~/.julia/packages/GR/qSS8e/src/GR.jl:311
[3] _include_from_serialized(path::String, depmods::Vector{Any})
@ Base ./loading.jl:674
[4] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
@ Base ./loading.jl:760
[5] _require(pkg::Base.PkgId)
@ Base ./loading.jl:998
[6] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:914
[7] require(into::Module, mod::Symbol)
@ Base ./loading.jl:901
[8] include(mod::Module, _path::String)
@ Base ./Base.jl:386
[9] include(x::String)
@ Plots ~/.julia/packages/Plots/SVksJ/src/Plots.jl:1
[10] top-level scope
@ ~/.julia/packages/Plots/SVksJ/src/Plots.jl:218
[11] include
@ ./Base.jl:386 [inlined]
[12] 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::String)
@ Base ./loading.jl:1213
[13] top-level scope
@ none:1
[14] eval
@ ./boot.jl:360 [inlined]
[15] eval(x::Expr)
@ Base.MainInclude ./client.jl:446
[16] top-level scope
@ none:1
during initialization of module GR
in expression starting at /Users/runner/.julia/packages/Plots/SVksJ/src/backends/gr.jl:6
in expression starting at /Users/runner/.julia/packages/Plots/SVksJ/src/Plots.jl:1
Your GR installation is incomplete. Rerunning build step for GR package.
┌ Info: Switching provider to GR due to error in depsfile
└ depsfile = "/Users/runner/.julia/packages/GR/qSS8e/deps/deps.jl"
The contents of deps.jl is import GR_jll so that indicates a problem with GR_jll on Mac in Github Actions.
Try setting the environmental variable JULIA_GR_PROVIDER to GR for that platform. That should fix the issue in Github Actions.
Details
The precompilation on MacOS is failing consistently on GitHub Actions. It seems to be related to GR.jl + Plots.jl:
This is the full log: https://github.com/JuliaGeometry/Meshes.jl/pull/117/checks?check_run_id=2313619039#step:6:355
Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version: v1.11.2
Backend version (
]st -m
): GR v0.57.3Output of
versioninfo()
:The text was updated successfully, but these errors were encountered: