Brew 安装 HEAD 版本的 MPV 一直失败,不知道怎么回事了- -求救

2019-04-07 21:25:28 +08:00
 hrzhm
➜ ~ brew install mpv --HEAD
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

==> Cloning https://github.com/mpv-player/mpv.git
Updating /Users/hrwhfr/Library/Caches/Homebrew/mpv--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at e9fae413fd options/path: fix url detection per RFC3986
==> ./bootstrap.py
==> python3 waf configure --prefix=/usr/local/Cellar/mpv/HEAD-e9fae41_3 --enable-html-build --enable-javascript --enable-libmpv-shared --enable-lua --enable-libarchive --enable-uchardet --
==> python3 waf install
Last 15 lines from /Users/hrwhfr/Library/Logs/Homebrew/mpv/03.python3:
/private/tmp/mpv-20190407-1534-1nv4n3r/video/out/cocoa_cb_common.swift:256:29: warning: 'init(_:)' is deprecated: replaced by 'init(truncating:)'
let lux = Int(ceil( Double((term4 + term3 + term2 + term1 - 0.19) as NSNumber)))
^
/private/tmp/mpv-20190407-1534-1nv4n3r/video/out/cocoa_cb_common.swift:256:29: note: use 'init(truncating:)' instead
let lux = Int(ceil( Double((term4 + term3 + term2 + term1 - 0.19) as NSNumber)))
^
truncating:
/private/tmp/mpv-20190407-1534-1nv4n3r/video/out/cocoa_cb_common.swift:335:39: error: cannot call value of non-function type '[NSScreen]'
let screens = NSScreen.screens()
~~~~~~~~~~~~~~~~^~


Waf: Leaving directory `/private/tmp/mpv-20190407-1534-1nv4n3r/build'
Build failed
-> task in 'osdep/macOS_swift.o,osdep/macOS_swift.h,osdep/macOS_swift.swiftmodule' failed with exit status 1 (run with -v to display more information)

READ THIS: https://docs.brew.sh/Troubleshooting

错误信息如上= =
2790 次点击
所在节点    macOS
6 条回复
hrzhm
2019-04-08 07:35:19 +08:00
= =没人用 mpv 嘛~~~~
carrionlee
2019-04-08 09:07:46 +08:00
都用 iina 了。。
missdeer
2019-04-08 09:32:12 +08:00
为毛一定要 HEAD ?
nieyujiang
2019-04-08 10:21:11 +08:00
目前在用稳定版
hrzhm
2019-04-10 22:26:26 +08:00
没人知道嘛~~_~~
liuxue
2019-04-20 16:13:15 +08:00
后来换成 iina 了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/552761

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX