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

v1.12 precompilation error #387

Closed
jlchan opened this issue Aug 27, 2024 · 1 comment
Closed

v1.12 precompilation error #387

jlchan opened this issue Aug 27, 2024 · 1 comment

Comments

@jlchan
Copy link

jlchan commented Aug 27, 2024

My package StartUpDG.jl encounters a precompilation error with v1.12 related to FillArraysStatisticsExt. The error disappears if I switch to v1.11.

Unfortunately, the stacktrace doesn't tell much; when I try to precompile StartUpDG.jl I get

julia> Pkg.precompile(strict=true)
Precompiling project...
  ✗ FillArrays  FillArraysStatisticsExt
  ✗ StartUpDG
  0 dependencies successfully precompiled in 1 seconds. 93 already precompiled.

ERROR: The following 2 dependencies failed to precompile:

FillArraysStatisticsExt [6aab314e-91af-578f-94bd-30d484db1c87]

Failed to precompile FillArraysStatisticsExt [6aab314e-91af-578f-94bd-30d484db1c87] to "/Users/jchan985/.julia/compiled/v1.10/FillArraysStatisticsExt/jl_MJjQer".

StartUpDG [472ebc20-7c99-4d4b-9470-8fde4e9faa0f]

Failed to precompile StartUpDG [472ebc20-7c99-4d4b-9470-8fde4e9faa0f] to "/Users/jchan985/.julia/compiled/v1.10/StartUpDG/jl_FuDW6N".

Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types ~/.julia/juliaup/julia-1.10.4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
 [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{})
   @ Pkg.API ~/.julia/juliaup/julia-1.10.4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:1659
 [3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{strict::Bool})
   @ Pkg.API ~/.julia/juliaup/julia-1.10.4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
 [4] precompile(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::@Kwargs{})
   @ Pkg.API ~/.julia/juliaup/julia-1.10.4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:174
 [5] top-level scope
   @ REPL[4]:1
Some type information was truncated. Use `show(err)` to see complete types.

Any suggestions for how to debug this?

@jlchan
Copy link
Author

jlchan commented Aug 27, 2024

Nevermind, sorry - was a corrupted precompilation file. Removing it fixed this.

@jlchan jlchan closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant