Compilation issue
Closed this issue · 3 comments
ziyiyin97 commented
(base) francisyin@ipsec-172-16-85-30 scripts % julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.5.0 (2020-08-01)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> pwd()
"/Users/francisyin/.julia/dev/TimeProbeSeismic/scripts"
julia> using Pkg
julia> Pkg.activate("/Users/francisyin/.julia/dev/TimeProbeSeismic")
Activating environment at `~/.julia/dev/TimeProbeSeismic/Project.toml`
julia> Pkg.instantiate()
Updating registry at `~/.julia/registries/General`
Updating registry at `~/.julia/registries/SLIMregistryJL`
Updating git-repo `https://github.com/slimgroup/SLIMregistryJL.git`
Cloning git-repo `https://GitHub.com/slimgroup/JUDI.jl.git`
ERROR: TypeError: in typeassert, expected VersionNumber, got a value of type Pkg.Types.VersionSpec
Stacktrace:
[1] load_urls(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:503
[2] #download_source#54 at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:679 [inlined]
[3] download_source at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:678 [inlined]
[4] instantiate(::Pkg.Types.Context; manifest::Nothing, update_registry::Bool, verbose::Bool, platform::Pkg.BinaryPlatforms.MacOS, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:868
[5] instantiate(::Pkg.Types.Context) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:796
[6] #instantiate#169 at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:792 [inlined]
[7] instantiate() at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:792
[8] top-level scope at REPL[4]:1
ziyiyin97 commented
BTW a resolve
after that gives
(TimeProbeSeismic) pkg> resolve
ERROR: Unsatisfiable requirements detected for package XML2_jll [02c8fc9c]:
XML2_jll [02c8fc9c] log:
├─possible versions are: 2.9.9-2.9.11 or uninstalled
├─restricted to versions 2.9.11 by an explicit requirement, leaving only versions 2.9.11
└─restricted by julia compatibility requirements to versions: 2.9.9-2.9.10 or uninstalled — no versions left
in case it's helpful
mloubout commented
@ziyiyin97 yes aware of that got a rebuild function forgot to add it
Edit: wrong thread this is for jld2