gpt4 book ai didi

macos - 警告 : Calling `sha256 "digest"with Brew on macOS

转载 作者:行者123 更新时间:2023-12-04 11:23:03 25 4
gpt4 key购买 nike

自从我上次运行 brew update 以来命令在我的 macOS 中,我开始在下面遇到这个问题。运行 brew style --fix不解决它。
我怎么能解决呢?
macOS brew error sha256

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

最佳答案

您需要指定公式的路径来修复它,请尝试在下面运行此命令。

brew style --fix /usr/local/Homebrew/Library/Taps/henkrehorst/homebrew-bc/Formula
例子
$ brew style --fix /usr/local/Homebrew/Library/Taps/pnbv/homebrew-ffmpegvidstab/ffmpeg.rb
Fetching gem metadata from https://rubygems.org/.........
Using ...
Fetching ...
Installing ...
Bundle complete! 31 Gemfile dependencies, 84 gems now installed.
Bundled gems are installed into `../../usr/local/Homebrew/Library/Homebrew/vendor/bundle`
Removing ...
/usr/local/Homebrew/Library/Taps/pnbv/homebrew-ffmpegvidstab/ffmpeg.rb:9:5: C: [Corrected] sha256 should use new syntax
sha256 "468153bac4b90b445fa5c6adfb70ec3213ebc0f63c7a97a6b2a1649d9c32a786" => :mojave
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
1 file inspected, 21 offenses detected, 21 offenses corrected

关于macos - 警告 : Calling `sha256 "digest"with Brew on macOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67342536/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com