pinepain / homebrew-devtools

Homebrew tap with various formulae for easy development
MIT License
0 stars 1 forks source link

Cannot tap pinepain/devtools: invalid syntax in tap! #5

Closed SoylentGraham closed 6 years ago

SoylentGraham commented 6 years ago

I'm trying to get a more up to date version of v8 (thanks btw!) but when I come to tap brew tap pinepain/devtools I get an error

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/pinepain/homebrew-devtools/Formula/php71-v8.rb
php71-v8: cannot load such file -- /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Abstract/abstract-php-extension
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/pinepain/homebrew-devtools/Formula/php72-v8.rb
php72-v8: cannot load such file -- /usr/local/Homebrew/Library/Taps/homebrew/homebrew-php/Abstract/abstract-php-extension
Error: Cannot tap pinepain/devtools: invalid syntax in tap!

I guess this may be because of a dependency(?) on the php tap(formula?) brew tap homebrew/php gives Error: homebrew/php was deprecated. This tap is now empty as all its formulae were migrated.

Is this an actual dependency, or have tap syntaxes changed? (I'm not familiar with protocol/syntaxes with the add-on taps of homebrew, just a user :)

On a side note, brew install https://raw.github.com/pinepain/homebrew-devtools/master/Formula/v8@6.6.rb DOES work, (in case anyone else is just trying to get v8)

thiphariel commented 6 years ago

homebrew/php is flagged as deprecated. All formulas have been migrated in homebrew/core since the end of March 2018. This should be the issue :)

SoylentGraham commented 6 years ago

I kinda presumed the syntax could be correct, even if a dependency was missing. But then I'm not familiar with setting up taps so, I'm probably wrong :)

thiphariel commented 6 years ago

I'm also currently investing on install v8js on my Mac. I'm not quite familiar with brew too... I just know how to install / update / remove formulas, but don"t know how they really work ... 🤔

SoylentGraham commented 6 years ago

If you just need V8 (as I do, I need a version >5.1 which homebrew currently supports) you can just install that directly brew install https://raw.github.com/pinepain/homebrew-devtools/master/Formula/v8@6.6.rb

thiphariel commented 6 years ago

I need to have access to V8Js class from PHP ... 😭

EDIT : I just use this : http://webdesignerdepots.blogspot.com/2017/03/how-to-install-v8js-for-php-on-mac-os-x.html and passed all the Pear stuff that I does not need.

pinepain commented 6 years ago

Hi! Thanks for reporting, I'll look into this (btw, PRs are welcomed).

pinepain commented 6 years ago

Hi, in #6 I decided to remove PHP formulae. Also, all v8-relate formulae will be moved to the phpv8/tap tap within next few weeks and it will be the new home. I'm stopping building homebrew-compatible binaries for v8 as it was previously done manually (v8 build times out on travis) and anyway, I'm not sure anybody was sticking to the exact v8 versions I used.