Package Details: mpv-danmaku-git 0.1.0.r7.5721aa1-1

Git Clone URL: https://aur.archlinux.org/mpv-danmaku-git.git (read-only, click to copy)
Package Base: mpv-danmaku-git
Description: MPV plugin that loads bilibili comments automaticaly
Upstream URL: https://github.com/skbeh/mpv-danmaku
Keywords: bilibili
Licenses: GPL3
Conflicts: mpv-danmaku
Provides: mpv-danmaku
Submitter: AvianaCruz
Maintainer: AvianaCruz
Last Packager: AvianaCruz
Votes: 2
Popularity: 0.000147
First Submitted: 2022-12-31 09:24 (UTC)
Last Updated: 2023-12-03 11:35 (UTC)

Latest Comments

Reality commented on 2023-01-22 11:39 (UTC)

@AvianaCruz 好耶,已经用上啦,谢谢大佬!

AvianaCruz commented on 2023-01-17 03:30 (UTC)

@Reality 已修复。

Reality commented on 2023-01-14 21:09 (UTC) (edited on 2023-01-22 11:44 (UTC) by Reality)

此问题已被 @AvianaCruz 在 2023-01-17 修复,现在一切都很完美,再次感谢大佬!

原问题-------------------------------------------------------------------------------------------------------------------------------------------------------------

我在编译时遇到了以下错误:

Compiling libmpv-sys v3.1.0

error: failed to run custom build command for libmpv-sys v3.1.0

Caused by: process didn't exit successfully: /home/reality/.cache/yay/mpv-danmaku-git/src/mpv-danmaku/target/release/build/libmpv-sys-365dbef7a9640f6d/build-script-build (exit status: 101) --- stderr libclang: crash detected during parsing: { 'source_filename' : '' 'command_line_args' : ['clang', '--target=x86_64-unknown-linux-gnu', '-include', 'include/client.h', '-include', 'include/render.h', '-include', 'include/render_gl.h', '-isystem', '/usr/lib/clang/14.0.6/include', '-isystem', '/usr/local/include', '-isystem', '/usr/include', 'include/stream_cb.h'], 'unsaved_files' : [], 'options' : 1, } thread 'main' panicked at 'libclang error; possible causes include: - Invalid flag syntax - Unrecognized flags - Invalid flag arguments - File I/O errors - Host vs. target architecture mismatch If you encounter an error missing from this list, please file an issue or a PR!', /home/reality/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.54.0/src/ir/context.rs:573:15 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

==> 错误: 在 build() 中发生一个错误。 正在放弃... -> 生成时出错: mpv-danmaku-git

.----------------------------------------------------------------------------------------------------------------------------------------------------------------------