Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to precompile on Julia 1.5.3 #914

Closed
fpmenninger opened this issue Nov 17, 2020 · 2 comments
Closed

Unable to precompile on Julia 1.5.3 #914

fpmenninger opened this issue Nov 17, 2020 · 2 comments

Comments

@fpmenninger
Copy link

Windows 10

  1. the build.log in E:\ProgramFiles\Julia.julia\packages\Nemo\QMPxi\deps\ is blank.
  2. E:\ProgramFiles\Julia.julia\packages\Nemo\QMPxi\src\Nemo.jl:23 (stack trace [13] below) is: > using LoadFlint
  3. the build.log in E:\ProgramFiles\Julia.julia\packages\LoadFlint\o1S6V\deps is also blank.
    So it looks like LoadFlint is not building...
    (and the docs at https://github.com/oscar-system/LoadFlint.jl indicate the build is failing)
    Thoughts on how to facilitate precompilation?
    Thanks,

(@v1.5) pkg> add Nemo
Updating registry at E:\ProgramFiles\Julia\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions...
Installed Nemo ─ v0.18.4
Updating E:\ProgramFiles\Julia\.julia\environments\v1.5\Project.toml
[2edaba10] + Nemo v0.18.4
Updating E:\ProgramFiles\Julia\.julia\environments\v1.5\Manifest.toml
[c3fe647b] + AbstractAlgebra v0.11.1
[e21ec000] + Antic_jll v0.2.2+1
[d9960996] + Arb_jll v2.18.1+1
[2edaba10] + Nemo v0.18.4
[fb686558] + RandomExtensions v0.4.3
Building Nemo → E:\ProgramFiles\Julia\.julia\packages\Nemo\QMPxi\deps\build.log

julia> using Nemo
[ Info: Precompiling Nemo [2edaba10-b0f1-5616-af89-8c11ac63239a]
ERROR: LoadError: IOError: unlink: permission denied (EACCES)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] unlink(::String) at .\file.jl:918
[3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
[4] compilecache(::Base.PkgId, ::String) at .\loading.jl:1300
[5] _require(::Base.PkgId) at .\loading.jl:1030
[6] require(::Base.PkgId) at .\loading.jl:928
[7] require(::Module, ::Symbol) at .\loading.jl:923
[8] include(::Function, ::Module, ::String) at .\Base.jl:380
[9] include(::Module, ::String) at .\Base.jl:368
[10] top-level scope at none:2
[11] eval at .\boot.jl:331 [inlined]
[12] eval(::Expr) at .\client.jl:467
[13] top-level scope at .\none:3
in expression starting at E:\ProgramFiles\Julia.julia\packages\Nemo\QMPxi\src\Nemo.jl:23
caused by [exception 1]
IOError: unlink: permission denied (EACCES)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] unlink(::String) at .\file.jl:918
[3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
[4] rename(::String, ::String; force::Bool) at .\file.jl:928
[5] compilecache(::Base.PkgId, ::String) at .\loading.jl:1296
[6] _require(::Base.PkgId) at .\loading.jl:1030
[7] require(::Base.PkgId) at .\loading.jl:928
[8] require(::Module, ::Symbol) at .\loading.jl:923
[9] include(::Function, ::Module, ::String) at .\Base.jl:380
[10] include(::Module, ::String) at .\Base.jl:368
[11] top-level scope at none:2
[12] eval at .\boot.jl:331 [inlined]
[13] eval(::Expr) at .\client.jl:467
[14] top-level scope at .\none:3
┌ Warning: temp cleanup
│ exception =
│ IOError: unlink: permission denied (EACCES)
│ Stacktrace:
│ [1] uv_error at .\libuv.jl:97 [inlined]
│ [2] unlink(::String) at .\file.jl:918
│ [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
│ [4] temp_cleanup_purge(::Bool) at .\file.jl:514
│ [5] temp_cleanup_purge() at .\file.jl:507
│ [6] _atexit() at .\initdefs.jl:316
│ [7] exit at .\initdefs.jl:28 [inlined]
│ [8] _start() at .\client.jl:509
└ @ Base.Filesystem file.jl:518
ERROR: Failed to precompile Nemo [2edaba10-b0f1-5616-af89-8c11ac63239a] to E:\ProgramFiles\Julia.julia\compiled\v1.5\Nemo\SPUMD_3YUoD.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923

@thofma
Copy link
Member

thofma commented Nov 18, 2020

This is unrelated to Nemo and a known bug for julia 1.5.3 on Windows, see https://discourse.julialang.org/t/precompilation-error-with-julia-1-5-3-windows-10-64-bit/50028 and JuliaLang/julia#38411. I am afraid there is nothing we can do on our side to fix this. One option is to use julia 1.5.2 instead.

(The empty build.log files in the deps folders are a red herring. They are supposed to be empty on julia >= 1.3 due to a different handling of binary dependencies.)

@fpmenninger
Copy link
Author

Thank you!
Will look for resolution to noted bug and use 1.5.2 in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants