Homebrew / homebrew-core

🍻 Default formulae for the missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
13.77k stars 12.45k forks source link

php-cs-fixer: Failed to download resource "php-cs-fixer_bottle_manifest" #117785

Closed nexxai closed 1 year ago

nexxai commented 1 year ago

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

6:23:20 PM in ~ took 3s
⚡️56% ➜ brew gist-logs php-cs-fixer
Error: No logs.

6:23:24 PM in ~
⚡️56% ➜ brew config
HOMEBREW_VERSION: 3.6.14
ORIGIN: https://github.com/Homebrew/brew
HEAD: 001bacee18c512657e1535dff757c8cfdaefc116
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 4fb232d5327aa31481dff0c2633cb9f316d36396
Core tap last commit: 70 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: nano
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_ENV_HINTS: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 14.0.0 build 1400
Git: 2.38.1 => /opt/homebrew/bin/git
Curl: 7.84.0 => /usr/bin/curl
macOS: 13.0.1-arm64
CLT: 14.1.0.0.1.1666437224
Xcode: N/A
Rosetta 2: false

6:23:28 PM in ~
⚡️56% ➜ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Found Ruby file outside surrealdb/tap tap formula directory.
(/opt/homebrew/Library/Taps/surrealdb/homebrew-tap/Formula):
  /opt/homebrew/Library/Taps/surrealdb/homebrew-tap/nightly.rb
  /opt/homebrew/Library/Taps/surrealdb/homebrew-tap/release.rb

6:23:33 PM in ~ took 2s
⚡️56% ➜

Verification

What were you trying to do (and why)?

What: brew upgrade

Why: update latest packages

What happened (include all command output)?

6:23:15 PM in ~
⚡️56% ➜ brew upgrade
==> Upgrading 1 outdated package:
php-cs-fixer 3.13.0 -> 3.13.0_1
==> Downloading https://ghcr.io/v2/homebrew/core/php/8.1/manifests/8.1.13
Already downloaded: /Users/nexxai/Library/Caches/Homebrew/downloads/fc404d26c988dc5320f3a499cbea1d9a136fe7d195bee0bcf34bf5b3517b55eb--php@8.1-8.1.13.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/php/8.1/blobs/sha256:2f60883710ebb145b8a43aa903dc6a5867af9b103528fce50e7f98a2631aa289
Already downloaded: /Users/nexxai/Library/Caches/Homebrew/downloads/3ff77a1f385d4bd9673513658aa9a925fc0d14d82be0a8727b6cd713128426c1--php@8.1--8.1.13.arm64_ventura.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/php-cs-fixer/manifests/3.13.0_1
curl: (22) The requested URL returned error: 404

Error: php-cs-fixer: Failed to download resource "php-cs-fixer_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/php-cs-fixer/manifests/3.13.0_1

6:23:20 PM in ~ took 3s

What did you expect to happen?

php-cs-fixer to upgrade normally

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

brew upgrade
cho-m commented 1 year ago

A missing change to shebang in #117647 resulted in new bottles not getting built. I think it will be fixed with #117809.