-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] FAILED to install on Mac M1 with Rust 1.44.0 #205
Comments
Update rust to 1.49.0/1.52.1 wont sold the problem. Another error:
|
Hmm, apparently, Tezos is not buildable under arm64 MacOS yet:( As a permanent solution, building and using formulas for x86 via rosetta should work |
Do you have specific tutorial for rosetta? I am totally a newcomer. |
Unfortunately I don't have a mac:( |
Sorry late reply, but still does not work :( |
Finally I can make it, we aliased 2 brews: For ibrew, install by: Install tezos-client:
|
nice |
I tried this last command and it got really confusing on my system and didn't work. Is there any updates on this. I would love to get this installed on my M1. @phanngt any insight on why that didn't work for me? If I can't get it to work like this can you point me in the right direction to remove the alias? thanks! |
@gschian0 Just confirmed that this works on my m1 Mac running 11.5.2 (20G95). First I ran:
Then:
When you ran In that case you've only just created a variable named ibrew so you'll need to add a
|
Looks like the aforementioned MR in tezos/tezos was merged. Can you check if it works without additional rosetta workarounds now? |
No, another bugs occurred. Still using my old ibrew method. |
I tried your steps. When I run |
You need install Rosetta first |
Problem: Currently formulas download opam x86_64 binary from the GitHub release, which causes a build failure on machines with M1 cpu. Solution: Determine CPU architecture in runtime and download appropriate opam binary.
Problem: We want to release new versions of brew formulae that work on M1. Solution: Bump version in formulae and bump release number in meta.json.
Problem: Currently formulae download opam x86_64 binary from the GitHub release, which causes a build failure on machines with M1 CPU. Solution: Determine CPU architecture in runtime and download appropriate opam binary.
Problem: We want to release new versions of brew formulae that work on M1. Solution: Bump version in formulae and bump release number in meta.json.
We've updated formulae to support M1 natively, suddenly there are no bottles yet (we're planning to publish them at the beginning of the next week), but at least you can check if it works for you now |
We've published |
Description
To Reproduce
Steps to reproduce the behavior:
Run brew install tezos-client on Mac M1
Environment
OS: MacOs BigSur 11.3.1
Additional context
The text was updated successfully, but these errors were encountered: