Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574998 - media-tv/kodi-15.2 fails to build with ffmpeg-3
Summary: media-tv/kodi-15.2 fails to build with ffmpeg-3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-3
  Show dependency tree
 
Reported: 2016-02-17 22:47 UTC by Alexis Ballier
Modified: 2016-02-24 10:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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