dojo icon indicating copy to clipboard operation
dojo copied to clipboard

[BUG] asdf can't install dojo

Open elton-cs opened this issue 10 months ago • 4 comments

Describe the bug

running asdf install dojo latest results in the following error:

curl: (22) The requested URL returned error: 404
asdf-dojo: Could not download https://github.com/dojoengine/dojo/releases/download/v1.2.2/dojo_v1.2.2_linux_aarch64.tar.gz

when attempting to install dojo toolchain in linux on arm.

To Reproduce

asdf plugin add dojo https://github.com/dojoengine/asdf-dojo
asdf install dojo latest

Expected behavior dojo toolchain should install when using asdf

Additional context It looks like the format of release tar files is incorrect/non-standard. Asdf is expecting aarch64 while dojo releases seem to use arm64 in the suffix when naming the release files. I believe the standard for arm is to use the aarch64 tag so fixing this would be much appreciated.

elton-cs avatar Mar 09 '25 08:03 elton-cs

Hum, which asdf version do you have? Aren't you on a amd64 macOS actually?

We have the same format for release artifacts for a moment now, wondering about the format required in your case.

glihm avatar Mar 12 '25 16:03 glihm

I am reaching out to express my interest in contributing to the project , to address the issue related to the Dojo toolchain installation for ARM architecture when using the ASDF plugin. I'm good at debugging codes.

ETA: 2Days

iGEORGE17 avatar Mar 31 '25 14:03 iGEORGE17

Assuming the aarch64 maps to arm64 I ve put a fix in to the asdf-dojo repo in this pr

bengineer42 avatar Apr 01 '25 12:04 bengineer42

thank you @bengineer42 for the fix. We're currently reworking the dojoup script and asdf should make use of it for easier installation and version management.

glihm avatar Apr 23 '25 16:04 glihm

Fixed in asdf with @bengineer42 PR and currently new dojoup would be preferred for components management.

glihm avatar May 12 '25 16:05 glihm