Bug#720808: gst-libav1.0: FTBFS with libav9: gstav.h:62:1: error: unknown type name 'URLProtocol'

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


Source: gst-libav1.0
Version: 1.0.9-1
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../..     -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -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 -Wno-error -c -o libgstlibav_la-gstav.lo `test -f 'gstav.c' || echo './'`gstav.c
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -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 -Wno-error -c gstav.c  -fPIC -DPIC -o .libs/libgstlibav_la-gstav.o
> In file included from gstav.c:34:0:
> gstav.h:62:1: error: unknown type name 'URLProtocol'
>  extern URLProtocol gstreamer_protocol;
>  ^
> gstav.h:63:1: error: unknown type name 'URLProtocol'
>  extern URLProtocol gstpipe_protocol;
>  ^
> gstav.c: In function 'gst_ffmpeg_avcodec_open':
> gstav.c:47: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);
>    ^
> gstav.c:48:3: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration]
>    ret = avcodec_open (avctx, codec);
>    ^
> gstav.c:48:3: warning: nested extern declaration of 'avcodec_open' [-Wnested-externs]
> gstav.c:49: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);
>    ^
> gstav.c: In function 'gst_ffmpeg_avcodec_close':
> gstav.c:59: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);
>    ^
> gstav.c:61: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);
>    ^
> gstav.c: In function 'gst_ffmpeg_av_find_stream_info':
> gstav.c:71: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);
>    ^
> gstav.c:72:3: warning: implicit declaration of function 'av_find_stream_info' [-Wimplicit-function-declaration]
>    ret = av_find_stream_info (ic);
>    ^
> gstav.c:72:3: warning: nested extern declaration of 'av_find_stream_info' [-Wnested-externs]
> gstav.c:73: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);
>    ^
> gstav.c: In function 'plugin_init':
> gstav.c:159:3: warning: implicit declaration of function 'av_register_protocol2' [-Wimplicit-function-declaration]
>    av_register_protocol2 (&gstreamer_protocol, sizeof (URLProtocol));
>    ^
> gstav.c:159:3: warning: nested extern declaration of 'av_register_protocol2' [-Wnested-externs]
> gstav.c:159:55: error: 'URLProtocol' undeclared (first use in this function)
>    av_register_protocol2 (&gstreamer_protocol, sizeof (URLProtocol));
>                                                        ^
> gstav.c:159:55: note: each undeclared identifier is reported only once for each function it appears in
> make[4]: *** [libgstlibav_la-gstav.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/08/25/gst-libav1.0_1.0.9-1_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