问题:
brew search go
Error: Cask 'gtkwave' definition is invalid: invalid depends_on key: ':x11'
我已经重新安装了 brew 还是会出现这个问题。
brew config:
HOMEBREW_VERSION: 3.1.3
ORIGIN:
https://mirrors.aliyun.com/homebrew/brew.gitHEAD: d89eda09abbeae907eb88bd6d01dc9cde7ff0e19
Last commit: 8 days ago
Core tap ORIGIN:
https://mirrors.aliyun.com/homebrew/homebrew-core.gitCore tap HEAD: 58bac2f622d827c05c87c6b1d8df05fda0ae7b4e
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BOTTLE_DOMAIN:
https://mirrors.ustc.edu.cn/homebrew-bottlesHOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 11.0 build 1103
Git: 2.24.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.7-x86_64
CLT: 11.3.0.32.29
Xcode: N/A
brew docker:
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Suspicious
https://github.com/Homebrew/brew git origin remote found.
The current git origin is:
https://mirrors.aliyun.com/homebrew/brew.gitWith a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
git -C "/usr/local/Homebrew" remote set-url origin
https://github.com/Homebrew/brewWarning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/more/.
Warning: Suspicious
https://github.com/Homebrew/homebrew-core git origin remote found.
The current git origin is:
https://mirrors.aliyun.com/homebrew/homebrew-core.gitWith a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin
https://github.com/Homebrew/homebrew-core
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/773789
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.