Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 574998

Summary: media-tv/kodi-15.2 fails to build with ffmpeg-3
Product: Gentoo Linux Reporter: Alexis Ballier <aballier>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal CC: media-video
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 574788    

Description Alexis Ballier gentoo-dev 2016-02-17 22:47:51 UTC
make[1]: Leaving directory '/var/tmp/portage/media-tv/kodi-15.2/work/xbmc-15.2-Isengard/lib/libdvd'
CPP     xbmc/cores/dvdplayer/DVDFileInfo.o
In file included from DVDFileInfo.cpp:46:0:
DVDCodecs/Video/DVDVideoCodecFFmpeg.h:49:88: error: use of enum ‘PixelFormat’ without previous declaration
     virtual bool Open      (AVCodecContext* avctx, AVCodecContext* mainctx, const enum PixelFormat, unsigned int surfaces) = 0;
                                                                                        ^
In file included from DVDFileInfo.cpp:46:0:
DVDCodecs/Video/DVDVideoCodecFFmpeg.h:80:15: error: use of enum ‘PixelFormat’ without previous declaration
   static enum PixelFormat GetFormat(struct AVCodecContext * avctx, const PixelFormat * fmt);


(etc.)


I think git master is fine, so we could just wait for kodi 16.
Comment 1 SpanKY gentoo-dev 2016-02-23 19:33:08 UTC
16.0 is in the tree, so assuming resolved
Comment 2 Alexis Ballier gentoo-dev 2016-02-24 10:00:53 UTC
seems I was wrong with the timeline: master is fixed but kodi-16 was branched before the fix.

Fixed now:
commit cc7f541fccd5c782bdf551b8ff2780a8523e142d
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Wed Feb 24 10:59:45 2016 +0100

    media-tv/kodi: backport upstream fix to build with ffmpeg-3. Bug #574998