homebrew-core-mojave icon indicating copy to clipboard operation
homebrew-core-mojave copied to clipboard

Brew not downloading anything with an @ symbol in the formula name

Open pparrott opened this issue 2 years ago • 0 comments

brew gist-logs <formula> link OR brew config AND brew doctor output

na

Verification

  • [X] I ran brew update and am still able to reproduce my issue.
  • [X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?

Trying to run brew upgrade

What happened (include all command output)?

When brew is downloading tar files during an upgrade, any formula that contains an @ in the name ([email protected], openjdk@11, etc.) try to hit a url that doesn't exist. Some example output below.


curl: (22) The requested URL returned error: 404
Error: node@12: Failed to download resource "[email protected]"
Download failed: https://github.com/gromgit/homebrew-core-mojave/releases/download/[email protected]/openssl%401.1-1.1.1s.mojave.bottle.tar.gz
==> Downloading https://github.com/gromgit/homebrew-core-mojave/releases/download/openssl@3/openssl%403-3.0.7.mojave.bottle.tar.gz

curl: (22) The requested URL returned error: 404
Error: openssl@3: Failed to download resource "openssl@3"
Download failed: https://github.com/gromgit/homebrew-core-mojave/releases/download/openssl@3/openssl%403-3.0.7.mojave.bottle.tar.gz
==> Downloading https://github.com/gromgit/homebrew-core-mojave/releases/download/openjdk@11/openjdk%4011-11.0.16.1_1.mojave.bottle.1.tar.gz

curl: (22) The requested URL returned error: 404
Error: openjdk@11: Failed to download resource "openjdk@11"
Download failed: https://github.com/gromgit/homebrew-core-mojave/releases/download/openjdk@11/openjdk%4011-11.0.16.1_1.mojave.bottle.1.tar.gz
==> Downloading https://github.com/gromgit/homebrew-core-mojave/releases/download/libpng/libpng-1.6.38.mojave.bottle.1.tar.gz
Already downloaded: /Users/Phil/Library/Caches/Homebrew/downloads/0dc91d4b7af8d804f570fc7d55adf19e45719696848b8ebd1a2fc6b012de6001--libpng-1.6.38.mojave.bottle.1.tar.gz

What did you expect to happen?

When it tries to download the latest [email protected] release it pings: https://github.com/gromgit/homebrew-core-mojave/releases/download/[email protected]/openssl%401.1-1.1.1s.mojave.bottle.tar.gz

However, based on the releases page it should be looking for: https://github.com/gromgit/homebrew-core-mojave/releases/download/openssl%401.1/openssl.401.1-1.1.1s.mojave.bottle.tar.gz

I'm on macOS 10.14.6, brew version is the latest at 3.6.10

Step-by-step reproduction instructions (by running brew commands)

brew install [email protected]

pparrott avatar Nov 10 '22 22:11 pparrott