Bug#720796: gstreamer0.10-ffmpeg: FTBFS with libav9: gstffmpeg.h:63:1: error: unknown type name 'URLProtocol'

David Suárez david.sephirot at gmail.com
Sun Aug 25 13:08:25 UTC 2013


Source: gstreamer0.10-ffmpeg
Version: 0.10.13-5
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130825 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Related to current libav9 transition (see #706798).

Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CC --tag=disable-static  --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -D_FORTIFY_SOURCE=2  -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2   -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2    -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs       -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-error -c -o libgstffmpeg_la-gstffmpeg.lo `test -f 'gstffmpeg.c' || echo './'`gstffmpeg.c
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wno-error -c gstffmpeg.c  -fPIC -DPIC -o .libs/libgstffmpeg_la-gstffmpeg.o
> In file included from gstffmpeg.c:38:0:
> gstffmpeg.h:63:1: error: unknown type name 'URLProtocol'
>  extern URLProtocol gstreamer_protocol;
>  ^
> gstffmpeg.h:64:1: error: unknown type name 'URLProtocol'
>  extern URLProtocol gstpipe_protocol;
>  ^
> In file included from gstffmpeg.c:39:0:
> gstffmpegutils.h: In function 'gst_ffmpeg_time_ff_to_gst':
> gstffmpegutils.h:59:5: warning: implicit declaration of function 'av_rescale_q' [-Wimplicit-function-declaration]
>      out = av_rescale_q (pts, base, bq);
>      ^
> gstffmpegutils.h:59:5: warning: nested extern declaration of 'av_rescale_q' [-Wnested-externs]
> gstffmpegutils.h: At top level:
> gstffmpegutils.h:90:26: warning: 'enum SampleFormat' declared inside parameter list [enabled by default]
>  av_smp_format_depth(enum SampleFormat smp_fmt);
>                           ^
> gstffmpegutils.h:90:26: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
> gstffmpeg.c: In function 'gst_ffmpeg_avcodec_open':
> gstffmpeg.c:51:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
>    g_static_mutex_lock (&gst_avcodec_mutex);
>    ^
> gstffmpeg.c:52:3: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration]
>    ret = avcodec_open (avctx, codec);
>    ^
> gstffmpeg.c:52:3: warning: nested extern declaration of 'avcodec_open' [-Wnested-externs]
> gstffmpeg.c:53:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
>    g_static_mutex_unlock (&gst_avcodec_mutex);
>    ^
> gstffmpeg.c: In function 'gst_ffmpeg_avcodec_close':
> gstffmpeg.c:63:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
>    g_static_mutex_lock (&gst_avcodec_mutex);
>    ^
> gstffmpeg.c:65:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
>    g_static_mutex_unlock (&gst_avcodec_mutex);
>    ^
> gstffmpeg.c: In function 'gst_ffmpeg_av_find_stream_info':
> gstffmpeg.c:75:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
>    g_static_mutex_lock (&gst_avcodec_mutex);
>    ^
> gstffmpeg.c:76:3: warning: implicit declaration of function 'av_find_stream_info' [-Wimplicit-function-declaration]
>    ret = av_find_stream_info (ic);
>    ^
> gstffmpeg.c:76:3: warning: nested extern declaration of 'av_find_stream_info' [-Wnested-externs]
> gstffmpeg.c:77:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
>    g_static_mutex_unlock (&gst_avcodec_mutex);
>    ^
> gstffmpeg.c: In function 'plugin_init':
> gstffmpeg.c:162:3: warning: implicit declaration of function 'av_register_protocol2' [-Wimplicit-function-declaration]
>    av_register_protocol2 (&gstreamer_protocol, sizeof (URLProtocol));
>    ^
> gstffmpeg.c:162:3: warning: nested extern declaration of 'av_register_protocol2' [-Wnested-externs]
> gstffmpeg.c:162:55: error: 'URLProtocol' undeclared (first use in this function)
>    av_register_protocol2 (&gstreamer_protocol, sizeof (URLProtocol));
>                                                        ^
> gstffmpeg.c:162:55: note: each undeclared identifier is reported only once for each function it appears in
> make[4]: *** [libgstffmpeg_la-gstffmpeg.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/08/25/gstreamer0.10-ffmpeg_0.10.13-5_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-gstreamer-maintainers mailing list