@
Kobayashi 现在 Homebrew 也同样取消了对 macOS 12 Monterey 的支持,所有预编译好的 Bottles (Binary Packages) 都被删掉了。然后随便安装一个什么包都会在本地下载一大堆依赖进行源码编译,一个被依赖的 llvm 包编译安装下来,要用 6 个多小时,真的是非常 buggy and slow 。
接着我也通过 brew uninstall 删除掉了所有的 Homebrew Formulae ,然后同样保留了用 Homebrew Casks 管理本地的 GUI App 。
谁都别跟我说 MacPorts 什么实现的不够优雅,维护的不够好,当被 Homebrew Formulae 完全抛弃之后,MacPorts 就是那个唯一可用的。
而且,根据我的实际使用情况来看,MacPorts 里面绝大多数常用的包的版本都是最新的,安装也很顺滑,完全可以平替 Homebrew Formulae 。执行 sudo port uninstall leaves 命令也能删除掉 uninstall 某个软件包后残余的依赖包。
开源社区用爱发电的确很伟大,但是当爱消失后态度也是很粗鲁的,哈哈。
下面是在 macOS 12 Monterey 上运行 brew 命令后输出的一大段骂骂咧咧的话,各位感受一下语气。
Warning: You are using mac0S 12.
We(and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull reguest.
We will review it but may or may not accept it.