New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mpv fails to build with --enable-dvbin on linux 5.14+ #9233
Comments
Exists on my 5.14 system, and elixir seems to agree with me here: https://elixir.bootlin.com/linux/v5.14.7/source/include/uapi/linux/dvb/video.h What seems more likely to me is that your kernel is now built without dvbin support, as staging drivers are disabled by default. |
I see, there is indeed some 5.14 regression regarding DVB header files, here's the LWN article about it: https://lwn.net/Articles/867275/ Maybe it's finally time to bin dvbin. EDIT: fwiw, mpv builds for me on 5.14.6 with EDITEDIT: looks like we can just drop the include, we don't even use anything from the header; builds just fine without it. |
We do not actually use this, and it's in a state of maybe-removal from the kernel as of Linux 5.14. Get rid of it; mpv still builds fine without it, so it wasn't needed anyways. Fixes mpv-player#9233.
We do not actually use this, and it's in a state of maybe-removal from the kernel as of Linux 5.14. Get rid of it; mpv still builds fine without it, so it wasn't needed anyways. Fixes mpv-player#9233.
In Linux kernel commit 819fbd3d8ef36c09576c2a0ffea503f5c46e9177 these two header files were moved to staging (though they've since been moved out again by Linus.) We do not actually use this, and it's in a state of maybe-removal from the kernel as of Linux 5.14. Get rid of it; mpv still builds fine without it, so it wasn't needed anyways. Fixes mpv-player#9233.
Well, if those includes aren't needed at all, that's like, the best-case scenario :) Thanks for investigating. |
In Linux kernel commit 819fbd3d8ef36c09576c2a0ffea503f5c46e9177 these two header files were moved to staging (though they've since been moved out again by Linus.) We do not actually use this, and it's in a state of maybe-removal from the kernel as of Linux 5.14. Get rid of it; mpv still builds fine without it, so it wasn't needed anyways. Fixes mpv-player#9233.
In Linux kernel commit 819fbd3d8ef36c09576c2a0ffea503f5c46e9177 these two header files were moved to staging (though they've since been moved out again by Linus.) We do not actually use this, and it's in a state of maybe-removal from the kernel as of Linux 5.14. Get rid of it; mpv still builds fine without it, so it wasn't needed anyways. Fixes #9233.
mpv version and platform versions
affects mpv 0.33.1, and the related source files have not been touched since then.
Reproduction steps
Building mpv with
--enable-dvbin
fails with linux 5.14 kernel headers, because the/usr/include/linux/dvb/video.h
was (re)moved, which is included in mpv'sstream/dvbin.h
.Looking at recent linux kernel headers, this file seems to have been removed without replacement. Not sure what the expected action for application developers is.
Expected behavior
mpv should continue to compile (though I'm not sure how to resolve this issue, since the kernel headers are just gone, without obvious replacement).
Actual behavior
mpv fails to compile with
--enable-dvbin
.Log file
Build logs don't contain anything helpful other than the obvious "file
/usr/include/linux/dvb/video.h
not found".The text was updated successfully, but these errors were encountered: