Bug 20899

Summary: Request for backport: libva and vaapi-driver-intel, vaapi-driver-vdpau
Product: Mageia Reporter: Stig-Ørjan Smelror <smelror>
Component: BackportsAssignee: Anssi Hannula <anssi.hannula>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: marja11, thierry.vignaud
Version: 5Keywords: Backport
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/xbmc/xbmc/commit/39fc10e23ff954ed07583569681f6679039fc011
Whiteboard:
Source RPM: libva-1.4.1-1.mga5, vaapi-driver-vdpau-0.7.4-6.mga5, vaapi-driver-intel-1.4.1-1.mga5 CVE:
Status comment:

Description Stig-Ørjan Smelror 2017-05-20 16:35:45 CEST
Hi.

I am unable to compile Kodi 18 alpha on my MGA5 machine and I get this error.

[ 85%] Building CXX object build/cores/VideoPlayer/codecs/video/CMakeFiles/dvdvideocodecs.dir/DVDVid
eoCodecFFmpeg.cpp.o
/home/stig/kodi/Leia/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp: In member funct
ion 'IHardwareDecoder* CDVDVideoCodecFFmpeg::CreateVideoDecoderHW(AVPixelFormat, CProcessInfo&)':
/home/stig/kodi/Leia/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp:1192:16: error:
'VAAPI' does not name a type
     return new VAAPI::CDecoder(m_processInfo);
                ^
/home/stig/kodi/Leia/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp:1192:21: error:
expected ';' before '::' token
     return new VAAPI::CDecoder(m_processInfo);
                     ^
/home/stig/kodi/Leia/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp:1192:21: error:
'::CDecoder' has not been declared
/home/stig/kodi/Leia/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp:1192:21: note: s
uggested alternative:
In file included from /home/stig/kodi/Leia/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecFFmpe
g.cpp:1185:0:
/home/stig/kodi/Leia/xbmc/cores/VideoPlayer/DVDCodecs/Video/VDPAU.h:546:7: note:   'VDPAU::CDecoder'
 class CDecoder
       ^
build/cores/VideoPlayer/codecs/video/CMakeFiles/dvdvideocodecs.dir/build.make:86: recipe for target
'build/cores/VideoPlayer/codecs/video/CMakeFiles/dvdvideocodecs.dir/DVDVideoCodecFFmpeg.cpp.o' faile
d
make[2]: *** [build/cores/VideoPlayer/codecs/video/CMakeFiles/dvdvideocodecs.dir/DVDVideoCodecFFmpeg
.cpp.o] Error 1
CMakeFiles/Makefile2:8884: recipe for target 'build/cores/VideoPlayer/codecs/video/CMakeFiles/dvdvid
eocodecs.dir/all' failed
make[1]: *** [build/cores/VideoPlayer/codecs/video/CMakeFiles/dvdvideocodecs.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2


Compilation works fine on my MGA6 machine and that's why I believe it may be these libs that needs to be updated.

Thanks in advance.
Stig-Ørjan Smelror 2017-05-20 20:40:10 CEST

Source RPM: (none) => lib64va-devel-1.4.1-1.mga5, vaapi-driver-vdpau-0.7.4-6.mga5, vaapi-driver-intel-1.4.1-1.mga5
Keywords: (none) => Backport

Comment 1 Stig-Ørjan Smelror 2017-05-20 20:46:37 CEST
Added URL to commit in the Kodi source where libva 1.7.3 is required.

URL: (none) => https://github.com/xbmc/xbmc/commit/39fc10e23ff954ed07583569681f6679039fc011

Comment 2 Stig-Ørjan Smelror 2017-05-20 20:58:36 CEST
As a preliminary action, I installed libva to /usr/local and Kodi compiled fine.

I tried building my own rpm, but got an error about glob not finding files...
Comment 3 Marja Van Waes 2017-05-21 18:03:29 CEST
Assigning to libva and vaapi-driver-vdpau maintainer, CC'ing vaapi-driver-intel maintainer.

CC: (none) => marja11, thierry.vignaud
Component: RPM Packages => Backports
Source RPM: lib64va-devel-1.4.1-1.mga5, vaapi-driver-vdpau-0.7.4-6.mga5, vaapi-driver-intel-1.4.1-1.mga5 => libva-1.4.1-1.mga5, vaapi-driver-vdpau-0.7.4-6.mga5, vaapi-driver-intel-1.4.1-1.mga5

Comment 4 Marja Van Waes 2017-05-29 21:09:00 CEST
(In reply to Marja van Waes from comment #3)
> Assigning to libva and vaapi-driver-vdpau maintainer, CC'ing
> vaapi-driver-intel maintainer.

Again trying to assign :-/

Assignee: bugsquad => anssi.hannula

Comment 5 Stig-Ørjan Smelror 2017-10-27 23:02:17 CEST
This request is now obsolete. Closing it.

Resolution: (none) => OLD
Status: NEW => RESOLVED