-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed as duplicate of#58
Closed as duplicate of#58
Copy link
Description
Version 1.3.1 (probably #53, cc @timholy) has broken precompilation of HTTP.jl and Plots.jl on julia 1.12-beta1 and nightly (1.13.0-DEV.371):
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:
HTTP
Failed to precompile HTTP [cd3eb016-35fb-5094-929b-558a96fad6f3] to "/home/lorenz/.julia/compiled/v1.12/HTTP/jl_eMq7sU".
ERROR: LoadError: syntax: World age increment not at top level
Stacktrace:
[1] top-level scope
@ ~/.julia/packages/HTTP/4AUPl/src/precompile.jl:3
[2] include(mapexpr::Function, mod::Module, _path::String)
@ Base ./Base.jl:304
[3] IncludeInto
@ ./Base.jl:305 [inlined]
[4] top-level scope
@ ~/.julia/packages/HTTP/4AUPl/src/HTTP.jl:636
[5] include(mod::Module, _path::String)
@ Base ./Base.jl:303
[6] 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:3015
[7] top-level scope
@ stdin:5
[8] eval(m::Module, e::Any)
@ Core ./boot.jl:489
[9] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base ./loading.jl:2861
[10] include_string
@ ./loading.jl:2871 [inlined]
[11] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:326
[12] _start()
@ Base ./client.jl:560
in expression starting at /home/lorenz/.julia/packages/HTTP/4AUPl/src/precompile.jl:3
in expression starting at /home/lorenz/.julia/packages/HTTP/4AUPl/src/HTTP.jl:1
in expression starting at stdin:
julia> versioninfo()
Julia Version 1.12.0-beta1
Commit c175ace780d (2025-04-02 11:19 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 × 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, tigerlake)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 8 virtual cores)
Similar error for Plots.jl, this time using nightly:
julia> err
PkgPrecompileError: The following 2 direct dependencies failed to precompile:
Plots
Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to "/tmp/bladepot/compiled/v1.13/Plots/jl_ze1vZK" (ProcessExited(1)).
ERROR: LoadError: syntax: World age increment not at top level
Stacktrace:
[1] top-level scope
@ /tmp/bladepot/packages/Plots/3u4B6/src/init.jl:112
[2] include(mapexpr::Function, mod::Module, _path::String)
@ Base ./Base.jl:304
[3] top-level scope
@ /tmp/bladepot/packages/Plots/3u4B6/src/Plots.jl:176
[4] include(mod::Module, _path::String)
@ Base ./Base.jl:303
[5] 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:3019
[6] top-level scope
@ stdin:5
[7] eval(m::Module, e::Any)
@ Core ./boot.jl:489
[8] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base ./loading.jl:2865
[9] include_string
@ ./loading.jl:2875 [inlined]
[10] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:329
[11] _start()
@ Base ./client.jl:563
in expression starting at /tmp/bladepot/packages/Plots/3u4B6/src/init.jl:112
in expression starting at /tmp/bladepot/packages/Plots/3u4B6/src/Plots.jl:1
in expression starting at stdin:5
If I downgrade PrecompileTools to 1.3.0 both packages precompile and load fine.
Metadata
Metadata
Assignees
Labels
No labels