Skip to content

[Bug]: Croc Installer failed on RISC-V #1007

@slerpyyy

Description

@slerpyyy

What happened?

I tried to install croc from the command line, but the installer failed:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 25607 100 25607   0     0 31509     0  --:--:-- --:--:-- --:--:-- 31496
=================================================
              ____
             / ___|_ __ ___   ___
            | |   | '__/ _ \ / __|
            | |___| | | (_) | (__
             \____|_|  \___/ \___|

       ___           _        _ _
      |_ _|_ __  ___| |_ __ _| | | ___ _ __
       | || '_ \/ __| __/ _` | | |/ _ \ '__|
       | || | | \__ \ || (_| | | |  __/ |
      |___|_| |_|___/\__\__,_|_|_|\___|_| 
==================================================
== Install prefix set to /usr/local/bin
== Created temp dir at /tmp/croc.aHDJGD
== Architecture detected as riscv64
== OS detected as Linux
https://github.com/schollz/croc/releases/download/v10.3.0/croc_v10.3.0_Linux-unknown.tar.gz /tmp/croc.aHDJGD croc_v10.3.0_Linux-unknown.tar.gz
curl: (22) The requested URL returned error: 404
== Return code of download tool returned an unexpected value of 22

It looks like there is no release for riscv64 and the installer script falls back to Linux-unknown.tar.gz which doesn't exist either

What did you expect to happen?

I hoped it would work

Steps to reproduce

I ran this on a RISC-V (RV64GC) machine:

curl https://getcroc.schollz.com | bash

croc version

10.3.0 I guess??

Operating System

Linux

OS Version

Debian GNU/Linux forky/sid

Relevant log output

Additional context

(this is really a feature request for RISC-V support, but GitHub forces me to use a bug template for some reason)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions