【发布时间】:2021-07-24 07:22:21
【问题描述】:
自从我上次在我的 macOS 中运行 brew update 命令以来,我开始在下面遇到这个问题。运行brew style --fix 并不能解决问题。
我该如何解决?
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 henkrehorst/bc tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/henkrehorst/homebrew-bc/Formula/apr-util-bc.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 henkrehorst/bc tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/henkrehorst/homebrew-bc/Formula/apr-util-bc.rb:11
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 henkrehorst/bc tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/henkrehorst/homebrew-bc/Formula/apr-util-bc.rb:12
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 henkrehorst/bc tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/henkrehorst/homebrew-bc/Formula/openssl-bc.rb:15
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 henkrehorst/bc tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/henkrehorst/homebrew-bc/Formula/openssl-bc.rb:16
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 henkrehorst/bc tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/henkrehorst/homebrew-bc/Formula/openssl-bc.rb:17
【问题讨论】:
-
你有没有得到解决方案,我也面临同样的```警告:不推荐在瓶块中调用
sha256 "digest" => :tag!在公式上使用brew style --fix来更新样式或改用sha256 tag: "digest"。请将此问题报告给 homebrew/core tap(不是 Homebrew/brew 或 Homebrew/core),或者更好的是,提交 PR 来修复它:```