LoadError: Failed to precompile Polymake with Julia Version 1.12.6 (2026-04-09) on macOS Homebrew
bug
**Describe the bug**
LoadError: Failed to precompile Polymake
**To Reproduce**
Install Julia in macOS Homebrew, then
```
using Oscar
...
Precompiling packages ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━ 5/6
� GAP
Info Given Oscar was explicitly requested, output will be shown live
ERROR: LoadError: Failed to precompile Polymake [d720cf60-89b5-51f5-aff5-213f193123e7] to "/Users/dima/.julia/compiled/v1.12/Polymake/jl_ENH1E9".
Stacktrace:
[1] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base ./loading.jl:3315
[2] (::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId, String, Dict{String, Int64}})()
@ Base ./loading.jl:2683
[3] mkpidlock(f::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId, String, Dict{String, Int64}}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile /opt/homebrew/Cellar/julia/1.12.6/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:96
[4] top-level scope
@ ~/.julia/packages/Oscar/QM0xQ/src/Oscar.jl:24
[5] top-level scope
@ stdin:5
in expression starting at /Users/dima/.julia/packages/Oscar/QM0xQ/src/imports.jl:19
in expression starting at /Users/dima/.julia/packages/Oscar/QM0xQ/src/Oscar.jl:1
in expression starting at stdin:5
� GAP
� Polymake
� GAP � NemoExt
� Hecke � GAPExt
� Hecke � PolymakeExt
� Oscar
Precompiling Oscar finished.
0 dependencies successfully precompiled in 78 seconds. 148 already precompiled.
ERROR: The following 1 direct dependency failed to precompile:
Oscar
Failed to precompile Oscar [f1435218-dba5-11e9-1e4d-f1a5fab5fc13] to "/Users/dima/.julia/compiled/v1.12/Oscar/jl_lio8JV".
ERROR: LoadError: Failed to precompile Polymake [d720cf60-89b5-51f5-aff5-213f193123e7] to "/Users/dima/.julia/compiled/v1.12/Polymake/jl_ENH1E9".
Stacktrace:
[1] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base ./loading.jl:3315
[2] (::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId, String, Dict{String, Int64}})()
@ Base ./loading.jl:2683
[3] mkpidlock(f::Base.var"#__require_prelocked##0#__require_prelocked##1"{Base.PkgId, String, Dict{String, Int64}}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile /opt/homebrew/Cellar/julia/1.12.6/share/julia/stdlib/v1.12/FileWatching/src/pidfile.jl:96
[4] top-level scope
@ ~/.julia/packages/Oscar/QM0xQ/src/Oscar.jl:24
[5] top-level scope
@ stdin:5
in expression starting at /Users/dima/.julia/packages/Oscar/QM0xQ/src/imports.jl:19
in expression starting at /Users/dima/.julia/packages/Oscar/QM0xQ/src/Oscar.jl:1
in expression starting at stdin:
julia>
```
**Expected behavior**
should work
**System (please complete the following information):**
```
julia> versioninfo()
Julia Version 1.12.6
Commit 15346901f0 (2026-04-09 19:20 UTC)
Build Info:
Built by Homebrew (v1.12.6)
Note: This is an unofficial build, please report bugs to the project
responsible for this build and not to the Julia project unless you can
reproduce the issue using official builds available at https://julialang.org
Platform Info:
OS: macOS (arm64-apple-darwin25.4.0)
CPU: 14 � Apple M4 Max
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, apple-m4)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 10 virtual cores)
```
**Additional context**
I just wanted to figure out to which degrees it can do Galois groups 🥲
2 条评论