警告:不推荐在瓶块中调用 `sha256 "digest" => :tag`!在公式上使用 `brew style --fix`
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula
我找不到如何处理这个错误...这是完整的消息:
MacBook-Pro ~ % brew unlink php@7.4 && brew link --force --overwrite php@5.6
Unlinking /usr/local/Cellar/php@7.4/7.4.16... 0 symlinks removed.
Warning: Already linked: /usr/local/Cellar/php@5.6/5.6.40
To relink:
brew unlink php@5.6 && brew link --force php@5.6
MacBook-Pro ~ % brew unlink php@5.6 && brew link --force php@5.6
Unlinking /usr/local/Cellar/php@5.6/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/php@7.0.rb: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/php@7.1.rb:10
Linking /usr/local/Cellar/php@5.6/5.6.40... 25 symlinks created.
我不确定“在 bottle block 中调用 sha256 "digest" => :tag
”与 Homebrew 或 exolnet 相关的含义,尝试 运行 brew style --fix php@x.x
似乎解决了很多问题的东西,但后来我又得到了同样的错误 运行ning unlink/link,并且 eXolnet 的 GitHub 被存档了,所以我没有得到 Open new Issue 按钮...所以我不确定我应该在哪里报告问题。
我在 MacBook Pro 2019 上使用 macOS Catalina 10.15.7,我昨天刚刚将 Homebrew 更新到 3.0.11-156-gbf79e3d 版本(无论如何它都会自动更新)。
尝试 Google 搜索这给出了 Ruby 答案或看似无关的东西,我不熟悉 Ruby 也不熟悉其他东西......我不知道如果警告是转移注意力的信息或其他什么,我不确定该从哪里 post 了解它。我什至不知道我是否应该处理这些错误...
我只需要 PHP 5.6、7.3 和 7.4 运行ning 在我的“新”Mac Catalina 安装上(我的老板现在建议不要安装 Big Sur)。
尝试运行:
brew style --fix /usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula
我也不熟悉 ruby,但它已修复
也许你应该尝试 brew update-reset
修复它,它对我有用。
我找不到如何处理这个错误...这是完整的消息:
MacBook-Pro ~ % brew unlink php@7.4 && brew link --force --overwrite php@5.6
Unlinking /usr/local/Cellar/php@7.4/7.4.16... 0 symlinks removed.
Warning: Already linked: /usr/local/Cellar/php@5.6/5.6.40
To relink:
brew unlink php@5.6 && brew link --force php@5.6
MacBook-Pro ~ % brew unlink php@5.6 && brew link --force php@5.6
Unlinking /usr/local/Cellar/php@5.6/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/php@7.0.rb: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/php@7.1.rb:10
Linking /usr/local/Cellar/php@5.6/5.6.40... 25 symlinks created.
我不确定“在 bottle block 中调用 sha256 "digest" => :tag
”与 Homebrew 或 exolnet 相关的含义,尝试 运行 brew style --fix php@x.x
似乎解决了很多问题的东西,但后来我又得到了同样的错误 运行ning unlink/link,并且 eXolnet 的 GitHub 被存档了,所以我没有得到 Open new Issue 按钮...所以我不确定我应该在哪里报告问题。
我在 MacBook Pro 2019 上使用 macOS Catalina 10.15.7,我昨天刚刚将 Homebrew 更新到 3.0.11-156-gbf79e3d 版本(无论如何它都会自动更新)。
尝试 Google 搜索这给出了 Ruby 答案或看似无关的东西,我不熟悉 Ruby 也不熟悉其他东西......我不知道如果警告是转移注意力的信息或其他什么,我不确定该从哪里 post 了解它。我什至不知道我是否应该处理这些错误...
我只需要 PHP 5.6、7.3 和 7.4 运行ning 在我的“新”Mac Catalina 安装上(我的老板现在建议不要安装 Big Sur)。
尝试运行:
brew style --fix /usr/local/Homebrew/Library/Taps/exolnet/homebrew-deprecated/Formula
我也不熟悉 ruby,但它已修复
也许你应该尝试 brew update-reset
修复它,它对我有用。