Homebrew / brew

🍺 The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
41.64k stars 9.79k forks source link

`brew bump` refuses to bump linked formulae #16383

Open SMillerDev opened 11 months ago

SMillerDev commented 11 months ago

brew doctor output

Your system is ready to brew.

Verification

brew config output

HOMEBREW_VERSION: 4.2.0-47-g4a8d9ce
ORIGIN: https://github.com/Homebrew/brew
HEAD: 4a8d9ce246196997451c8e54df6d467d2b25c72a
Last commit: 5 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: cab23b6ffbdbc94e06db86a9ef7ef1a68f2545a7
Core tap last commit: 41 minutes ago
Core tap branch: master
Core tap JSON: 21 Dec 19:38 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DEVELOPER: set
HOMEBREW_EDITOR: nano
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.43.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.3-arm64
CLT: 15.1.0.0.1.1700200546
Xcode: 15.1 => /Applications/Xcode-15.1.0.app/Contents/Developer
Rosetta 2: false

What were you trying to do (and why)?

Run brew bump --open-pr boost since I hate myself and am volunteering for another couple months of PR chasing.

What happened (include all command output)?

Brew refused:

==> boost
Current formula version:  1.83.0
Latest livecheck version: 1.84.0
Latest Repology version:  1.84.0
Open pull requests:       none
Closed pull requests:     none
Warning: This formula has patches that may be resolved upstream.
==> Downloading https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.tar.xz
Already downloaded: /Users/sean.molenaar/Library/Caches/Homebrew/downloads/21df55f1655edaed8d185162f6347f9e15f06f5a5e1522532ca8f997b180157b--boost-1.84.0.tar.xz
Warning: Cannot verify integrity of '21df55f1655edaed8d185162f6347f9e15f06f5a5e1522532ca8f997b180157b--boost-1.84.0.tar.xz'.
No checksum was provided.
For your reference, the checksum is:
  sha256 "2e64e5d79a738d0fa6fb546c6e5c2bd28f88d268a2a080546f74e5ff98f29d0e"
==> replace /https:\/\/github\.com\/boostorg\/boost\/releases\/download\/boost\-1\.83\.0\/boost\-1\.83\.0\.tar\.xz/ with "https://github.com/boostorg/boost/releases/
==> replace "c5a0688e1f0c05f354bbd0b32244d36085d9ffc9f932e8a18983a9908096f614" with "2e64e5d79a738d0fa6fb546c6e5c2bd28f88d268a2a080546f74e5ff98f29d0e"
==> Renaming alias boost@1.83 to boost@1.84
boost
  * Version of `boost-bcp` (1.83.0) should match version of `boost` (1.84.0)
  * Version of `boost-build` (1.83.0) should match version of `boost` (1.84.0)
  * Version of `boost-mpi` (1.83.0) should match version of `boost` (1.84.0)
  * Version of `boost-python3` (1.83.0) should match version of `boost` (1.84.0)
Error: 4 problems in 1 formula detected.
Error: `brew audit` failed!

What did you expect to happen?

It would pull in all other formulae that are linked and update those too.

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

brew bump --open-pr boost
issyl0 commented 10 months ago

I didn't solve the "should bump all the formulae at once" problem yet, but I did add a "you should think about these formulae too" message to brew bump's output.