Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438842 - media-tv/xbmc-11.0 with media-video/ffmpeg-1.0 - /xbmc-11.0/lib/DllAvCore.h:126:47: error: use of enum ‘SampleFormat’ without previous declaration
Summary: media-tv/xbmc-11.0 with media-video/ffmpeg-1.0 - /xbmc-11.0/lib/DllAvCore.h:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xbox project
URL: https://bugzilla.rpmfusion.org/show_b...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 19:47 UTC by Tomasz Golinski
Modified: 2012-10-25 17:50 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,15.93 KB, application/x-gzip)
2012-10-18 19:48 UTC, Tomasz Golinski
Details
build.log (build.log,124.82 KB, text/plain)
2012-10-18 19:50 UTC, Tomasz Golinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Golinski 2012-10-18 19:47:45 UTC
I don't see a tracker for FFmpeg-1.0 (and I'm not sure if it concerns FFmpeg-0.11 as well). 

The problem is described here: https://bugzilla.rpmfusion.org/show_bug.cgi?id=2396 and thereis a link to a fix is also there: https://github.com/xbmc/xbmc/commit/ac2d961354533972c4bde5e8c7defd5404754877

However, applying patch described in this commit does not resolve the issue completely. There are still FFmpeg related errors (attaching build.log).

I was trying to build xbmc-9999 but it failed since I didn't have swig or java installed (they are missing from DEPEND) and I didn't want to install it all.

Reproducible: Always

Steps to Reproduce:
1. unmask and emerge ffmpeg-1.0
2. emerge xbmc
3.
Comment 1 Tomasz Golinski 2012-10-18 19:48:23 UTC
Created attachment 326874 [details]
build.log
Comment 2 Tomasz Golinski 2012-10-18 19:50:05 UTC
Created attachment 326876 [details]
build.log
Comment 3 Tomasz Golinski 2012-10-18 19:51:22 UTC
Sorry, by mistake I attached gziped log and I don't know how to delete it now. Second one is plain text.
Comment 4 Alexis Ballier gentoo-dev 2012-10-19 18:33:18 UTC
if xbmc maintainers want this i can probably backport the fixes i sent for master to 11.0
Comment 5 SpanKY gentoo-dev 2012-10-20 16:21:23 UTC
ffmpeg/libav are packages i don't want to deal with, so if you posted patches for either, feel free to merge them
Comment 6 Alexis Ballier gentoo-dev 2012-10-24 22:36:28 UTC
+  24 Oct 2012; Alexis Ballier <aballier@gentoo.org> xbmc-11.0.ebuild,
+  -files/xbmc-11.0-ffmpeg.patch, files/xbmc-11.0-libav.patch:
+  Backport a huge patchset from upstream master to be compatible with ffmpeg
+  0.10 up to current git master. Bug #438842. Rebase the libav patches on top
+  of these changes, it seems they were sent upstream but not applied. Drop a
+  now useless patch with this refactoring. Please CC me on bugs if these
+  patches cause problems.
+


Patchset is huge because ffmpeg was updated upstream after the 11.0 release...
Comment 7 Tomasz Golinski 2012-10-25 17:50:00 UTC
I confirm that it builds fine on my system. Thanks!