sbf-tools
sbf-tools copied to clipboard
Missing archive platform-tools-osx-x86_64.tar.bz2 on release v1.42
Hello,
Just to mention that the osx-x86_64 archive for v1.42 release is missing. Anchor v0.30.1 needs it.
Thank you.
I did some tricks,make anchor can pass defalt solana program.
- cargo build-sbf --tools-version "v1.43"
- cd $HOME.cache/solana
- cp -r v1.43 v1.42
Please, update your Solana version, and you'll get the new tools version v1.43, whose binaries are available for x86 Macs.
The version installed using the process documented here: https://solana.com/docs/intro/installation, i.e. sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)", installs a Solana version requiring platform-tools v1.42
Edit: agave-install update does not fix this, cargo build-sbf is still failing. Even --tools-version v1.43 --force-tools-install doesn't work, it initially downloads the v.43 version, but than fails again at the end as it tries to download the v1.42version again.
Please, update your Solana version, and you'll get the new tools version v1.43, whose binaries are available for x86 Macs.
agave-install update
solana-cli 2.0.19 (src:2c653b09; feat:607245837, client:Agave)
avm use 0.30.1
Still require v1.42 when I run the anchor build. Can you tell me which Solana version has used the tools v1.43?
Any version newer than 2.1 ships with platform tools v1.43.
@LucasSte Some indication of how to update would be incredibly helpful. As noted above, agave-install update does not update to a new enough version.
Also, based on the github releases, 2.1.x are unstable pre-releases. Could we have stable release that can be used on Mac?
You can fix this by using Solana from the beta channel instead of using the stable channel.
Follow this document: https://solana.com/docs/intro/installation#install-the-solana-cli
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
Also, based on the github releases, 2.1.x are unstable pre-releases. Could we have stable release that can be used on Mac?
As mentioned earlier, you can download a beta version. Mainnet will switch to 2.1 in January and DevNet is already using 2.1 (see https://github.com/anza-xyz/agave/wiki/v2.1-Release-Schedule).
I am new to Solana and having the same problem described above. It should be expected that installing the stable version according to the getting started guide to get you functioning platform tools. It seems from the comments above that the beta version is the only solution for Mac with Intel owners.
Do I have to uninstall solanacli and anchorcli before reinstalling from the beta channel?
I am new to Solana and having the same problem described above. It should be expected that installing the stable version according to the getting started guide to get you functioning platform tools. It seems from the comments above that the beta version is the only solution for Mac with Intel owners.
That isn't the ideal. We wanted to remove support for x86 Macs, since Github doesn't offer runners with up to date MacOS for x86 Macs. We brought support back due to the amount of requests. Since 2.0 is a stable version, we cannot change it so easily, unless for a security update.
Do I have to uninstall solanacli and anchorcli before reinstalling from the beta channel?
You'll likely need to uninstall Solana CLI. Anchor CLI isn't connected to the Solana CLI, so there is no need to change it.
The version installed using the process documented here: https://solana.com/docs/intro/installation, i.e.
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)", installs a Solana version requiring platform-tools v1.42Edit:
agave-install updatedoes not fix this,cargo build-sbfis still failing. Even--tools-version v1.43 --force-tools-installdoesn't work, it initially downloads the v.43 version, but than fails again at the end as it tries to download thev1.42version again.
this doesn't work for me as well. another approach is to use older versions of solanacli and anchorcli, if it's okay with you. @devnev solana-cli 1.18.18 anchor-cli 0.29.0
uninstall existing Solana CLI then install again from beta channel
sh -c "$(curl -sSfL https://release.anza.xyz/beta/install)"
this worked for me
We brought back x86 builds for MacOS since v1.43, so I'm closing this issue.