anza-xyz / platform-tools

Apache License 2.0
45 stars 32 forks source link

Failed to install sbf-tools: HTTP status client error (404 Not Found) #58

Closed fl3x1324 closed 1 year ago

fl3x1324 commented 1 year ago

I'm trying to build my rust program, but I'm getting this. The 1.32 release is removed and the link is dead (404). I'm using the latest version of solana-program in my cargo toml file.

cargo build-bpf --manifest-path=./src/program-rust/Cargo.toml --bpf-out-dir=dist/program

[2023-02-18T11:36:12.267149000Z ERROR cargo_build_sbf] Failed to install sbf-tools: HTTP status client error (404 Not Found) for url (https://github.com/solana-labs/sbf-tools/releases/download/v1.32/solana-bpf-tools-osx.tar.bz2)

Here's a snippet from my cargo toml

[dependencies]
borsh = "0.10.2"
borsh-derive = "0.10.2"
solana-program = "1.15.2"

[dev-dependencies]
solana-program-test = "1.15.2"
solana-sdk = "1.15.2"

Same outcome with tests on macOS and WSL2.

muhitrhn commented 1 year ago

Same issue here. On MacOS M1 with latest release of solana.

Update - Downgrading Anchor to v0.25 and solana-cli to v1.14.11 fixed the issue for me.

dmakarov commented 1 year ago

Please use --tools-version v1.30 command line option with cargo build-bpf command. The later versions of sbf-tools are currently broken.

NedenSinir commented 1 year ago

I am getting the same error when I try to build my anchor app with anchor build

[2023-02-18T23:24:01.364357000Z ERROR cargo_build_sbf]
Failed to install sbf-tools:HTTP status client error (404 Not Found)
for url (https://github.com/solana-labs/sbf-tools/releases/download/v1.32/solana-bpf-tools-osx.tar.bz2)

Update - it's fixed

dmakarov commented 1 year ago

The releases are restored.