I'm having trouble finding out what to do with this error... here's the full message:
MacBook-Pro ~ % brew unlink [email protected] && brew link --force --overwrite [email protected]
Unlinking /usr/local/Cellar/[email protected]/7.4.16... 0 symlinks removed.
Warning: Already linked: /usr/local/Cellar/[email protected]/5.6.40
To relink:
brew unlink [email protected] && brew link --force [email protected]
MacBook-Pro ~ % brew unlink [email protected] && brew link --force [email protected]
Unlinking /usr/local/Cellar/[email protected]/5.6.40... 25 symlinks removed.
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the exolnet/deprecated tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula/[email protected]:10
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the exolnet/deprecated tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula/[email protected]:10
Linking /usr/local/Cellar/[email protected]/5.6.40... 25 symlinks created.
I'm unsure of what "Calling sha256 "digest" => :tag
in a bottle block" means in relation to Homebrew or exolnet, and trying to run brew style --fix [email protected]
seems like it fixes a bunch of stuff but then I just get the same errors running unlink/link again, and eXolnet's GitHub is archived so I don't get the Open new Issue button... so I'm not sure where I'm supposed to report the issue.
I'm on macOS Catalina 10.15.7, on a MacBook Pro 2019, and I just updated Homebrew yesterday (it auto-updates anyway) to version 3.0.11-156-gbf79e3d.
Trying to Google search this gives Ruby answers or seemingly unrelated things, and I'm not familiar with Ruby nor those other things... I can't tell if the warnings are a red herring or what, and I'm not sure where to post about it. I can't even tell if I should even deal with these errors...
I simply need PHP 5.6, 7.3, and 7.4 running on my "new" Mac Catalina install (and my boss has recommended against Big Sur right now).
My Answer:
It seems like the warning you are receiving is related to a deprecated syntax in a formula for PHP in Homebrew. The warning is advising you to update the formula using `brew style --fix` or to use the correct syntax `sha256 tag: "digest"` instead of `sha256 "digest" => :tag`.
Since the formula is from the exolnet/deprecated tap, you can report the issue to them by creating a new issue on their GitHub repository. Even though the repository is archived, you should still be able to create a new issue.
To fix the issue temporarily, you can try running `brew style --fix [email protected]` to update the formula style. However, if the warning persists after relinking, you may need to wait for a fix from the exolnet tap maintainers.
In the meantime, if PHP 5.6, 7.3, and 7.4 are working fine for you despite the warnings, you can continue using them without any issues. Just keep an eye out for any updates or fixes from the tap maintainers.
Rate this post
5 of 5 based on 6067 votesComments