jheinen / GR.jl

Plotting for Julia based on GR, a framework for visualisation applications
Other
353 stars 76 forks source link

Broken download link for Linux PowerPC 64? #371

Open glwagner opened 3 years ago

glwagner commented 3 years ago

When trying to build GR v0.53.0 on julia 1.5 I receive "Download failed: curl: (22) The requested URL returned error: 404 Not Found":

(@v1.5) pkg> st
Status `~/.julia/environments/v1.5/Project.toml` (empty project)

(@v1.5) pkg> add GR
# Lots of output

(@v1.5) pkg> build GR
   Building GR → `~/.julia/packages/GR/RlE5Y/deps/build.log`
┌ Error: Error building `GR`: 
│ tar (child): downloads/gr-0.53.0-Linux-powerpc64le.tar.gz: Cannot open: No such file or directory
│ tar (child): Error is not recoverable: exiting now
│ tar: Child returned status 2
│ tar: Error is not recoverable: exiting now
│ [ Info: Downloading pre-compiled GR 0.53.0 Linux binary
│ ┌ Error: Download failed: curl: (22) The requested URL returned error: 404 Not Found
│ └ @ Base download.jl:43
│ ┌ Error: Download failed: curl: (22) The requested URL returned error: 404 Not Found
│ └ @ Base download.jl:43
│ [ Info: Using insecure connection
│ ┌ Error: Download failed: curl: (22) The requested URL returned error: 404 Not Found
│ └ @ Base download.jl:43
│ [ Info: Cannot download GR run-time
│ ERROR: LoadError: failed process: Process(`tar xzf downloads/gr-0.53.0-Linux-powerpc64le.tar.gz`, ProcessExited(2)) [2]
│ 
│ Stacktrace:
│  [1] pipeline_error at ./process.jl:525 [inlined]
│  [2] run(::Cmd; wait::Bool) at ./process.jl:440
│  [3] run(::Cmd) at ./process.jl:438
│  [4] top-level scope at /home/glwagner/.julia/packages/GR/RlE5Y/deps/build.jl:163
│  [5] include(::String) at ./client.jl:457
│  [6] top-level scope at none:5
│ in expression starting at /home/glwagner/.julia/packages/GR/RlE5Y/deps/build.jl:98
└ @ Pkg.Operations /home/software/julia/src/julia-1.5.3/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:949
jheinen commented 3 years ago

We don't provide binaries for 64-bit PowerPC. You could try to build GR from source, but we never tested this architecture.

glwagner commented 3 years ago

Ah! Why is it looking for downloads/gr-0.53.0-Linux-powerpc64le.tar.gz? Should it throw an error on PowerPC instead with instructions on how to resolve?

arhik commented 3 years ago

@jheinen download link Aarch64 fails. Package manager is trying to pull 0.53 version and fails.

ViralBShah commented 3 years ago

I wonder if this works with the recent adoption of artifacts.

milankl commented 3 years ago

I still get this similar error with 1.6-rc3 on aarch64

julia> Pkg.build("Plots")
    Building GR → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/12d971c928b7ecf19b748a2c7df6a365690dbf2c/build.log`
ERROR: Error building `GR`: 
tar (child): downloads/gr-0.55.0-Linux-aarch64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[ Info: Downloading pre-compiled GR 0.55.0 Linux binary
[ Info: Using insecure connection
[ Info: Cannot download GR run-time
ERROR: LoadError: failed process: Process(`tar xzf downloads/gr-0.55.0-Linux-aarch64.tar.gz`, ProcessExited(2)) [2]

Stacktrace:
 [1] pipeline_error
   @ ./process.jl:525 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base ./process.jl:440
 [3] run(::Cmd)
   @ Base ./process.jl:438
 [4] top-level scope
   @ ~/.julia/packages/GR/9Vi4m/deps/build.jl:164
 [5] include(fname::String)
   @ Base.MainInclude ./client.jl:444
 [6] top-level scope
   @ none:5
in expression starting at /home/ri-mkloewer/.julia/packages/GR/9Vi4m/deps/build.jl:98