(@v1.6) pkg> add StatsBase#master
Cloning git-repo `https://github.com/JuliaStats/StatsBase.jl.git`
Updating git-repo `https://github.com/JuliaStats/StatsBase.jl.git`
Resolving package versions...
Updating `~/.julia/environments/v1.6/Project.toml`
[2913bbd2] ~ StatsBase v0.33.1 โ v0.33.1 `https://github.com/JuliaStats/StatsBase.jl.git#master`
Updating `~/.julia/environments/v1.6/Manifest.toml`
[2913bbd2] ~ StatsBase v0.33.1 โ v0.33.1 `https://github.com/JuliaStats/StatsBase.jl.git#master`
Precompiling project...
[ Info: Precompiling StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
[ Info: Precompiling ImageCore [a09fc81d-aa75-5fe9-8630-4744c3626534]
[ Info: Precompiling ColorVectorSpace [c3611d14-8923-5661-9e6a-0046d554d3a4]
[ Info: Precompiling Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
[ Info: Precompiling FreeTypeAbstraction [663a7486-cb36-511b-a19d-713bb74d65c9]
[ Info: Precompiling KernelDensity [5ab0869b-81aa-558d-bb23-cbf5423bbe9b]
โ Warning: Precompilation failed for indirect dependency ImageCore [a09fc81d-aa75-5fe9-8630-4744c3626534]
โ @ Pkg.API ~/JuliaPkgs/Pkg.jl/src/API.jl:978
[ Info: Precompiling PNGFiles [f57f5aa1-a3ce-4bc8-8ab9-96f992907883]
โ Warning: Precompilation failed for indirect dependency PNGFiles [f57f5aa1-a3ce-4bc8-8ab9-96f992907883]
โ @ Pkg.API ~/JuliaPkgs/Pkg.jl/src/API.jl:978
[ Info: Precompiling ImageIO [82e4d734-157c-48bb-816b-45c225c6df19]
[ Info: Precompiling AbstractPlotting [537997a7-5e4e-5d89-9595-2241ea00577e]
[ Info: Precompiling GLMakie [e9467ef8-e4e7-5192-8a1a-b1aee30e663a]
[ Info: Precompiling Makie [ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a]
(@v1.6) pkg> add StatsBase#master
Updating git-repo `https://github.com/JuliaStats/StatsBase.jl.git`
Resolving package versions...
No Changes to `~/.julia/environments/v1.6/Project.toml`
No Changes to `~/.julia/environments/v1.6/Manifest.toml`
Precompiling project...
[ Info: Precompiling ImageCore [a09fc81d-aa75-5fe9-8630-4744c3626534]
โ Warning: Precompilation failed for indirect dependency ImageCore [a09fc81d-aa75-5fe9-8630-4744c3626534]
โ @ Pkg.API ~/JuliaPkgs/Pkg.jl/src/API.jl:978
[ Info: Precompiling PNGFiles [f57f5aa1-a3ce-4bc8-8ab9-96f992907883]
โ Warning: Precompilation failed for indirect dependency PNGFiles [f57f5aa1-a3ce-4bc8-8ab9-96f992907883]
โ @ Pkg.API ~/JuliaPkgs/Pkg.jl/src/API.jl:978
[ Info: Precompiling ImageIO [82e4d734-157c-48bb-816b-45c225c6df19]
[ Info: Precompiling AbstractPlotting [537997a7-5e4e-5d89-9595-2241ea00577e]
(@v1.6) pkg> add StatsBase#master
Updating git-repo `https://github.com/JuliaStats/StatsBase.jl.git`
Resolving package versions...
No Changes to `~/.julia/environments/v1.6/Project.toml`
No Changes to `~/.julia/environments/v1.6/Manifest.toml`
Precompiling project...
[ Info: Precompiling ImageCore [a09fc81d-aa75-5fe9-8630-4744c3626534]
โ Warning: Precompilation failed for indirect dependency ImageCore [a09fc81d-aa75-5fe9-8630-4744c3626534]
โ @ Pkg.API ~/JuliaPkgs/Pkg.jl/src/API.jl:978
[ Info: Precompiling PNGFiles [f57f5aa1-a3ce-4bc8-8ab9-96f992907883]
โ Warning: Precompilation failed for indirect dependency PNGFiles [f57f5aa1-a3ce-4bc8-8ab9-96f992907883]
โ @ Pkg.API ~/JuliaPkgs/Pkg.jl/src/API.jl:978
[ Info: Precompiling ImageIO [82e4d734-157c-48bb-816b-45c225c6df19]
[ Info: Precompiling AbstractPlotting [537997a7-5e4e-5d89-9595-2241ea00577e]
[ Info: Precompiling GLMakie [e9467ef8-e4e7-5192-8a1a-b1aee30e663a]
[ Info: Precompiling Makie [ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a]
Maybe things shouldn't run the precompile thing if the manifest doesn't change? Or at least figure out why it tries to recompile over and over.
cc @ianshmean
Are you on MacOS? I think this is reasonable behavior if the underlying packages are broken (as a lot are on MacOS on master right now). If they break they don't finish precomp.
Perhaps if an error occurs we could disable auto until the manifest changes?
This was on Linux but some packages might have been broken there to.
I think we should record the packages that fail to precompile and not try to auto-precompile the same version of them in the same session.
Yeah, it makes for a nice UX. See #2043
Fixed I think
Most helpful comment
I think we should record the packages that fail to precompile and not try to auto-precompile the same version of them in the same session.