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

fails to precompile on Julia 1.3 master #50

Closed
chriscoey opened this issue Aug 16, 2019 · 3 comments
Closed

fails to precompile on Julia 1.3 master #50

chriscoey opened this issue Aug 16, 2019 · 3 comments

Comments

@chriscoey
Copy link

coey@sp4:~/.julia/dev/Hypatia$ j
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.3.0-alpha.148 (2019-08-16)
 _/ |\__'_|_|_|\__'_|  |  Commit b5f4e87774 (0 days old master)
|__/                   |

julia> using DynamicPolynomials
[ Info: Precompiling DynamicPolynomials [7c1d4256-1411-5781-91ec-d7bc3513ac07]
ERROR: LoadError: LoadError: syntax: suffix not allowed after `var"))
    else
        isa(var, Expr) || error("`
Stacktrace:
 [1] top-level scope at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/var.jl:13
 [2] include at ./boot.jl:328 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1105
 [4] include at ./Base.jl:31 [inlined]
 [5] include(::String) at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/DynamicPolynomials.jl:1
 [6] top-level scope at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/DynamicPolynomials.jl:8
 [7] include at ./boot.jl:328 [inlined]
 [8] include_relative(::Module, ::String) at ./loading.jl:1105
 [9] include(::Module, ::String) at ./Base.jl:31
 [10] top-level scope at none:2
 [11] eval at ./boot.jl:330 [inlined]
 [12] eval(::Expr) at ./client.jl:433
 [13] top-level scope at ./none:3
in expression starting at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/var.jl:13
in expression starting at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/DynamicPolynomials.jl:8
ERROR: Failed to precompile DynamicPolynomials [7c1d4256-1411-5781-91ec-d7bc3513ac07] to /home/coey/.julia/compiled/v1.3/DynamicPolynomials/tepBk_xW7xB.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1274
 [3] _require(::Base.PkgId) at ./loading.jl:1024
 [4] require(::Base.PkgId) at ./loading.jl:922
 [5] require(::Module, ::Symbol) at ./loading.jl:917
@chriscoey
Copy link
Author

Possibly related: JuliaLang/julia#32408

@chriscoey
Copy link
Author

still fails on latest Julia

   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.4.0-DEV.17 (2019-08-20)
 _/ |\__'_|_|_|\__'_|  |  Commit 8ebe5643ca (0 days old master)
|__/                   |

(v1.4) pkg> activate .
Activating new environment at `~/julia/Project.toml`

julia> using DynamicPolynomials
[ Info: Precompiling DynamicPolynomials [7c1d4256-1411-5781-91ec-d7bc3513ac07]
ERROR: LoadError: LoadError: syntax: suffix not allowed after `var"))
    else
        isa(var, Expr) || error("`
Stacktrace:
 [1] top-level scope at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/var.jl:13
 [2] include at ./boot.jl:328 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1105
 [4] include at ./Base.jl:31 [inlined]
 [5] include(::String) at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/DynamicPolynomials.jl:1
 [6] top-level scope at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/DynamicPolynomials.jl:8
 [7] include at ./boot.jl:328 [inlined]
 [8] include_relative(::Module, ::String) at ./loading.jl:1105
 [9] include(::Module, ::String) at ./Base.jl:31
 [10] top-level scope at none:2
 [11] eval at ./boot.jl:330 [inlined]
 [12] eval(::Expr) at ./client.jl:433
 [13] top-level scope at ./none:3
in expression starting at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/var.jl:13
in expression starting at /home/coey/.julia/packages/DynamicPolynomials/ISFei/src/DynamicPolynomials.jl:8
ERROR: Failed to precompile DynamicPolynomials [7c1d4256-1411-5781-91ec-d7bc3513ac07] to /home/coey/.julia/compiled/v1.4/DynamicPolynomials/tepBk_SEfir.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1274
 [3] _require(::Base.PkgId) at ./loading.jl:1024
 [4] require(::Base.PkgId) at ./loading.jl:922
 [5] require(::Module, ::Symbol) at ./loading.jl:917

@chriscoey
Copy link
Author

now fixed on julia master thanks to JuliaLang/julia#32948

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

1 participant