Skip to content
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

Support bottles for M1 on homebrew #977

Closed
domoritz opened this issue Apr 24, 2021 · 7 comments
Closed

Support bottles for M1 on homebrew #977

domoritz opened this issue Apr 24, 2021 · 7 comments

Comments

@domoritz
Copy link

brew install volta results in an error Error: volta: no bottle available!. It would be great if there were bottles for M1.

@domoritz
Copy link
Author

brew install --build-from-source volta results in

==> Cloning https://github.com/volta-cli/volta.git
Updating /Users/dominik/Library/Caches/Homebrew/volta--git
==> Checking out tag v1.0.4
HEAD is now at e4ab360 Merge pull request #975 from charlespierce/v1.0.4
HEAD is now at e4ab360 Merge pull request #975 from charlespierce/v1.0.4
==> cargo install
Last 15 lines from /Users/dominik/Library/Logs/Homebrew/volta/01.cargo:


warning: build failed, waiting for other jobs to finish...
The following warnings were emitted during compilation:

warning: error: unknown target triple 'unknown-apple-macosx11.0.0', please use -triple or -arch

The following warnings were emitted during compilation:

warning: error: unknown target triple 'unknown-apple-macosx11.0.0', please use -triple or -arch

error: failed to compile `volta v1.0.4 (/private/tmp/volta-20210424-56474-1ry5z44)`, intermediate artifacts can be found at `/private/tmp/volta-20210424-56474-1ry5z44/target`

Caused by:
  build failed

Do not report this issue to Homebrew/brew or Homebrew/core!

@cprecioso
Copy link

AFAICT, brew is not building bottles because of Homebrew/homebrew-core#68301. However, I did build from source and it worked just fine, so maybe the issue does not apply anymore to volta?

@domoritz
Copy link
Author

Yep, Volta works great on M1 but I also had to install from source. I think the formula just needs to be fixed in some way.

@cprecioso
Copy link

Tested brew install volta --build-bottle and brew bottle on a M1, and no errors received. I think this is now a matter of homebrew enabling bottles for volta.

@cprecioso
Copy link

cprecioso commented Apr 28, 2021

Volta just got a brand new bottle!
Homebrew/homebrew-core#68301 (comment)
Homebrew/homebrew-core@11e6a36

@domoritz this is issue can now probably be closed

@chriskrycho
Copy link
Contributor

@cprecioso thank so much for getting that squared away on that side, and @domoritz thanks for reporting!

@domoritz
Copy link
Author

Awesome. Works for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants