-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Description
I got the following malformed manifest while dealing with git conflicts: https://github.com/JuliaPackaging/Yggdrasil/blob/e5b0900dbc69d7c59ab7ce146d9ba9285ee9c0df/.ci/Manifest.toml. My fault. But Pkg (using current julia master
) complains with a particularly misleading error message:
ERROR: expected a single entry for "StyledStrings" in "/cache/build/yggy-amdci7-3/julialang/yggdrasil/.ci/Project.toml"
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:44
[2] explicit_manifest_deps_get(project_file::String, where::Base.PkgId, name::String)
@ Base ./loading.jl:1035
[3] manifest_deps_get(env::String, where::Base.PkgId, name::String)
@ Base ./loading.jl:734
[4] identify_package_env(where::Base.PkgId, name::String)
@ Base ./loading.jl:347
[5] identify_package
@ ./loading.jl:430 [inlined]
[6] stale_cachefile(modkey::Base.PkgId, build_id::UInt128, modpath::String, cachefile::String; ignore_loaded::Bool, requested_flags::Base.CacheFlags, reasons::Nothing, stalecheck::Bool)
@ Base ./loading.jl:4095
[7] stale_cachefile
@ ./loading.jl:3947 [inlined]
[8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
@ Base ./loading.jl:2082
[9] __require_prelocked(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2630
[10] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2493
[11] macro expansion
@ ./loading.jl:2421 [inlined]
[12] macro expansion
@ ./lock.jl:376 [inlined]
[13] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2386
[14] #invoke_in_world#2
@ ./essentials.jl:1125 [inlined]
[15] invoke_in_world
@ ./essentials.jl:1121 [inlined]
[16] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2366
[17] eval(m::Module, e::Any)
@ Core ./boot.jl:488
[18] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:294
[19] _start()
@ Base ./client.jl:560
but the problem is the Manifest.toml
file, not the Project.toml
.
Metadata
Metadata
Assignees
Labels
No labels