JuliaStats / Distributions.jl

A Julia package for probability distributions and associated functions.
Other
1.1k stars 414 forks source link

installation warning/error about DistributionsTestExt (not) precompiling #1842

Closed Illuminista closed 4 months ago

Illuminista commented 6 months ago

(@v1.10) pkg> status Distributions Status ~/.julia/environments/v1.10/Project.toml [31c24e10] Distributions v0.25.107


Precompiling project... 17 dependencies successfully precompiled in 19 seconds. 301 already precompiled. 1 dependency had output during precompilation: Distributions → DistributionsTestExt │ ┌ Warning: Module DistributionsTestExt with build ID ffffffff-ffff-ffff-0003-9e6f40b7ee14 is missing from the cache. │ │ This may mean DistributionsTestExt [ffbe0ea5-a612-5ff7-aaf5-cac02eef3019] does not support precompilation but is imported by a module that does. │ └ @ Base loading.jl:1948 │ ┌ Error: Error during loading of extension DistributionsTestExt of Distributions, use Base.retry_load_extensions() to retry. │ │ exception = │ │ 1-element ExceptionStack: │ │ Declaring precompile(false) is not allowed in files that are being precompiled. Stacktrace: │ │ [1] _require(pkg::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1952 │ │ [2] require_prelocked(uuidkey::Base.PkgId, env::Nothing) │ │ @ Base ./loading.jl:1812 │ │ [3] #invoke_in_world#3 │ │ @ ./essentials.jl:926 [inlined] │ │ [4] invoke_in_world │ │ @ ./essentials.jl:923 [inlined] │ │ [5] _require_prelocked │ │ @ ./loading.jl:1803 [inlined] │ │ [6] _require_prelocked │ │ @ ./loading.jl:1802 [inlined] │ │ [7] run_extension_callbacks(extid::Base.ExtensionId) │ │ @ Base ./loading.jl:1295 │ │ [8] run_extension_callbacks(pkgid::Base.PkgId) │ │ @ Base ./loading.jl:1330 │ │ [9] run_package_callbacks(modkey::Base.PkgId) │ │ @ Base ./loading.jl:1164 │ │ [10] __require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1819 │ │ [11] #invoke_in_world#3 │ │ @ ./essentials.jl:926 [inlined] │ │ [12] invoke_in_world │ │ @ ./essentials.jl:923 [inlined] │ │ [13] _require_prelocked(uuidkey::Base.PkgId, env::String) │ │ @ Base ./loading.jl:1803 │ │ [14] macro expansion │ │ @ ./loading.jl:1790 [inlined] │ │ [15] macro expansion │ │ @ ./lock.jl:267 [inlined] │ │ [16] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1753 │ │ [17] #invoke_in_world#3 │ │ @ ./essentials.jl:926 [inlined] │ │ [18] invoke_in_world │ │ @ ./essentials.jl:923 [inlined] │ │ [19] require(into::Module, mod::Symbol) │ │ @ Base ./loading.jl:1746 │ │ [20] include │ │ @ ./Base.jl:495 [inlined] │ │ [21] 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:2222 │ │ [22] top-level scope │ │ @ stdin:3 │ │ [23] eval │ │ @ ./boot.jl:385 [inlined] │ │ [24] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) │ │ @ Base ./loading.jl:2076 │ │ [25] include_string │ │ @ ./loading.jl:2086 [inlined] │ │ [26] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:316 │ │ [27] _start() │ │ @ Base ./client.jl:552 │ └ @ Base loading.jl:1301 └

devmotion commented 4 months ago

I can't reproduce this issue. Please reopen if it re-appears.