-
Notifications
You must be signed in to change notification settings - Fork 320
coursier
2.1.25-M2 installation broken when updating with brew
#3292
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
Comments
Looks like update script broke the formula with version bump coursier/homebrew-formulas@d0dea27 It removed recently added support of arm64 |
The template and update script in workflow are at fault https://github.com/coursier/coursier/blob/main/.github/scripts/coursier.rb.template https://github.com/coursier/coursier/blob/main/.github/scripts/UpdateBrewFormula.scala They were not updated after the changes were merged into formula repo. |
same thing here on linux, after
The problem seems to come when using the I don't know if it is linked, but i also had a problem with scalafmt 3.9.0 that was not formatting code at all. |
Could you revert coursier/homebrew-formulas@d0dea27 please? - coursier/homebrew-formulas#14 |
Seems to be fixed after coursier/homebrew-formulas#14, closing this |
As predicted by Alex, it immediately broke when 2.1.25-M2 was released. I wonder if it's possible to send a PR instead of pushing the change to the repo: |
I tried today with Apple M4 usin
Fixed by uninstalling and downloading binary manually. |
Similar issue.
This indicates an Intel binary instead of an ARM one. Installing via |
coursier
2.1.25-M1 installation broken when updating with brew
coursier
2.1.25-M2 installation broken when updating with brew
It seems there's already a related, open PR: |
What's the problem
So after updating
coursier
withbrew
, I ran into the following error:The update was to 2.1.25-M1.
Workaround
I ended up re-installing with
brew
- no luck, still broken.What works is using the install script from https://get-coursier.io/docs/cli-installation#macos
Now it works:
cs version # 2.1.25-M1
So I'm guessing something is wrong with 2.1.25-M1 on
brew
, specifically.Extra context
I'm using an Apple M1 machine.
This seems like the same problem raised by @jivanic-demystdata in #3237 (comment)
The text was updated successfully, but these errors were encountered: