Source: motion
Version: 3.2.12-3.4
Severity: serious
Tags: jessie sid
User: [email protected]
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):
> x86_64-linux-gnu-gcc -Wall -g -O2 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include 
> -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql 
> -I/usr/include/postgresql -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" 
> -DHAVE_BSWAP    -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/etc/motion\"    -c 
> -o ffmpeg.o ffmpeg.c
> ffmpeg.c:26:10: warning: #warning 
> ************************************************** [-Wcpp]
>  #        warning **************************************************
>           ^
> ffmpeg.c:27:10: warning: #warning Your version of FFmpeg is newer than 
> version 0.4.8 [-Wcpp]
>  #        warning Your version of FFmpeg is newer than version 0.4.8
>           ^
> ffmpeg.c:28:10: warning: #warning Newer versions of ffmpeg do not support 
> MPEG1 with [-Wcpp]
>  #        warning Newer versions of ffmpeg do not support MPEG1 with
>           ^
> ffmpeg.c:29:10: warning: #warning non-standard framerate. MPEG1 will be 
> disabled for [-Wcpp]
>  #        warning non-standard framerate. MPEG1 will be disabled for
>           ^
> ffmpeg.c:30:10: warning: #warning normal video output. You can still use 
> mpeg4 and [-Wcpp]
>  #        warning normal video output. You can still use mpeg4 and
>           ^
> ffmpeg.c:31:10: warning: #warning and mpeg4ms which are both better in terms 
> of size [-Wcpp]
>  #        warning and mpeg4ms which are both better in terms of size
>           ^
> ffmpeg.c:32:10: warning: #warning and quality. MPEG1 is always used for 
> timelapse. [-Wcpp]
>  #        warning and quality. MPEG1 is always used for timelapse.
>           ^
> ffmpeg.c:33:10: warning: #warning Please read the Motion Guide for more 
> information. [-Wcpp]
>  #        warning Please read the Motion Guide for more information.
>           ^
> ffmpeg.c:34:10: warning: #warning Note that this is not an error message! 
> [-Wcpp]
>  #        warning Note that this is not an error message!
>           ^
> ffmpeg.c:35:10: warning: #warning 
> ************************************************** [-Wcpp]
>  #        warning **************************************************
>           ^
> ffmpeg.c:81:29: error: unknown type name 'URLContext'
>  static int file_open_append(URLContext *h, const char *filename, int flags)
>                              ^
> ffmpeg.c:117:1: error: unknown type name 'URLProtocol'
>  URLProtocol mpeg1_file_protocol = {
>  ^
> ffmpeg.c:118:5: error: field name not in record or union initializer
>      .name     = APPEND_PROTO,
>      ^
> ffmpeg.c:118:5: error: (near initialization for 'mpeg1_file_protocol')
> ffmpeg.c:118:5: warning: initialization makes integer from pointer without a 
> cast [enabled by default]
> ffmpeg.c:118:5: warning: (near initialization for 'mpeg1_file_protocol') 
> [enabled by default]
> ffmpeg.c:118:5: error: initializer element is not computable at load time
> ffmpeg.c:118:5: error: (near initialization for 'mpeg1_file_protocol')
> ffmpeg.c:119:5: error: field name not in record or union initializer
>      .url_open = file_open_append
>      ^
> ffmpeg.c:119:5: error: (near initialization for 'mpeg1_file_protocol')
> ffmpeg.c:119:17: error: 'file_open_append' undeclared here (not in a function)
>      .url_open = file_open_append
>                  ^
> ffmpeg.c:120:1: warning: excess elements in scalar initializer [enabled by 
> default]
>  };
>  ^
> ffmpeg.c:120:1: warning: (near initialization for 'mpeg1_file_protocol') 
> [enabled by default]
> ffmpeg.c:136:22: error: unknown type name 'URLContext'
>  static int file_open(URLContext *h, const char *filename, int flags)
>                       ^
> ffmpeg.c:160:22: error: unknown type name 'URLContext'
>  static int file_read(URLContext *h, unsigned char *buf, int size)
>                       ^
> ffmpeg.c:166:23: error: unknown type name 'URLContext'
>  static int file_write(URLContext *h, unsigned char *buf, int size)
>                        ^
> ffmpeg.c:172:26: error: unknown type name 'URLContext'
>  static int64_t file_seek(URLContext *h, int64_t pos, int whence)
>                           ^
> ffmpeg.c:178:23: error: unknown type name 'URLContext'
>  static int file_close(URLContext *h)
>                        ^
> ffmpeg.c:184:1: error: unknown type name 'URLProtocol'
>  URLProtocol file_protocol = {
>  ^
> ffmpeg.c:185:5: warning: initialization makes integer from pointer without a 
> cast [enabled by default]
>      "file",
>      ^
> ffmpeg.c:185:5: warning: (near initialization for 'file_protocol') [enabled 
> by default]
> ffmpeg.c:185:5: error: initializer element is not computable at load time
> ffmpeg.c:185:5: error: (near initialization for 'file_protocol')
> ffmpeg.c:186:5: error: 'file_open' undeclared here (not in a function)
>      file_open,
>      ^
> ffmpeg.c:186:5: warning: excess elements in scalar initializer [enabled by 
> default]
> ffmpeg.c:186:5: warning: (near initialization for 'file_protocol') [enabled 
> by default]
> ffmpeg.c:187:5: error: 'file_read' undeclared here (not in a function)
>      file_read,
>      ^
> ffmpeg.c:187:5: warning: excess elements in scalar initializer [enabled by 
> default]
> ffmpeg.c:187:5: warning: (near initialization for 'file_protocol') [enabled 
> by default]
> ffmpeg.c:188:5: error: 'file_write' undeclared here (not in a function)
>      file_write,
>      ^
> ffmpeg.c:188:5: warning: excess elements in scalar initializer [enabled by 
> default]
> ffmpeg.c:188:5: warning: (near initialization for 'file_protocol') [enabled 
> by default]
> ffmpeg.c:189:5: error: 'file_seek' undeclared here (not in a function)
>      file_seek,
>      ^
> ffmpeg.c:189:5: warning: excess elements in scalar initializer [enabled by 
> default]
> ffmpeg.c:189:5: warning: (near initialization for 'file_protocol') [enabled 
> by default]
> ffmpeg.c:190:5: error: 'file_close' undeclared here (not in a function)
>      file_close,
>      ^
> ffmpeg.c:190:5: warning: excess elements in scalar initializer [enabled by 
> default]
> ffmpeg.c:190:5: warning: (near initialization for 'file_protocol') [enabled 
> by default]
> ffmpeg.c:192:5: warning: excess elements in scalar initializer [enabled by 
> default]
>      NULL,
>      ^
> ffmpeg.c:192:5: warning: (near initialization for 'file_protocol') [enabled 
> by default]
> ffmpeg.c:193:5: warning: excess elements in scalar initializer [enabled by 
> default]
>      NULL,
>      ^
> ffmpeg.c:193:5: warning: (near initialization for 'file_protocol') [enabled 
> by default]
> ffmpeg.c:194:5: warning: excess elements in scalar initializer [enabled by 
> default]
>      NULL,
>      ^
> ffmpeg.c:194:5: warning: (near initialization for 'file_protocol') [enabled 
> by default]
> ffmpeg.c: In function 'mpeg1_write_trailer':
> ffmpeg.c:207:5: warning: implicit declaration of function 'put_buffer' 
> [-Wimplicit-function-declaration]
>      put_buffer(s->pb, mpeg1_trailer, 4);
>      ^
> ffmpeg.c:208:5: warning: implicit declaration of function 'put_flush_packet' 
> [-Wimplicit-function-declaration]
>      put_flush_packet(s->pb);    
>      ^
> ffmpeg.c: In function 'ffmpeg_init':
> ffmpeg.c:230:24: error: request for member 'url_read' in something not a 
> structure or union
>      mpeg1_file_protocol.url_read  = file_protocol.url_read;
>                         ^
> ffmpeg.c:230:50: error: request for member 'url_read' in something not a 
> structure or union
>      mpeg1_file_protocol.url_read  = file_protocol.url_read;
>                                                   ^
> ffmpeg.c:231:24: error: request for member 'url_write' in something not a 
> structure or union
>      mpeg1_file_protocol.url_write = file_protocol.url_write;
>                         ^
> ffmpeg.c:231:50: error: request for member 'url_write' in something not a 
> structure or union
>      mpeg1_file_protocol.url_write = file_protocol.url_write;
>                                                   ^
> ffmpeg.c:232:24: error: request for member 'url_seek' in something not a 
> structure or union
>      mpeg1_file_protocol.url_seek  = file_protocol.url_seek;
>                         ^
> ffmpeg.c:232:50: error: request for member 'url_seek' in something not a 
> structure or union
>      mpeg1_file_protocol.url_seek  = file_protocol.url_seek;
>                                                   ^
> ffmpeg.c:233:24: error: request for member 'url_close' in something not a 
> structure or union
>      mpeg1_file_protocol.url_close = file_protocol.url_close;
>                         ^
> ffmpeg.c:233:50: error: request for member 'url_close' in something not a 
> structure or union
>      mpeg1_file_protocol.url_close = file_protocol.url_close;
>                                                   ^
> ffmpeg.c:241:5: warning: #warning av_register_protocolXXX missing [-Wcpp]
>  #   warning av_register_protocolXXX missing
>      ^
> ffmpeg.c: In function 'ffmpeg_open':
> ffmpeg.c:406:9: warning: implicit declaration of function 'av_new_stream' 
> [-Wimplicit-function-declaration]
>          ffmpeg->video_st = av_new_stream(ffmpeg->oc, 0);
>          ^
> ffmpeg.c:406:26: warning: assignment makes pointer from integer without a 
> cast [enabled by default]
>          ffmpeg->video_st = av_new_stream(ffmpeg->oc, 0);
>                           ^
> ffmpeg.c:465:5: warning: implicit declaration of function 'av_set_parameters' 
> [-Wimplicit-function-declaration]
>      if (av_set_parameters(ffmpeg->oc, NULL) < 0) {
>      ^
> ffmpeg.c:491:5: warning: implicit declaration of function 'avcodec_open' 
> [-Wimplicit-function-declaration]
>      if (avcodec_open(c, codec) < 0) {
>      ^
> ffmpeg.c:546:9: warning: implicit declaration of function 'url_fopen' 
> [-Wimplicit-function-declaration]
>          if (url_fopen(&ffmpeg->oc->pb, file_proto, URL_WRONLY) < 0) {
>          ^
> ffmpeg.c:546:52: error: 'URL_WRONLY' undeclared (first use in this function)
>          if (url_fopen(&ffmpeg->oc->pb, file_proto, URL_WRONLY) < 0) {
>                                                     ^
> ffmpeg.c:546:52: note: each undeclared identifier is reported only once for 
> each function it appears in
> ffmpeg.c:577:5: warning: implicit declaration of function 'av_write_header' 
> [-Wimplicit-function-declaration]
>      av_write_header(ffmpeg->oc);
>      ^
> ffmpeg.c: In function 'ffmpeg_close':
> ffmpeg.c:644:9: warning: implicit declaration of function 'url_fclose' 
> [-Wimplicit-function-declaration]
>          url_fclose(ffmpeg->oc->pb);
>          ^
> ffmpeg.c: In function 'ffmpeg_put_frame':
> ffmpeg.c:708:9: warning: 'avcodec_encode_video' is deprecated (declared at 
> /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations]
>          out_size = avcodec_encode_video(AVSTREAM_CODEC_PTR(ffmpeg->video_st),
>          ^
> make[1]: *** [ffmpeg.o] Error 1

The full build log is available from:
   
http://aws-logs.debian.net/ftbfs-logs/2013/08/25/motion_3.2.12-3.4_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.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to