Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425318 - media-plugins/gst-plugins-ffmpeg-0.10.13-r2 with media-video/ffmpeg-9999 - In file included from gstffmpegprotocol.c:34:0: gstffmpeg.h:63:1: error: unknown type name 'URLProtocol'
Summary: media-plugins/gst-plugins-ffmpeg-0.10.13-r2 with media-video/ffmpeg-9999 - In...
Status: RESOLVED DUPLICATE of bug 423717
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-08 12:52 UTC by Daniele Segato
Modified: 2012-11-15 06:54 UTC (History)
1 user (show)

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


Attachments
the full build log (gst-plugins-ffmpeg-0.10.13-r2-build.log,28.88 KB, text/plain)
2012-07-08 12:52 UTC, Daniele Segato
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele Segato 2012-07-08 12:52:30 UTC
The package fail to compile with last version of ffmpeg.
I'm using ffmpeg-9999 and it fails because some deprecated function has been removed in latest versions of ffmpeg, see attached build log


Reproducible: Always

Steps to Reproduce:
1. set up portage to use ffmpeg-9999 and compile it
2. re-emerge media-plugins/gst-plugins-ffmpeg
3.
Actual Results:  

This is the relevant part of the build log

gstffmpegcodecmap.c: In function 'gst_ffmpeg_smpfmt_to_caps':
gstffmpegcodecmap.c:1870:10: error: 'SAMPLE_FMT_S16' undeclared (first use in this function)
gstffmpegcodecmap.c:1875:10: error: 'SAMPLE_FMT_S32' undeclared (first use in this function)
gstffmpegcodecmap.c:1880:10: error: 'SAMPLE_FMT_FLT' undeclared (first use in this function)
gstffmpegcodecmap.c:1885:10: error: 'SAMPLE_FMT_DBL' undeclared (first use in this function)
gstffmpegcodecmap.c: In function 'gst_ffmpeg_codectype_to_audio_caps':
gstffmpegcodecmap.c:1944:23: error: storage size of 'i' isn't known
gstffmpegcodecmap.c:1949:22: error: 'SAMPLE_FMT_DBL' undeclared (first use in this function)
gstffmpegcodecmap.c:1949:39: error: lvalue required as increment operand
gstffmpegcodecmap.c:1944:23: warning: unused variable 'i' [-Wunused-variable]
gstffmpegcodecmap.c: In function 'gst_ffmpeg_caps_to_smpfmt':
gstffmpegcodecmap.c:2052:33: error: 'SAMPLE_FMT_FLT' undeclared (first use in this function)
gstffmpegcodecmap.c:2052:31: error: incompatible types when assigning to type 'enum AVSampleFormat' from type 'const struct <anonymous> *'
gstffmpegcodecmap.c:2052:11: warning: statement with no effect [-Wunused-value]
gstffmpegcodecmap.c:2054:33: error: 'SAMPLE_FMT_DBL' undeclared (first use in this function)
gstffmpegcodecmap.c:2054:31: error: incompatible types when assigning to type 'enum AVSampleFormat' from type 'const struct <anonymous> *'
gstffmpegcodecmap.c:2054:11: warning: statement with no effect [-Wunused-value]
gstffmpegcodecmap.c:2065:33: error: 'SAMPLE_FMT_S16' undeclared (first use in this function)
gstffmpegcodecmap.c:2065:31: error: incompatible types when assigning to type 'enum AVSampleFormat' from type 'const struct <anonymous> *'
gstffmpegcodecmap.c:2065:11: warning: statement with no effect [-Wunused-value]
gstffmpegcodecmap.c:2067:33: error: 'SAMPLE_FMT_S32' undeclared (first use in this function)
gstffmpegcodecmap.c:2067:31: error: incompatible types when assigning to type 'enum AVSampleFormat' from type 'const struct <anonymous> *'
gstffmpegcodecmap.c:2067:11: warning: statement with no effect [-Wunused-value]
gstffmpegcodecmap.c: In function 'gst_ffmpeg_caps_with_codecid':
gstffmpegcodecmap.c:2483:9: warning: 'sub_id' is deprecated (declared at /usr/include/libavcodec/avcodec.h:1392) [-Wdeprecated-declarations]
make[3]: *** [libgstffmpeg_la-gstffmpegcodecmap.lo] Errore 1
make[3]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13-r2/work/gst-ffmpeg-0.10.13/ext/ffmpeg'
make[2]: *** [all-recursive] Errore 1
make[2]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13-r2/work/gst-ffmpeg-0.10.13/ext'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13-r2/work/gst-ffmpeg-0.10.13'
make: *** [all] Errore 2
 * ERROR: media-plugins/gst-plugins-ffmpeg-0.10.13-r2 failed (compile phase):


Expected Results:  
It compiles
Comment 1 Daniele Segato 2012-07-08 12:52:57 UTC
Created attachment 317576 [details]
the full build log
Comment 2 Ulenrich 2012-07-09 15:53:06 UTC
The build log shows the same errors as with
media-video/ffmpeg-0.11.1

Nicely you don't have to downgrade ffmpeg but
media-plugins/gst-plugins-ffmpeg-0.10.13-r1

-r2 introduced using the --system ffmpeg, which is 
why it fails. And gstreamer is going to be 
old-matured, see:
https://bugs.gentoo.org/show_bug.cgi?id=425514
Comment 3 Daniele Segato 2012-07-09 15:57:01 UTC
Ulenrich

I see, thank you.
I'll simply avoid upgrading for now (since I already have that version installed).

Is this then confirmed?

Is the bug in the ebuild or in the mainstream code?

Thank you.
Comment 4 Ulenrich 2012-07-09 17:40:56 UTC
@Daniele, probably solved by coming gstreamer-1.0
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-15 06:54:47 UTC

*** This bug has been marked as a duplicate of bug 423717 ***