JuliaManifolds / ManifoldsBase.jl

Basic interface for manifolds in Julia
https://juliamanifolds.github.io/ManifoldsBase.jl/
MIT License
87 stars 8 forks source link

Failed to compile with Julia version 1.6.2 #122

Closed mahaa2 closed 2 years ago

mahaa2 commented 2 years ago

Hi all,

I got an error while trying to install this package. Should I had to have the latest Julia version ? Thanks.

Info: Precompiling Manifolds [1cead3c2-87b3-11e9-0ccd-23c62b72b94e] ERROR: LoadError: LoadError: LoadError: LoadError: @SArray got bad expression: fill((1im) c[1] p[1]) Stacktrace: [1] error(s::String) @ Base ./error.jl:33 [2] var"@SArray"(source::LineNumberNode, module::Module, ex::Any) @ StaticArrays ~/.julia/packages/StaticArrays/gBeIF/src/SArray.jl:269 [3] #macroexpand#50 @ ./expr.jl:112 [inlined] [4] macroexpand @ ./expr.jl:111 [inlined] [5] docm(source::LineNumberNode, mod::Module, meta::Any, ex::Any, define::Bool) (repeats 2 times) @ Base.Docs ./docs/Docs.jl:537 [6] (::DocStringExtensions.var"#29#30"{typeof(DocStringExtensions.template_hook)})(::LineNumberNode, ::Vararg{Any, N} where N) @ DocStringExtensions ~/.julia/packages/DocStringExtensions/9Ot5N/src/templates.jl:11 [7] var"@doc"(source::LineNumberNode, module::Module, x::Vararg{Any, N} where N) @ Core ./boot.jl:508 [8] include(mod::Module, _path::String) @ Base ./Base.jl:386 [9] include(x::String) @ Manifolds ~/.julia/packages/Manifolds/oTdFa/src/Manifolds.jl:1 [10] top-level scope @ ~/.julia/packages/Manifolds/oTdFa/src/Manifolds.jl:325 [11] include @ ./Base.jl:386 [inlined] [12] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing) @ Base ./loading.jl:1235 [13] top-level scope @ none:1 [14] eval @ ./boot.jl:360 [inlined] [15] eval(x::Expr) @ Base.MainInclude ./client.jl:446 [16] top-level scope @ none:1 in expression starting at /home/hartmarc/.julia/packages/Manifolds/oTdFa/src/manifolds/Circle.jl:202 in expression starting at /home/hartmarc/.julia/packages/Manifolds/oTdFa/src/manifolds/Circle.jl:196 in expression starting at /home/hartmarc/.julia/packages/Manifolds/oTdFa/src/manifolds/Circle.jl:196 in expression starting at /home/hartmarc/.julia/packages/Manifolds/oTdFa/src/Manifolds.jl:1 ERROR: Failed to precompile Manifolds [1cead3c2-87b3-11e9-0ccd-23c62b72b94e] to /home/hartmarc/.julia/compiled/v1.6/Manifolds/jl_yntfuv. Stacktrace: [1] error(s::String) @ Base ./error.jl:33 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool) @ Base ./loading.jl:1385 [3] compilecache(pkg::Base.PkgId, path::String) @ Base ./loading.jl:1329 [4] _require(pkg::Base.PkgId) @ Base ./loading.jl:1043 [5] require(uuidkey::Base.PkgId) @ Base ./loading.jl:936 [6] require(into::Module, mod::Symbol) @ Base ./loading.jl:923

mahaa2 commented 2 years ago

I have resolved the issue.

kellertuer commented 2 years ago

We still run tests on Julia 1.6 (since it is the LTS), so you should be fine with 1.6 still.

Great that you could resolve the issue, I hope it is nothing we have to change?