Macaulay2 / homebrew-tap

The Macaulay2 tap for Homebrew
7 stars 6 forks source link

Failed to download resource "gfan" for Apply M1 #158

Closed yuriever closed 2 years ago

yuriever commented 2 years ago

Hi! I tried to install Macaulay2 by brew install Macaulay2/tap/M2 and the download always gets stuck at gfan with the following error:

Error: gfan: Failed to download resource "gfan"
Download failed: https://github.com/Macaulay2/homebrew-tap/releases/download/gfan-0.6.2_10/gfan-0.6.2_10.arm64_monterey.bottle.tar.gz

It seems that brew install Macaulay2/tap/M2 or brew install macaulay2/tap/gfan tries to download gfan-0.6.2_10.arm64_monterey.bottle.tar.gz but at the release page the corresponding version of gfan-0.6.2_9.arm64_monterey.bottle.tar.gz doesn't match. Is there a workaround for this problem?

mahrud commented 2 years ago

Yes, I was in the process of rebuilding it to fix a compiler issue for Monterey. Could you help us with rebottling gfan for M1? Here are the steps:

brew uninstall --ignore-dependencies gfan
brew install --build-bottle gfan
brew bottle --no-rebuild gfan

Then upload the bottle somewhere and I'll update the formula. This would be greatly appreciated! If you are willing, there are a few other packages that could similarly use someone's help on M1!

mahrud commented 2 years ago

The other packages that need new M1 bottles: cddlib@0.94m, topcom, frobby, macaulay2

yuriever commented 2 years ago

cddlib@0.94m--0.94m_1.arm64_monterey.bottle.tar.gz frobby--0.9.5_4.arm64_monterey.bottle.tar.gz gfan--0.6.2_10.arm64_monterey.bottle.tar.gz topcom--0.17.8_5.arm64_monterey.bottle.tar.gz

The last one macaulay2 takes time to build. I'll upload it later.

yuriever commented 2 years ago

The file size is a bit larger. I upload here

mahrud commented 2 years ago

Thank you very much! All are uploaded, you should be able to run brew install M2 now and hopefully everything should build from bottles.