Skip to content

Instantly share code, notes, and snippets.

@fonsp
Created September 5, 2020 11:59
Show Gist options
  • Save fonsp/fd67d65074f7e5e870c5b823c29c06f3 to your computer and use it in GitHub Desktop.
Save fonsp/fd67d65074f7e5e870c5b823c29c06f3 to your computer and use it in GitHub Desktop.
julia> import Pkg; Pkg.activate(mktempdir());
julia> Pkg.add(Pkg.PackageSpec(url="https://github.com/giordano/DebugArtifacts.jl.git"))
Activating new environment at `/tmp/jl_6YznSC/Project.toml`
Cloning git-repo `https://github.com/giordano/DebugArtifacts.jl.git`
Updating git-repo `https://github.com/giordano/DebugArtifacts.jl.git`
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `/tmp/jl_6YznSC/Project.toml`
[4f05f810] + DebugArtifacts v0.1.0 #master (https://github.com/giordano/DebugArtifacts.jl.git)
Updating `/tmp/jl_6YznSC/Manifest.toml`
[4f05f810] + DebugArtifacts v0.1.0 #master (https://github.com/giordano/DebugArtifacts.jl.git)
[2a0f44e3] + Base64
[ade2ca70] + Dates
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[56ddb016] + Logging
[d6f4376e] + Markdown
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
julia> import DebugArtifacts; DebugArtifacts.debug_artifcat("MbedTLD")
[ Info: Precompiling DebugArtifacts [4f05f810-3073-4646-a23d-fd50056b1323]
ERROR: UndefVarError: debug_artifcat not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at ./Base.jl:26
[2] top-level scope at REPL[3]:1
julia> import DebugArtifacts; DebugArtifacts.debug_artifact("MbedTLD")
[ Info: Platform: Linux(:x86_64, libc=:glibc, compiler_abi=CompilerABI(libgfortran_version=v"4.0.0", cxxstring_abi=:cxx11))
Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
[ Info: Downloading Artifacts.toml to /tmp/jl_9Zasuz/Artifacts.toml...
curl: (22) The requested URL returned error: 404 Not Found
ERROR: Could not download https://raw.githubusercontent.com/JuliaBinaryWrappers/MbedTLD_jll.jl/master/Artifacts.toml to /tmp/jl_9Zasuz/Artifacts.toml:
ProcessFailedException(Base.Process[Process(`curl -C - '-#' -f -o /tmp/jl_9Zasuz/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/MbedTLD_jll.jl/master/Artifacts.toml`, ProcessExited(22))])
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/PlatformEngines.jl:853
[3] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String})(::String) at /home/fons/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
[4] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String}, ::String; prefix::String) at ./file.jl:682
[5] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
[6] debug_artifact(::String, ::Pkg.BinaryPlatforms.Linux) at /home/fons/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
[7] debug_artifact(::String) at /home/fons/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
[8] top-level scope at REPL[4]:1
caused by [exception 1]
failed process: Process(`curl -C - '-#' -f -o /tmp/jl_9Zasuz/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/MbedTLD_jll.jl/master/Artifacts.toml`, ProcessExited(22)) [22]
Stacktrace:
[1] pipeline_error at ./process.jl:525 [inlined]
[2] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}; wait::Bool) at ./process.jl:440
[3] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at ./process.jl:438
[4] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/PlatformEngines.jl:848
[5] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String})(::String) at /home/fons/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
[6] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String}, ::String; prefix::String) at ./file.jl:682
[7] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
[8] debug_artifact(::String, ::Pkg.BinaryPlatforms.Linux) at /home/fons/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
[9] debug_artifact(::String) at /home/fons/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
[10] top-level scope at REPL[4]:1
(jl_6YznSC) pkg> add MbedTLS
Resolving package versions...
Installed MbedTLS_jll ─ v2.16.8+0
Downloading artifact: MbedTLS
######################################################################## 100.0%##O#- #
Updating `/tmp/jl_6YznSC/Project.toml`
[739be429] + MbedTLS v1.0.2
Updating `/tmp/jl_6YznSC/Manifest.toml`
[739be429] + MbedTLS v1.0.2
[c8ffd9c3] + MbedTLS_jll v2.16.8+0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment