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

Can't install fvm on linuxbrew #17

Closed
YusukeMoriJapan opened this issue Feb 13, 2024 · 9 comments
Closed

Can't install fvm on linuxbrew #17

YusukeMoriJapan opened this issue Feb 13, 2024 · 9 comments

Comments

@YusukeMoriJapan
Copy link

YusukeMoriJapan commented Feb 13, 2024

I am using linuxbrew in github actions workflow but fvm installation fails.
I was able to install it successfully until fvm version 3 was released.

error detail

eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
  brew tap leoafarias/fvm
  brew install fvm
  echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}

==> Tapping leoafarias/fvm
///
==> Installing leoafarias/fvm/fvm
==> /home/linuxbrew/.linuxbrew/Cellar/fvm/3.0.1/libexec/bin/dart pub get
Last 15 lines from /home/runner/.cache/Homebrew/Logs/fvm/01.dart:
2024-02-13 04:31:55 +0000

/home/linuxbrew/.linuxbrew/Cellar/fvm/3.0.1/libexec/bin/dart
pub
get

/home/linuxbrew/.linuxbrew/Cellar/fvm/3.0.1/libexec/bin/dart: 1: ���������������H__PAGEZERO��h�__TEXT��#��#���: not found
/home/linuxbrew/.linuxbrew/Cellar/fvm/3.0.1/libexec/bin/dart: 2: Syntax error: Unterminated quoted string

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/leoafarias/homebrew-fvm/issues

These open issues may also help:
leoafarias/fvm/fvm 2.4.1 did not build https://github.com/leoafarias/homebrew-fvm/issues/15
Can't install fvm by brew https://github.com/leoafarias/homebrew-fvm/issues/16
fvm relying on an older version of dart and failing via brew install https://github.com/leoafarias/homebrew-fvm/issues/14
@ranjithbobby89
Copy link

Yeah recently 8 hours ago something made new changes but we not clear with issues still

@yieniggu
Copy link

Something similar happened to me:

basti@balistic-ops:~$ brew install fvm
==> Fetching leoafarias/fvm/fvm
==> Downloading https://storage.googleapis.com/dart-archive/channels/stable/release/3.2.6/sdk/dartsdk-macos-x64-release.zip
Already downloaded: /home/basti/.cache/Homebrew/downloads/35685832fc2fed2582a4aeb1099744741e942712f8f7d969c06a2681e01fb96d--dartsdk-macos-x64-release.zip
==> Downloading https://github.com/leoafarias/fvm/archive/3.0.2.tar.gz
Already downloaded: /home/basti/.cache/Homebrew/downloads/8a49fe8bd40bcc5c5cc81e6502d1ecf632436553aa7cb9e042fe57d3725eb444--fvm-3.0.2.tar.gz
==> Installing fvm from leoafarias/fvm
==> /home/linuxbrew/.linuxbrew/Cellar/fvm/3.0.2/libexec/bin/dart pub get
Last 15 lines from /home/basti/.cache/Homebrew/Logs/fvm/01.dart:
2024-02-13 19:06:42 +0000

/home/linuxbrew/.linuxbrew/Cellar/fvm/3.0.2/libexec/bin/dart
pub
get

/home/linuxbrew/.linuxbrew/Cellar/fvm/3.0.2/libexec/bin/dart: 1: ������
                                                                       ��H__PAGEZEROh__TEXT�#�#: not found
/home/linuxbrew/.linuxbrew/Cellar/fvm/3.0.2/libexec/bin/dart: 2: Syntax error: Unterminated quoted string

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/leoafarias/homebrew-fvm/issues

These open issues may also help:
leoafarias/fvm/fvm 2.4.1 did not build https://github.com/leoafarias/homebrew-fvm/issues/15
Can't install fvm on linuxbrew https://github.com/leoafarias/homebrew-fvm/issues/17
fvm relying on an older version of dart and failing via brew install https://github.com/leoafarias/homebrew-fvm/issues/14

Any solutions yet? Thanks in advance

@leoafarias
Copy link
Owner

@yieniggu soon...

@leoafarias
Copy link
Owner

@yieniggu @ranjithbobby89 @YusukeMoriJapan Can you please install using the following?

brew update

brew install fvm@3.0.2-beta.1

If this works I will go ahead and make this the default

@leopazgerez
Copy link

@yieniggu @ranjithbobby89 @YusukeMoriJapan Can you please install using the following?

brew update

brew install fvm@3.0.2-beta.1

If this works I will go ahead and make this the default

It worked for me

@yieniggu
Copy link

worked for me too, cheers!

@leoafarias
Copy link
Owner

great to hear I have removed the version You can now do the following

brew update

brew install fvm

@YusukeMoriJapan
Copy link
Author

great to hear I have removed the version You can now do the following

brew update

brew install fvm

thank you!
It worked for me

@ranjithbobby89
Copy link

leoafarias leopazgerez Yeah Thanks for fixing it like 🚀

cheers 🍻

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

No branches or pull requests

5 participants