Skip to content

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

@KristofferC

Description

@KristofferC
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions