Closed
Description
Since #43990 was merged with Julia master, I noticed that Pkg precompilation often hangs on some packages that I have installed, but there is no apparent pattern. It's also possible that the precompilation is just taking a really long time and appears to be hang. The first package I encountered this issue with was Parsers.jl
. When this happens, ^C then repeat the precompilation usually completes the precompilation for the problematic packages. The circle animation spins indefinitely during the hanging episodes.
Here is one set:
Precompiling project...
Progress [=======================================> ] 476/496
◑ StrideArraysCore
◐ MLJModels
^C Interrupted: Exiting precompilation...
(@ocean) pkg> update
Updating registry at `~/.julia/registries/General.toml`
Updating git-repo `https://github.com/Alexander-Barth/ROMS.jl`
No Changes to `~/.julia/environments/ocean/Project.toml`
No Changes to `~/.julia/environments/ocean/Manifest.toml`
Precompiling project...
Progress [======================================> ] 19/20
◐ MLJ
^C Interrupted: Exiting precompilation...
18 dependencies successfully precompiled in 1098 seconds. 476 already precompiled. 1 skipped during auto due to previous errors.
1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package
julia> Pkg.precompile()
Precompiling project...
2 dependencies successfully precompiled in 12 seconds. 494 already precompiled.
And another set:
Precompiling project...
Progress [========================================>] 525/526
◓ IJulia
✗ JuliaFormatter
^C Interrupted: Exiting precompilation...
(@ocean) pkg> update
Updating registry at `~/.julia/registries/General.toml`
No Changes to `~/.julia/environments/ocean/Project.toml`
No Changes to `~/.julia/environments/ocean/Manifest.toml`
Precompiling project...
1 dependency successfully precompiled in 2 seconds. 524 already precompiled. 1 skipped during auto due to previous errors.
and another set:
(@ocean) pkg> update
Updating registry at `~/.julia/registries/General.toml`
No Changes to `~/.julia/environments/ocean/Project.toml`
No Changes to `~/.julia/environments/ocean/Manifest.toml`
Precompiling project...
Progress [========================================>] 515/526
◓ GeometryBasics
◑ PlotThemes
^C Interrupted: Exiting precompilation...
(@ocean) pkg> update
Updating registry at `~/.julia/registries/General.toml`
No Changes to `~/.julia/environments/ocean/Project.toml`
No Changes to `~/.julia/environments/ocean/Manifest.toml`
Precompiling project...
11 dependencies successfully precompiled in 28 seconds. 514 already precompiled. 1 skipped during auto due to previous errors.
versioninfo():
julia> versioninfo()
Julia Version 1.9.0-DEV.84
Commit 6b29ebda35 (2022-02-24 22:52 UTC)
Platform Info:
OS: macOS (arm64-apple-darwin21.3.0)
CPU: 10 × Apple M1 Pro
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
Threads: 1 on 8 virtual cores
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment