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

Installation fails on aarch64 #16

Open
andriygm opened this issue May 28, 2024 · 0 comments
Open

Installation fails on aarch64 #16

andriygm opened this issue May 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@andriygm
Copy link

Describe the bug

uv stopped distributing the aarch64-unknown-linux-gnu binary (see astral-uv/sh #3761), but this plugin has a hardcoded dependency for unknown-linux-gnu if the distro is Linux:

Linux) os="unknown-linux-gnu" ;;

This should instead resolve based on the architecture instead of hardcoding.

Steps to reproduce

❯ asdf plugin add uv
initializing plugin repository...Cloning into '/home/***/.asdf/repository'...
remote: Enumerating objects: 5854, done.
remote: Counting objects: 100% (1639/1639), done.
remote: Compressing objects: 100% (63/63), done.
remote: Total 5854 (delta 1590), reused 1611 (delta 1575), pack-reused 4215
Receiving objects: 100% (5854/5854), 1.32 MiB | 5.75 MiB/s, done.
Resolving deltas: 100% (3202/3202), done.
❯ asdf install uv latest
redirect url: https://github.com/astral-sh/uv/releases/tag/0.2.4
* Downloading uv release 0.2.4...
curl: (22) The requested URL returned error: 404
asdf-uv: Could not download https://github.com/astral-sh/uv/releases/download/0.2.4/uv-aarch64-unknown-linux-gnu.tar.gz

Expected behavior

On aarch64 systems, the musl binary is used instead.

@andriygm andriygm added the bug Something isn't working label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant