PkgCacheInspector.jl icon indicating copy to clipboard operation
PkgCacheInspector.jl copied to clipboard

`<stdlib> has not yet been precompiled for julia x.x.x`

Open fatteneder opened this issue 1 year ago • 1 comments

Not sure if related to #19, because also fails on 1.9.1.

When loading a stdlib like Printf, which is a dependency of PkgCacheInspector.jl, I get the error

julia> info_cachefile("Printf")
ERROR: Printf [de0858da-6303-5e67-8744-51eddeeeb8d7] has not yet been precompiled for julia 1.9.2
Stacktrace:
 [1] error(::Base.PkgId, ::String, ::VersionNumber)
   @ Base ./error.jl:44
 [2] info_cachefile(pkg::Base.PkgId)
   @ PkgCacheInspector ~/wd/PkgCacheInspector.jl/src/PkgCacheInspector.jl:230
 [3] info_cachefile(pkgname::String)
   @ PkgCacheInspector ~/wd/PkgCacheInspector.jl/src/PkgCacheInspector.jl:256
 [4] top-level scope
   @ REPL[3]:1

Running ] precompile Printf complains with

PkgCacheInspector) pkg> precompile Printf
ERROR: No direct dependencies outside of the sysimage found matching ["Printf"]

fatteneder avatar Oct 15 '23 11:10 fatteneder

Printf is in the sysimg for 1.9 I think, not for 1.11

vchuravy avatar Oct 15 '23 12:10 vchuravy

Yeah, I don't think there's any provision for things in the sysimg.

timholy avatar May 07 '24 07:05 timholy