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

Newly generated Manifest does not precompile #2288

Closed
fredrikekre opened this issue Dec 11, 2020 · 3 comments
Closed

Newly generated Manifest does not precompile #2288

fredrikekre opened this issue Dec 11, 2020 · 3 comments
Milestone

Comments

@fredrikekre
Copy link
Member

Precompiling project...
  Progress [>                                        ]  0/9
  ◓ Zlib_jll
  ◐ MbedTLS_jll
┌ Error: Pkg.precompile error
│   exception =
│    MethodError: Cannot `convert` an object of type 
│      Nothing to an object of type 
│      Union{Pkg.Types.UpgradeLevel, VersionNumber, Pkg.Types.VersionSpec}
│    Closest candidates are:
│      convert(::Type{T}, ::T) where T at essentials.jl:205
│    Stacktrace:
│     [1] Pkg.Types.PackageSpec(name::String, uuid::Base.UUID, version::Nothing, tree_hash::Nothing, repo::Pkg.Types.GitRepo, path::Nothing, pinned::Bool, mode::Pkg.Types.PackageMode)
│       @ Pkg.Types ~/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:77
│     [2] Pkg.Types.PackageSpec(; name::String, uuid::Base.UUID, version::Nothing, tree_hash::Nothing, repo::Pkg.Types.GitRepo, path::Nothing, pinned::Bool, mode::Pkg.Types.PackageMode)
│       @ Pkg.Types ./util.jl:444
│     [3] macro expansion
│       @ ~/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1146 [inlined]
│     [4] (::Pkg.API.var"#209#234"{Vector{Task}, Pkg.API.var"#handle_interrupt#227"{Base.Event, ReentrantLock, Base.TTY}, Pkg.API.var"#color_string#225", Base.Event, Base.Event, ReentrantLoc$
, Vector{Base.PkgId}, Vector{Base.PkgId}, Dict{Base.PkgId, String}, Vector{Base.PkgId}, Vector{Base.PkgId}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Base.Event}, Dict{Base.PkgId, Bool}, Dict$
  Progress [>                                        ]  0/9
  ✗ Zlib_jll
  ◓ MbedTLS_jll
┌ Error: Pkg.precompile error
│   exception =
│    MethodError: Cannot `convert` an object of type 
│      Nothing to an object of type 
│      Union{Pkg.Types.UpgradeLevel, VersionNumber, Pkg.Types.VersionSpec}
│    Closest candidates are:
│      convert(::Type{T}, ::T) where T at essentials.jl:205
│    Stacktrace:
│     [1] Pkg.Types.PackageSpec(name::String, uuid::Base.UUID, version::Nothing, tree_hash::Nothing, repo::Pkg.Types.GitRepo, path::Nothing, pinned::Bool, mode::Pkg.Types.PackageMode)
│       @ Pkg.Types ~/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:77
│     [2] Pkg.Types.PackageSpec(; name::String, uuid::Base.UUID, version::Nothing, tree_hash::Nothing, repo::Pkg.Types.GitRepo, path::Nothing, pinned::Bool, mode::Pkg.Types.PackageMode)
│       @ Pkg.Types ./util.jl:444
│     [3] macro expansion
│       @ ~/julia16/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1146 [inlined]
│     [4] (::Pkg.API.var"#209#234"{Vector{Task}, Pkg.API.var"#handle_interrupt#227"{Base.Event, ReentrantLock, Base.TTY}, Pkg.API.var"#color_string#225", Base.Event, Base.Event, ReentrantLock
, Vector{Base.PkgId}, Vector{Base.PkgId}, Dict{Base.PkgId, String}, Vector{Base.PkgId}, Vector{Base.PkgId}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Base.Event}, Dict{Base.PkgId, Bool}, Dict{
  Progress [>                                        ]  0/9
@fredrikekre
Copy link
Member Author

Project.toml which I instantiate without and existing manifest:

$ cat Project.toml 
[deps]
Canvas = "c62c433c-27ae-472e-8409-561fdc646fce"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53"

which gives

# This file is machine-generated - editing it directly is not advised

[[ArgTools]]
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"

[[Artifacts]]
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"

[[Base64]]
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

[[Canvas]]
deps = ["Dates", "HTTP", "JSON", "TimeZones"]
git-tree-sha1 = "2591e2d18cb44762c44c650581529df219214e54"
uuid = "c62c433c-27ae-472e-8409-561fdc646fce"
version = "1.2.0"

[[Dates]]
deps = ["Printf"]
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"

[[Downloads]]
deps = ["ArgTools", "LibCURL", "NetworkOptions"]
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"

[[ExprTools]]
git-tree-sha1 = "10407a39b87f29d47ebaca8edbc75d7c302ff93e"
uuid = "e2ba6199-217a-4e67-a87a-7c52f15ade04"
version = "0.1.3"

[[EzXML]]
deps = ["Printf", "XML2_jll"]
git-tree-sha1 = "0fa3b52a04a4e210aeb1626def9c90df3ae65268"
uuid = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"
version = "1.1.0"

[[HTTP]]
deps = ["Base64", "Dates", "IniFile", "MbedTLS", "Sockets", "URIs"]
git-tree-sha1 = "504ca74f27377a25ebfd63b1f5e6ec3e9fb14690"
uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3"
version = "0.9.1"

[[IniFile]]
deps = ["Test"]
git-tree-sha1 = "098e4d2c533924c921f9f9847274f2ad89e018b8"
uuid = "83e8ac13-25f8-5344-8a64-a9f2b223428f"
version = "0.5.0"

[[InteractiveUtils]]
deps = ["Markdown"]
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"

[[JLLWrappers]]
git-tree-sha1 = "c70593677bbf2c3ccab4f7500d0f4dacfff7b75c"
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
version = "1.1.3"

[[JSON]]
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
git-tree-sha1 = "81690084b6198a2e1da36fcfda16eeca9f9f24e4"
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
version = "0.21.1"

[[LibCURL]]
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"

[[LibCURL_jll]]
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"]
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"

[[LibGit2]]
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"

[[LibSSH2_jll]]
deps = ["Artifacts", "Libdl", "MbedTLS_jll"]
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8"

[[Libdl]]
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"

[[Libiconv_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
git-tree-sha1 = "8e924324b2e9275a51407a4e06deb3455b1e359f"
uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531"
version = "1.16.0+7"

[[Logging]]
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"

[[Markdown]]
deps = ["Base64"]
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"

[[MbedTLS]]
deps = ["Dates", "MbedTLS_jll", "Random", "Sockets"]
git-tree-sha1 = "1c38e51c3d08ef2278062ebceade0e46cefc96fe"
uuid = "739be429-bea8-5141-9913-cc70e7f3736d"
version = "1.0.3"

[[MbedTLS_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"

[[Mmap]]
uuid = "a63ad114-7e13-5084-954f-fe012c677804"

[[Mocking]]
deps = ["ExprTools"]
git-tree-sha1 = "916b850daad0d46b8c71f65f719c49957e9513ed"
uuid = "78c3b35d-d492-501b-9361-3d52fe80e533"
version = "0.7.1"

[[MozillaCACerts_jll]]
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"

[[NetworkOptions]]
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"

[[Parsers]]
deps = ["Dates"]
git-tree-sha1 = "6370b5b3cf2ce5a3d2b6f7ab2dc10f374e4d7d2b"
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
version = "1.0.14"

[[Pkg]]
deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs"]
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

[[Printf]]
deps = ["Unicode"]
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[[REPL]]
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"

[[Random]]
deps = ["Serialization"]
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[[RecipesBase]]
git-tree-sha1 = "b3fb709f3c97bfc6e948be68beeecb55a0b340ae"
uuid = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
version = "1.1.1"

[[SHA]]
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"

[[Serialization]]
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"

[[Sockets]]
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"

[[TOML]]
deps = ["Dates"]
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"

[[Tar]]
deps = ["ArgTools", "SHA"]
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"

[[Test]]
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[[TimeZones]]
deps = ["Dates", "EzXML", "Mocking", "Pkg", "Printf", "RecipesBase", "Serialization", "Unicode"]
git-tree-sha1 = "4ba8a9579a243400db412b50300cd61d7447e583"
uuid = "f269a46b-ccf7-5d73-abea-4c690281aa53"
version = "1.5.3"

[[URIs]]
git-tree-sha1 = "bc331715463c41d601cf8bfd38ca70a490af5c5b"
uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
version = "1.1.0"

[[UUIDs]]
deps = ["Random", "SHA"]
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

[[Unicode]]
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

[[XML2_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "Libiconv_jll", "Pkg", "Zlib_jll"]
git-tree-sha1 = "be0db24f70aae7e2b89f2f3092e93b8606d659a6"
uuid = "02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a"
version = "2.9.10+3"

[[Zlib_jll]]
deps = ["Libdl"]
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"

[[nghttp2_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"

@fredrikekre fredrikekre added this to the 1.6 milestone Dec 11, 2020
@IanButterworth
Copy link
Member

This is fixed by #2277 which hasn't made it onto julia master yet

@fredrikekre
Copy link
Member Author

Seems fixed now.

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