gromgit / homebrew-core-mojave

Experimental Homebrew support for deprecated macOS Mojave.
BSD 2-Clause "Simplified" License
21 stars 3 forks source link

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

Open pparrott opened 2 years ago

pparrott commented 2 years ago

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

na

Verification

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 (openssl@1.1, 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 "openssl@1.1"
Download failed: https://github.com/gromgit/homebrew-core-mojave/releases/download/openssl@1.1/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 openssl@1.1 release it pings: https://github.com/gromgit/homebrew-core-mojave/releases/download/openssl@1.1/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 openssl@1.1