Summary: | media-video/libva-utils-2.4.0 : VDecAccelVA.cpp:45:10: fatal error: va/va_x11.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | VA-API Project <vaapi> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bugzilla, james05+gentoo, l_indien |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/intel/libva-utils/issues/153 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 media-video:libva-utils-2.4.0:20190221-181040.log temp.tbz2 Patch to avoid this compilation issue, at least for my machines |
Description
Toralf Förster
2019-02-21 19:23:38 UTC
Created attachment 566016 [details]
emerge-info.txt
Created attachment 566018 [details]
emerge-history.txt
Created attachment 566020 [details]
environment
Created attachment 566022 [details]
etc.portage.tbz2
Created attachment 566024 [details]
logs.tbz2
Created attachment 566026 [details]
media-video:libva-utils-2.4.0:20190221-181040.log
Created attachment 566028 [details]
temp.tbz2
I have a similar error when trying to compile libva-utils-2.4.0 without X: [ebuild U ] media-video/libva-utils-2.4.0::gentoo [2.3.0::gentoo] USE="drm -X -test -wayland" 0 KiB ... In file included from TestMain.cpp:25: VDecAccelVA.h:42:10: fatal error: X11/Xlib.h: No such file or directory 42 | #include <X11/Xlib.h> | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:476: TestMain.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from VDecAccelVA.cpp:42: VDecAccelVA.h:42:10: fatal error: X11/Xlib.h: No such file or directory 42 | #include <X11/Xlib.h> | ^~~~~~~~~~~~ compilation terminated. ... libva-utils-2.3.0 compiles fine with the same USE flags Created attachment 824505 [details, diff] Patch to avoid this compilation issue, at least for my machines (Copied to previously submited as #822951: https://bugs.gentoo.org/show_bug.cgi?id=822951) I can check that vaapi is then usable on this computer: # vainfo libva info: VA-API version 1.12.0 libva info: Trying to open /usr/lib64/va/drivers/r600_drv_video.so libva info: Found init function __vaDriverInit_1_12 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.12 (libva 2.12.0) vainfo: Driver version: Mesa Gallium driver 21.1.7 for AMD RS780 (DRM 2.50.0 / 5.10.61-gentoo, LLVM 12.0.1) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc *** Bug 822951 has been marked as a duplicate of this bug. *** |