Precompile package causing missing-from-cache errors

#1

As an example, (tested with an empty .julia folder), after precompile some package
compile_incremental(:Makie)
and launch julia with the -J /path/to/precompiled/sysimg switch, loading other package can fail,
e.g.

using DifferentialEquations
[ Info: Recompiling stale cache file /Users/.../.julia/compiled/v1.1/DifferentialEquations/UQdwS.ji for DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
┌ Warning: Module NLSolversBase with build ID 337467525699069 is missing from the cache.
│ This may mean NLSolversBase [d41bc354-129a-5804-8e4c-c37616107c6c] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:947
┌ Warning: Module NLSolversBase with build ID 337467525699069 is missing from the cache.
│ This may mean NLSolversBase [d41bc354-129a-5804-8e4c-c37616107c6c] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:947
┌ Warning: Module NLSolversBase with build ID 337467525699069 is missing from the cache.
│ This may mean NLSolversBase [d41bc354-129a-5804-8e4c-c37616107c6c] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:947
┌ Warning: Module NLSolversBase with build ID 337467525699069 is missing from the cache.
│ This may mean NLSolversBase [d41bc354-129a-5804-8e4c-c37616107c6c] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:947
[ Info: Precompiling SteadyStateDiffEq [9672c7b4-1e72-59bd-8a11-6ac3964bc41f]
┌ Warning: Module NLSolversBase with build ID 337467525699069 is missing from the cache.
│ This may mean NLSolversBase [d41bc354-129a-5804-8e4c-c37616107c6c] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:947

while without the -J ... switch, the packages work fine, so it’s likely not an issue with Makie/DifferentialEquations. Any ideas how to troubleshoot, or is it more suitable to file as an issue to package compiler? The same steps used to work before, but after some updates seems to be no longer working. Thanks!

0 Likes