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

Install v2 on OSX using brew is failing showing No names found #61

Closed
jmolivas opened this issue Mar 24, 2018 · 12 comments
Closed

Install v2 on OSX using brew is failing showing No names found #61

jmolivas opened this issue Mar 24, 2018 · 12 comments

Comments

@jmolivas
Copy link

After following instructions from readme
Executed commands:

brew tap ahoy-cli/tap
brew install ahoy --HEAD

Error message:

==> Installing ahoy from ahoy-cli/tap
==> Cloning https://github.com/ahoy-cli/ahoy.git
Updating /Users/jmolivas/Library/Caches/Homebrew/ahoy--git
==> Checking out branch master
==> bash build.sh
Last 15 lines from /Users/jmolivas/Library/Logs/Homebrew/ahoy/01.bash:
2018-03-23 17:05:54 -0700

bash
build.sh

fatal: No names found, cannot describe anything.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/ahoy-cli/homebrew-tap/issues
@jmolivas jmolivas changed the title Install v2 is failing Install v2 on OSX using brew is failing showing No names found Mar 26, 2018
@omero
Copy link

omero commented Apr 6, 2018

I have the same issue and this is how I fixed:
Remove ahoy

$ brew prune ahoy
$ brew uninstall ahoy

After this reinstall ahoy specifying the brew tap

$ brew install ahoy-cli/tap/ahoy

I don't know if the repo change his name on GitHub and something broke's

@frankcarey
Copy link
Contributor

I just merged a fix for another issue, does it also fix your issues? https://github.com/ahoy-cli/homebrew-tap

@omero
Copy link

omero commented Apr 23, 2018

this doesn't fix the issue actually now i can't use any brew tap this is my error

 Tapping ahoy-cli/tap
Cloning into '/usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap'...
remote: Counting objects: 73, done.
remote: Total 73 (delta 0), reused 0 (delta 0), pack-reused 72
Unpacking objects: 100% (73/73), done.
Checking connectivity... done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap/ahoy.rb
ahoy: /usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap/ahoy.rb:50: can't find string "EOPLIST" anywhere before EOF
/usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap/ahoy.rb:13: syntax error, unexpected end-of-input, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
Error: Cannot tap ahoy-cli/tap: invalid syntax in tap!

@alexfinnarn
Copy link

alexfinnarn commented May 4, 2018

~/S/e/w/dkan » brew tap ahoy-cli/tap    
                                                                                                                                                                                                                                                        
==> Tapping ahoy-cli/tap
Cloning into '/usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap'...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (6/6), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap/ahoy.rb
ahoy: /usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap/ahoy.rb:50: can't find string "EOPLIST" anywhere before EOF
/usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap/ahoy.rb:13: syntax error, unexpected end-of-input, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
Error: Cannot tap ahoy-cli/tap: invalid syntax in tap!

I get the same error when trying to tap.

@alexfinnarn
Copy link

alexfinnarn commented May 4, 2018

and when trying @omero solution...

~/S/e/w/dkan » brew prune ahoy 
                                                                                                                                                                                                                                                                  
Pruned 0 symbolic links and 16 directories from /usr/local

~/S/e/w/dkan » brew uninstall ahoy         
                                                                                                                                                                                                                                                      
Error: No such keg: /usr/local/Cellar/ahoy

~/S/e/w/dkan » brew install ahoy-cli/tap/ahoy   
                                                                                                                                                                                                                                                 
==> Tapping ahoy-cli/tap
Cloning into '/usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap'...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (6/6), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap/ahoy.rb
ahoy: /usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap/ahoy.rb:50: can't find string "EOPLIST" anywhere before EOF
/usr/local/Homebrew/Library/Taps/ahoy-cli/homebrew-tap/ahoy.rb:13: syntax error, unexpected end-of-input, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
Error: Cannot tap ahoy-cli/tap: invalid syntax in tap!

So, it definitely seems broken.

@alexfinnarn
Copy link

alexfinnarn commented May 4, 2018

The build is even failing so I guess I shouldn't assume it was going to work...

but https://github.com/Homebrew/homebrew-php/issues/4727 might be it.

@jmolivas
Copy link
Author

jmolivas commented May 4, 2018

@alexfinnarn you can download the binary from the release
https://github.com/ahoy-cli/ahoy/releases/tag/2.0.0
then mv and chmod +x manually

@alexfinnarn
Copy link

alexfinnarn commented May 4, 2018

Thanks @jmolivas! I'll try that. I made ahoy-cli/homebrew-tap#7 to try out. I have no idea what I'm doing, but it was a thought...

@FatherShawn
Copy link

In the meantime I also posted a zip of the altered tap directory in my downstream project: digitalpulp/ballast#20 (comment) with the fix from ahoy-cli/homebrew-tap#6

@jmolivas
Copy link
Author

@FatherShawn what we used to do for now is to provide instructions:

  • Download from the releases page.
  • Move to a global accessible path mv FILE /usr/local/bin/ahoy
  • Make it executable chmod +x /usr/local/bin/ahoy

@frankcarey
Copy link
Contributor

ahoy-cli/homebrew-tap#6 seems to have fixed the issue, so closing. Sorry about that folks!

@eskp
Copy link

eskp commented Sep 14, 2018

Just ran into this. Running brew install ahoy --HEAD seeing the error reported.

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

6 participants