Closed
Description
Hi
Libtask.jl
and AdvancedPSLibtaskExt.jl
fail to precompile when installing Turing.jl
on Julia Nightly (1.12.0-DEV.81).
Here is the full error message:
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:
Base.PkgId(Base.UUID("fce5fe82-541a-59a6-adf8-730c64b5f9a0"), "Turing")
Failed to precompile Turing [fce5fe82-541a-59a6-adf8-730c64b5f9a0] to "/root/.julia/compiled/v1.12/Turing/jl_bYqAhc".
ERROR: LoadError: UndefVarError: `TypedSlot` not defined in `Core.Compiler`
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:42
[2] top-level scope
@ ~/.julia/packages/Libtask/h7Kal/src/Libtask.jl:14
[3] include
@ ./Base.jl:556 [inlined]
[4] 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, UInt128}}, source::String)
@ Base ./loading.jl:2664
[5] top-level scope
@ stdin:4
in expression starting at /root/.julia/packages/Libtask/h7Kal/src/Libtask.jl:1
in expression starting at stdin:4
ERROR: LoadError: Failed to precompile Libtask [6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f] to "/root/.julia/compiled/v1.12/Libtask/jl_e4odRa".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, reasons::Dict{String, Int64})
@ Base ./loading.jl:2944
[3] (::Base.var"#1072#1073"{Base.PkgId})()
@ Base ./loading.jl:2332
[4] mkpidlock(f::Base.var"#1072#1073"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:93
[5] #mkpidlock#6
@ ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:88 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:114
[7] #invokelatest#2
@ ./essentials.jl:1032 [inlined]
[8] invokelatest
@ ./essentials.jl:1027 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1072#1073"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base ./loading.jl:3420
[10] maybe_cachefile_lock
@ ./loading.jl:3417 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2328
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2163
[13] #invoke_in_world#3
@ ./essentials.jl:1064 [inlined]
[14] invoke_in_world
@ ./essentials.jl:1061 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2154
[16] macro expansion
@ ./loading.jl:2092 [inlined]
[17] macro expansion
@ ./lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2049
[19] #invoke_in_world#3
@ ./essentials.jl:1064 [inlined]
[20] invoke_in_world
@ ./essentials.jl:1061 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2042
[22] include
@ ./Base.jl:556 [inlined]
[23] 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, UInt128}}, source::Nothing)
@ Base ./loading.jl:2664
[24] top-level scope
@ stdin:4
in expression starting at /root/.julia/packages/Turing/iM84I/src/Turing.jl:1
in expression starting at stdin:
Thanks!
Regards
Patrick
Metadata
Metadata
Assignees
Labels
No labels