-
-
Save siddharthg/6923b2cbb402bd65255af7859a5d52a5 to your computer and use it in GitHub Desktop.
brew unlink thrift | |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/16ebe5f1843e6cb54856311ff0f676be53007329/Formula/thrift.rb |
Update:
Use homebrew-thrift Tap, easy install:
brew tap cartman-kai/thrift
brew install [email protected]
https://github.com/cartman-kai/homebrew-thrift
Old soluation:
I solved this problem.
git clone https://github.com/Homebrew/homebrew-core.git
, it may be slow, because repo size.cd homebrew-core
andgit checkout 16ebe5f1843e6cb54856311ff0f676be53007329
, this commit id is lasted commit before updated to thrift 0.11.0vim ./Formula/thrift.rb
modify this file,in line number 35, changedepends_on :python => :optional
-># depends_on :python => :optional
or change like @qingdi method.brew install ./Formula/thrift.rb
other reason: Remove all options from Homebrew/homebrew-core formulae
optional
may i ask
where could I change it
Error: Failed to download resource "thrift_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/thrift/manifests/0.9.3-1
Error: Failed to download resource "thrift_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/thrift/manifests/0.9.3-1
the same problem when I tried 'brew install ./thrift.rb'
Error: Failed to download resource "thrift_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/thrift/manifests/0.9.3-1the same problem when I tried 'brew install ./thrift.rb'
Error: Failed to download resource "thrift_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/thrift/manifests/0.9.3-1
Homebrew v3.1.0 replaced Bintray with GitHub packages.
there is method to fix it
1,
depends_on :python => :optional
change todepends_on "python@2" => :optional
2,
def caveats; <<-EOS.undent
change todef caveats; <<-EOS
hope it help