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

Parallel precompile shows stacktrace into precompilation code when a package fails to precompile #53858

Closed
KristofferC opened this issue Mar 26, 2024 · 0 comments · Fixed by #53862
Labels
regression Regression in behavior compared to a previous version
Milestone

Comments

@KristofferC
Copy link
Member

ERROR: The following 1 direct dependency failed to precompile:

JuliaInterpreter --code-coverage=none --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none 

Failed to precompile JuliaInterpreter [aa1ae85d-cabe-5617-a682-6adf51b2e16a] to "/home/keno/.julia/compiled/v1.12/JuliaInterpreter/jl_EMs9Va".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] precompilepkgs(pkgs::Vector{String}; internal_call::Bool, strict::Bool, warn_loaded::Bool, timing::Bool, _from_loading::Bool, configs::Pair{Cmd, Base.CacheFlags}, io::Base.TTY, fancyprint::Bool, manifest::Bool)
    @ Base.Precompilation ./precompilation.jl:385
  [3] (::Pkg.API.var"#227#228"{Bool, Bool, Bool, Bool, Bool, Pair{Cmd, Base.CacheFlags}, Vector{Pkg.Types.PackageSpec}})()
    @ Pkg.API ~/julia/usr/share/julia/stdlib/v1.12/Pkg/src/API.jl:1158
  [4] activate(f::Pkg.API.var"#227#228"{Bool, Bool, Bool, Bool, Bool, Pair{Cmd, Base.CacheFlags}, Vector{Pkg.Types.PackageSpec}}, new_project::String)
    @ Pkg.API ~/julia/usr/share/julia/stdlib/v1.12/Pkg/src/API.jl:1379
  [5] precompile(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, configs::Pair{Cmd, Base.CacheFlags}, kwargs::@Kwargs{io::Pkg.UnstableIO})
    @ Pkg.API ~/julia/usr/share/julia/stdlib/v1.12/Pkg/src/API.jl:1156

cc @IanButterworth

@KristofferC KristofferC added the regression Regression in behavior compared to a previous version label Mar 26, 2024
@KristofferC KristofferC added this to the 1.12 milestone Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Regression in behavior compared to a previous version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant