eos icon indicating copy to clipboard operation
eos copied to clipboard

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

Open SJang1 opened this issue 4 years ago • 7 comments

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

SJang1 avatar Dec 25 '20 22:12 SJang1

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 avatar Dec 30 '20 18:12 aclark-b1

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

bensig avatar Mar 23 '21 06:03 bensig

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.

SJang1 avatar Mar 23 '21 10:03 SJang1

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?

n13 avatar May 19 '21 11:05 n13

@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:

<Rosetta>~$ 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

fabricapo avatar Dec 25 '21 18:12 fabricapo

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?

felipeasf avatar Feb 19 '22 00:02 felipeasf

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

meta-head avatar May 28 '22 11:05 meta-head