-
Notifications
You must be signed in to change notification settings - Fork 99
-
Notifications
You must be signed in to change notification settings - Fork 99
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
updating to v1.3.0: Unable to automatically install 'OpenSpecFun' #527
Comments
What's the output of using Pkg.BinaryPlatforms
platform_key_abi() I think I have your same platform and the hash is correct for me. Maybe a corrupted download? But that would have had a mismatch in the hash of the tarball |
Might be possible that the hash is wrong in the Artifacts file. |
I assume I'd have had the same error installing |
Thats true, maybe we just compute it wrong? But I assume the same function is used when creating the artifacts file as when unpacking the tarball. |
julia> platform_key_abi()
Linux(:x86_64, libc=:glibc, compiler_abi=CompilerABI(libgfortran_version=v"4.0.0", cxxstring_abi=:cxx11)) |
No, ok, your platform is |
I should say that this same difficulty comes up in both cases, both upgrading from v1.1.1 and doing a first-time install on another machine. Thanks, |
On my machine all the hashes look correct;
passes. Does that error for you? |
I see the same error message, with the same expected and calculated hash values, as the OP. Running the code suggested by @fredrikekre above produces an interesting result:
At least, I think it's interesting because (I am unfamiliar with the basics, but) the downloaded item seems to have "powerpc64le" in its name, whereas my CPU comes from Intel. Details:
I hope there is something relevant in here. Thanks. |
Yes. There's a hash mismatch. The end of the trace:
|
The snippet there downloads all different versions. So it looks like we compute the hash wrong then, alternatively that your unpacking engines do something weird. |
What unpack engine do you get from:
Edit:
|
For the record, I don't have any hash mismatch and get the same unpack command as Fredrik |
and
This is the version of tar that is running on /both/ machines where I'm encountering this difficulty. |
|
|
Suggested by @StefanKarpinski: what's your umask? % umask
022 |
It's unclear from this discussion to me if the problem is that different tar versions are extracting tarballs differently or if GitTools.tree_hash is computing hashes differently. In particular, I find this line a bit fishy: https://github.com/JuliaLang/Pkg.jl/blob/258d74ecd4104aadb34ff65f38/src/GitTools.jl#L205 This line looks like it only checks if the group executable bit is set, which seems like the wrong criterion for whether a file is considered executable or not. Seems like something that could be messed up by a strict umask setting. cc: @staticfloat, @simonbyrne — why is that the check? |
My for-the-worried umask
Too strict, perhaps? |
It's certainly not your fault! We should fix the git tree hash computation code to do the right thing. Which, I suspect is either
The former considers a file to be executable if any executable bit is set while the latter considers it to be executable if and only if the user executable bit is set. It's possible that's what this code was meant to do, but instead it's considering a file executable if and only if the group executable bit is set, which is just kind of odd. We should do the same thing as git does. |
Looks like just looking at the user executable bit is the right thing. |
I can confirm that /temporarily/ :-) setting umask to 022 removed the blockage and has allowed the update to complete. I have to express astonishment (and huge gratitude) for the attention that this issue was given. Thanks to all who helped. |
I'm delighted to confirm that this fix (setting umask to 0022) works for me, too. Add my thanks to that already sent by healy-pa! |
I have to confess that I had already noticed that line and been a bit suspicious of it and wish that I had investigated more before we made the 1.3.0 release. Apologies for the breakage—we may want to release a 1.3.1 release with this fix included somewhat soon so that people with strict umasks can use the 1.3 Julia release. Thank you for reporting the issue! |
Ok, this should now be fixed with Pkg master as of JuliaLang/Pkg.jl#1513. In order to close this, someone (quite possibly me) needs to set a strict umask and reproduce this failure with 1.3.0 and then try it with the fix and verify that it is indeed fixed. |
This fixes some recently-reported issues with restrictive `umask`'s and the `Pkg.Artifacts` git tree hash calculation. X-ref: JuliaPackaging/BinaryBuilder.jl#527
Yes, it should be only the user flag, not the group flag. I or Simon must have missed a I have confirmed that building Julia with the latest |
This fixes some recently-reported issues with restrictive `umask`'s and the `Pkg.Artifacts` git tree hash calculation. X-ref: JuliaPackaging/BinaryBuilder.jl#527
This fixes some recently-reported issues with restrictive `umask`'s and the `Pkg.Artifacts` git tree hash calculation. X-ref: JuliaPackaging/BinaryBuilder.jl#527
I have a similar problem about (v1.3) pkg> up
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Cloning [336ed68f-0bac-5ca0-87d4-7b16caf5d00b] CSV from https://github.com/JuliaData/CSV.jl.git
Installed CSV ─ v0.5.20
ERROR: Unable to automatically install 'OpenBLAS' from '/home/lxc/.julia/packages/OpenBLAS_jll/vi57R/Artifacts.toml'
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:810
[3] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Linux,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at ./none:0
[4] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Linux, ::Nothing, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:852
[5] #ensure_all_artifacts_installed at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:0 [inlined]
[6] #download_artifacts#78(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{String,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:580
[7] #download_artifacts at ./none:0 [inlined]
[8] #download_artifacts#73(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:570
[9] download_artifacts(::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:569
[10] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Pkg.Types.UpgradeLevel) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:1103
[11] #up#43(::Pkg.Types.UpgradeLevel, ::Pkg.Types.PackageMode, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.up), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:170
[12] up at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:146 [inlined]
[13] do_up!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:492
[14] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Base.invokelatest), ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
[15] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:708
[16] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:412
[17] #do_cmd#23(::Bool, ::typeof(Pkg.REPLMode.do_cmd), ::REPL.LineEditREPL, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:391
[18] do_cmd at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:387 [inlined]
[19] (::Pkg.REPLMode.var"#28#31"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:619
[20] #invokelatest#1 at ./essentials.jl:709 [inlined]
[21] invokelatest at ./essentials.jl:708 [inlined]
[22] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2306
[23] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:1045
[24] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:201
[25] (::Base.var"#770#772"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:382
[26] #invokelatest#1 at ./essentials.jl:709 [inlined]
[27] invokelatest at ./essentials.jl:708 [inlined]
[28] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:366
[29] exec_options(::Base.JLOptions) at ./client.jl:304
[30] _start() at ./client.jl:460
julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
Environment:
JULIA_NUM_THREADS = 4
JULIA_REVISE = manual |
Similar looking error with (ImageFiltering) pkg> up
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
ERROR: Unable to automatically install 'IntelOpenMP' from '/home/jan/.julia/packages/IntelOpenMP_jll/hsAKN/Artifacts.toml'
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:873
[3] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Linux,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at ./none:0
[4] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:919
[5] #ensure_all_artifacts_installed at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:0 [inlined]
[6] #download_artifacts#78(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{String,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:580
[7] #download_artifacts at ./none:0 [inlined]
[8] #download_artifacts#73(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:570
[9] download_artifacts(::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:569
[10] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Pkg.Types.UpgradeLevel) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:1103
[11] #up#43(::Pkg.Types.UpgradeLevel, ::Pkg.Types.PackageMode, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.up), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:170
[12] up at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:146 [inlined]
[13] do_up!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:492
[14] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Base.invokelatest), ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
[15] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:708
[16] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:412
[17] #do_cmd#23(::Bool, ::typeof(Pkg.REPLMode.do_cmd), ::REPL.LineEditREPL, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:391
[18] do_cmd at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:387 [inlined]
[19] (::Pkg.REPLMode.var"#28#31"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:619
[20] #invokelatest#1 at ./essentials.jl:709 [inlined]
[21] invokelatest at ./essentials.jl:708 [inlined]
[22] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2306
[23] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:1045
[24] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:201
[25] (::Base.var"#770#772"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:382
[26] #invokelatest#1 at ./essentials.jl:709 [inlined]
[27] invokelatest at ./essentials.jl:708 [inlined]
[28] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:366
[29] exec_options(::Base.JLOptions) at ./client.jl:304
[30] _start() at ./client.jl:460
(ImageFiltering) pkg> ^C
julia> versioninfo()
Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
JULIA_NUM_THREADS = 8 |
Also (v1.3) pkg> add IJulia
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
ERROR: Unable to automatically install 'ZeroMQ' from '/home/jan/.julia/packages/ZeroMQ_jll/SbMEz/Artifacts.toml'
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:873
[3] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Linux,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at ./none:0
[4] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:919
[5] #ensure_all_artifacts_installed at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:0 [inlined]
[6] #download_artifacts#78(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{String,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:580
[7] #download_artifacts at ./none:0 [inlined]
[8] #download_artifacts#73(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:570
[9] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPlatforms.Linux}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at ./none:0
[10] #add#112(::Bool, ::Pkg.BinaryPlatforms.Linux, ::typeof(Pkg.Operations.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:1017
[11] #add at ./none:0 [inlined]
[12] #add#25(::Bool, ::Pkg.BinaryPlatforms.Linux, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:102
[13] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:72
[14] do_add!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:505
[15] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Base.invokelatest), ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
[16] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:708
[17] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:412
[18] #do_cmd#23(::Bool, ::typeof(Pkg.REPLMode.do_cmd), ::REPL.LineEditREPL, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:391
[19] do_cmd at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:387 [inlined]
[20] (::Pkg.REPLMode.var"#28#31"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:619
[21] #invokelatest#1 at ./essentials.jl:709 [inlined]
[22] invokelatest at ./essentials.jl:708 [inlined]
[23] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2306
[24] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:1045
[25] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:201
[26] (::Base.var"#770#772"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:382
[27] #invokelatest#1 at ./essentials.jl:709 [inlined]
[28] invokelatest at ./essentials.jl:708 [inlined]
[29] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:366
[30] exec_options(::Base.JLOptions) at ./client.jl:304
[31] _start() at ./client.jl:460
(v1.3) pkg> ^C
julia> versioninfo()
Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
JULIA_NUM_THREADS = 8
|
For me it was essentially the same problem. |
@jw3126 if you still have the using Pkg.PlatformEngines
probe_platform_engines!(verbose=true)
mktempdir() do dir
download_verify(
"https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz",
"3ce85d89aa9a21402a47081eefb66688214d3fdd033becebf18a3396fc2b165a",
joinpath(dir, "foo");
verbose=true,
)
end I'm curious what errors you're encountering. |
julia> mktempdir() do dir
download_verify(
"https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz",
"3ce85d89aa9a21402a47081eefb66688214d3fdd033becebf18a3396fc2b165a",
joinpath(dir, "foo");
verbose=true,
)
end
[ Info: Downloading https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz to /tmp/jl_LRqqpT/foo...
curl: /home/jan/juliadev/usr/lib/libcurl.so.4: no version information available (required by curl)
#=#=#
curl: (60) Cert verify failed: BADCERT_NOT_TRUSTED
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
ERROR: Could not download https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz to /tmp/jl_LRqqpT/foo:
ProcessFailedException(Base.Process[Process(`curl -C - '-#' -f -o /tmp/jl_LRqqpT/foo -L https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz`, ProcessExited(60))])
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] #download#82(::Bool, ::typeof(Pkg.PlatformEngines.download), ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:591
[3] #download at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:0 [inlined]
[4] #download_verify#83(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:642
[5] #download_verify at ./none:0 [inlined]
[6] #3 at ./REPL[3]:2 [inlined]
[7] #mktempdir#18(::String, ::typeof(mktempdir), ::var"#3#4", ::String) at ./file.jl:634
[8] mktempdir(::Function, ::String) at ./file.jl:632 (repeats 2 times)
[9] top-level scope at REPL[3]:1
caused by [exception 1]
failed process: Process(`curl -C - '-#' -f -o /tmp/jl_LRqqpT/foo -L https://github.com/JuliaBinaryWrappers/ZeroMQ_jll.jl/releases/download/ZeroMQ-v4.3.1+0/ZeroMQ.v4.3.1.x86_64-apple-darwin14.tar.gz`, ProcessExited(60)) [60]
Stacktrace:
[1] pipeline_error at ./process.jl:525 [inlined]
[2] #run#565(::Bool, ::typeof(run), ::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at ./process.jl:440
[3] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at ./process.jl:438
[4] #download#82(::Bool, ::typeof(Pkg.PlatformEngines.download), ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:586
[5] #download at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:0 [inlined]
[6] #download_verify#83(::Bool, ::Bool, ::Bool, ::typeof(download_verify), ::String, ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/PlatformEngines.jl:642
[7] #download_verify at ./none:0 [inlined]
[8] #3 at ./REPL[3]:2 [inlined]
[9] #mktempdir#18(::String, ::typeof(mktempdir), ::var"#3#4", ::String) at ./file.jl:634
[10] mktempdir(::Function, ::String) at ./file.jl:632 (repeats 2 times)
[11] top-level scope at REPL[3]:1 |
What OS version are you on? |
You mean $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic ? |
Maybe it's a network error, set proxy and try again. |
Hmmm, I can't reproduce on a fresh 18.04 installation. Can you give me any further details about your system? Are you behind a firewall or a proxy of some sort? |
It's my private computer, there is no proxy or firewall. Nothing unusual about it come to my mind. |
|
jan@jan-GE60-0NC-GE60-0ND:~$ which curl
/usr/bin/curl
|
You are picking up |
Yes I have:
It was part of a hack to circumvent some bug when building julia a long time ago that forgot about. |
I think it was this one https://discourse.julialang.org/t/problem-building-julia-version-jl-llvm-6-0-not-found/11545 |
Great; I'm going to close this issue. If anyone has similar problems, please feel free to open a new issue. |
I met the same problem on windows, can you give me some advice to fix it? |
@Whale-fall could you please open a new issue, providing the full error message that you get? |
This fixes some recently-reported issues with restrictive `umask`'s and the `Pkg.Artifacts` git tree hash calculation. X-ref: JuliaPackaging/BinaryBuilder.jl#527
Hey,
_ _ ()_ | Documentation: https://docs.julialang.org julia> ENV["R_HOME"]="C:/PROGRA julia> Base.include(Main,"C:/Users/ASADI/Documents/R/win-library/4.0/JuliaCall/j
Stacktrace: julia> import Pkg; julia> Pkg.add("RCall")
Exception calling "DownloadFile" with "2" argument(s): "The underlying connecti
Exception calling "DownloadFile" with "2" argument(s): "The underlying connecti
julia> |
I having difficulties in updating packages to v1.3.0 and @fredrikekre suggested I file an issue here. Here's the beginning of the stack trace:
On suggestion of @giordano,
versinoinfo()
givesAll suggestions appreciated.
Many thanks.
The text was updated successfully, but these errors were encountered: