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

precompile fails #1051

Closed
RaimundK opened this issue Feb 7, 2024 · 2 comments
Closed

precompile fails #1051

RaimundK opened this issue Feb 7, 2024 · 2 comments

Comments

@RaimundK
Copy link

RaimundK commented Feb 7, 2024

When updating today, some part of Symbolics failed to precompile:

Symbolics → SymbolicsSymPyExt
│ ┌ Warning: Module SymbolicsPreallocationToolsExt with build ID ffffffff-ffff-ffff-0000-00af8b890415 is missing from the cache.
│ │ This may mean SymbolicsPreallocationToolsExt [d479e226-fb54-5ebe-a75e-a7af7f39127f] does not support precompilation but is imported by a module that does.
│ └ @ Base loading.jl:1942
│ ┌ Error: Error during loading of extension SymbolicsPreallocationToolsExt of Symbolics, 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:1946
│ │ [2] __require_prelocked(uuidkey::Base.PkgId, env::Nothing)
│ │ @ Base .\loading.jl:1806
│ │ [3] #invoke_in_world#3
│ │ @ Base .\essentials.jl:921 [inlined]
│ │ [4] invoke_in_world
│ │ @ Base .\essentials.jl:918 [inlined]
│ │ [5] _require_prelocked
│ │ @ Base .\loading.jl:1797 [inlined]
│ │ [6] _require_prelocked
│ │ @ Base .\loading.jl:1796 [inlined]
│ │ [7] run_extension_callbacks(extid::Base.ExtensionId)
│ │ @ Base .\loading.jl:1289
│ │ [8] run_extension_callbacks(pkgid::Base.PkgId)
│ │ @ Base .\loading.jl:1324
│ │ [9] run_package_callbacks(modkey::Base.PkgId)
│ │ @ Base .\loading.jl:1158
│ │ [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
│ │ @ Base .\loading.jl:1813
│ │ [11] #invoke_in_world#3
│ │ @ Base .\essentials.jl:921 [inlined]
│ │ [12] invoke_in_world
│ │ @ Base .\essentials.jl:918 [inlined]
│ │ [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
│ │ @ Base .\loading.jl:1797
│ │ [14] macro expansion
│ │ @ Base .\loading.jl:1784 [inlined]
│ │ [15] macro expansion
│ │ @ Base .\lock.jl:267 [inlined]
│ │ [16] __require(into::Module, mod::Symbol)
│ │ @ Base .\loading.jl:1747
│ │ [17] #invoke_in_world#3
│ │ @ Base .\essentials.jl:921 [inlined]
│ │ [18] invoke_in_world
│ │ @ Base .\essentials.jl:918 [inlined]
│ │ [19] require(into::Module, mod::Symbol)
│ │ @ Base .\loading.jl:1740
│ │ [20] include
│ │ @ Base .\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:2216
│ │ [22] top-level scope
│ │ @ stdin:3
│ │ [23] eval
│ │ @ Core .\boot.jl:385 [inlined]
│ │ [24] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│ │ @ Base .\loading.jl:2070
│ │ [25] include_string
│ │ @ Base .\loading.jl:2080 [inlined]
│ │ [26] exec_options(opts::Base.JLOptions)
│ │ @ Base .\client.jl:316
│ │ [27] _start()
│ │ @ Base .\client.jl:552
│ └ @ Base loading.jl:1295

@asterycs
Copy link
Contributor

asterycs commented Feb 9, 2024

I'm not a maintainer, but is this the same issue as #1042 ?
At least for me the package still works fine despite the error message.

@ChrisRackauckas
Copy link
Member

Yes it's a Julia level issue but it doesn't effect usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants