EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.28k stars 3.6k forks source link

only supporting binary packages at this time error using brew on Mac M1 with rosetta #9836

Open SJang1 opened 3 years ago

SJang1 commented 3 years ago

I'm installing with brew with rosetta2 transaltion on apple M1, getting the error.

==> Installing eosio from eosio/eosio
Warning: Building eosio/eosio/eosio from source as the bottle needs:
- HOMEBREW_CELLAR: /usr/local/Cellar (yours is /usr/local/homebrew/Cellar)
- HOMEBREW_PREFIX: /usr/local (yours is /usr/local/homebrew)
- HOMEBREW_REPOSITORY: /usr/local/Homebrew (yours is /usr/local/homebrew)
==> Downloading https://github.com/eosio/eos/archive/v2.0.8.tar.gz
Already downloaded: /Users/name/Library/Caches/Homebrew/downloads/7e807dc2ad02dfe36e8f02966a0c3d533762d1aec108421858f48f30c889fb20--eos-2.0.8.tar.gz
Warning: Cannot verify integrity of '7e807dc2ad02dfe36e8f02966a0c3d533762d1aec108421858f48f30c889fb20--eos-2.0.8.tar.gz'.
No checksum was provided for this resource.
For your reference, the checksum is:
  sha256 "39b6af603e5f184d5c638869ee2fefdd2f13d6b66a4de124327b8318269699b6"
Error: An exception occurred within a child process:
  RuntimeError: Error, only supporting binary packages at this time

I've ran with command : arch -x86_64 /usr/local/homebrew/bin/brew install eosio and also arch -x86_64 /usr/local/homebrew/bin/brew install eosio --universal both didn't work.

Working on M1 chip Macbook Air, BigSur 11.1

aclark-b1 commented 3 years ago

Unfortunately we don't yet support the M1 chip or Big Sur, but both of those things are in progress (see #9759 and #9849)

bensig commented 3 years ago

You can get things running using brew if you follow this guide for installing a 2nd version of brew for Rosetta 2 - I wrote a simple guide:

https://benobi.one/posts/running_brew_on_m1_for_x86/

Once you have the ibrew alias, you can run:

ibrew tap eosio/eosio ibrew install eosio

cleos and other EOS software will run normally

SJang1 commented 3 years ago

You can get things running using brew if you follow this guide for installing a 2nd version of brew for Rosetta 2 - I wrote a simple guide:

https://benobi.one/posts/running_brew_on_m1_for_x86/

Once you have the ibrew alias, you can run:

ibrew tap eosio/eosio ibrew install eosio

cleos and other EOS software will run normally

Running as Rosetta2 is not the thing I wanted, which I needed is running natively.

n13 commented 3 years ago

Unfortunately we don't yet support the M1 chip or Big Sur, but both of those things are in progress (see #9759 and #9849)

@aclark-b1 they've been in progress for a very long time now - is anyone looking into this?

fabricapo commented 2 years ago

@bensig wrote:

You can get things running using brew if you follow this guide for installing a 2nd version of brew for Rosetta 2 - I wrote a simple guide:

https://benobi.one/posts/running_brew_on_m1_for_x86/

Once you have the ibrew alias, you can run:

ibrew tap eosio/eosio ibrew install eosio

cleos and other EOS software will run normally

Actually, I tried this and it is not working for me. I was able to install many Intel packages and have them working fine, but it does not work for eosio. I still get the same error:

~$ ibrew install eosio Warning: Building eosio/eosio/eosio from source as the bottle needs: - HOMEBREW_CELLAR: /usr/local/Cellar (yours is /usr/local/homebrew/Cellar) - HOMEBREW_PREFIX: /usr/local (yours is /usr/local/homebrew) ==> Downloading https://github.com/eosio/eos/archive/v2.1.0.tar.gz Already downloaded: /Users/capo/Library/Caches/Homebrew/downloads/b1b1626e828c72e29cd8cbe5d0a49212aede596abccd426a851391521d284a54--eos-2.1.0.tar.gz Warning: Cannot verify integrity of 'b1b1626e828c72e29cd8cbe5d0a49212aede596abccd426a851391521d284a54--eos-2.1.0.tar.gz'. No checksum was provided for this resource. For your reference, the checksum is: sha256 "c2fcf287b954084111e5cad41f46f9c10792581cb6236f7c70049f1f27a77787" ==> Installing eosio from eosio/eosio Error: An exception occurred within a child process: RuntimeError: Error, only supporting binary packages at this time
felipeasf commented 2 years ago

Actually, I tried this and it is not working for me. I was able to install many Intel packages and have them working fine, but it does not work for eosio. I still get the same error:

~$ ibrew install eosio Warning: Building eosio/eosio/eosio from source as the bottle needs:

  • HOMEBREW_CELLAR: /usr/local/Cellar (yours is /usr/local/homebrew/Cellar)
  • HOMEBREW_PREFIX: /usr/local (yours is /usr/local/homebrew) ==> Downloading https://github.com/eosio/eos/archive/v2.1.0.tar.gz Already downloaded: /Users/capo/Library/Caches/Homebrew/downloads/b1b1626e828c72e29cd8cbe5d0a49212aede596abccd426a851391521d284a54--eos-2.1.0.tar.gz Warning: Cannot verify integrity of 'b1b1626e828c72e29cd8cbe5d0a49212aede596abccd426a851391521d284a54--eos-2.1.0.tar.gz'. No checksum was provided for this resource. For your reference, the checksum is: sha256 "c2fcf287b954084111e5cad41f46f9c10792581cb6236f7c70049f1f27a77787" ==> Installing eosio from eosio/eosio Error: An exception occurred within a child process: RuntimeError: Error, only supporting binary packages at this time

I get the same error.

Any updates on when eos will have native support apple silicon?

meta-head commented 2 years ago

managed to install as brew install --force-bottle eosio if it fails comment dependencies in Library/Taps/eosio/homebrew-eosio/eosio.rb