Source: motion
Version: 3.2.12-4
Severity: important
Tags: sid jessie
User: j...@debian.org
Usertags: libav10
Control: block 739079 by -11

motion fails to build against libav 10 (currently available in experimental):
| 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
| picture.c:121:2: warning: #warning using JPEG_LIB_VERSION >= 70 [-Wcpp]
|  #warning using JPEG_LIB_VERSION >= 70
|   ^
| picture.c:240:2: warning: #warning using JPEG_LIB_VERSION >= 70 [-Wcpp]
|  #warning using JPEG_LIB_VERSION >= 70
|   ^
| picture.c: In function 'put_ppm_bgr24_file':
| picture.c:332:9: warning: variable 'warningkiller' set but not used 
[-Wunused-but-set-variable]
|      int warningkiller;
|          ^
| ffmpeg.c:86:10: warning: #warning 
************************************************** [-Wcpp]
|  #        warning **************************************************
|           ^
| ffmpeg.c:87: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:88: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:89:10: warning: #warning non-standard framerate. MPEG1 will be 
disabled for [-Wcpp]
|  #        warning non-standard framerate. MPEG1 will be disabled for
|           ^
| ffmpeg.c:90: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:91: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:92:10: warning: #warning and quality. MPEG1 is always used for 
timelapse. [-Wcpp]
|  #        warning and quality. MPEG1 is always used for timelapse.
|           ^
| ffmpeg.c:93:10: warning: #warning Please read the Motion Guide for more 
information. [-Wcpp]
|  #        warning Please read the Motion Guide for more information.
|           ^
| ffmpeg.c:94:10: warning: #warning Note that this is not an error message! 
[-Wcpp]
|  #        warning Note that this is not an error message!
|           ^
| ffmpeg.c:95:10: warning: #warning 
************************************************** [-Wcpp]
|  #        warning **************************************************
|           ^
| ffmpeg.c:301:5: warning: #warning av_register_protocolXXX missing [-Wcpp]
|  #   warning av_register_protocolXXX missing
|      ^
| ffmpeg.c:247:5: warning: initialization from incompatible pointer type 
[enabled by default]
|      file_read,
|      ^
| ffmpeg.c:247:5: warning: (near initialization for 'file_protocol.url_open2') 
[enabled by default]
| ffmpeg.c:249:5: warning: initialization from incompatible pointer type 
[enabled by default]
|      file_seek,
|      ^
| ffmpeg.c:249:5: warning: (near initialization for 'file_protocol.url_write') 
[enabled by default]
| ffmpeg.c:250:5: warning: initialization from incompatible pointer type 
[enabled by default]
|      file_close,
|      ^
| ffmpeg.c:250:5: warning: (near initialization for 'file_protocol.url_seek') 
[enabled by default]
| ffmpeg.c: In function 'get_oformat':
| ffmpeg.c:358:31: error: 'CODEC_ID_MSMPEG4V2' undeclared (first use in this 
function)
|              of->video_codec = CODEC_ID_MSMPEG4V2;
|                                ^
| ffmpeg.c:358:31: note: each undeclared identifier is reported only once for 
each function it appears in
| ffmpeg.c:374:27: error: 'CODEC_ID_FLV1' undeclared (first use in this 
function)
|          of->video_codec = CODEC_ID_FLV1;
|                            ^
| ffmpeg.c:385:31: error: 'CODEC_ID_FFV1' undeclared (first use in this 
function)
|              of->video_codec = CODEC_ID_FFV1;
|                                ^
| ffmpeg.c: In function 'ffmpeg_open':
| ffmpeg.c:465:45: error: 'CODEC_ID_NONE' undeclared (first use in this 
function)
|      if (ffmpeg->oc->oformat->video_codec != CODEC_ID_NONE) {
|                                              ^
| ffmpeg.c:486:31: error: 'CODEC_ID_MPEG1VIDEO' undeclared (first use in this 
function)
|      is_mpeg1      = c->codec_id == CODEC_ID_MPEG1VIDEO;
|                                ^
| ffmpeg.c:566:5: warning: 'avcodec_alloc_frame' is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations]
|      ffmpeg->picture = avcodec_alloc_frame();
|      ^
| ffmpeg.c: In function 'ffmpeg_put_frame':
| ffmpeg.c:761:9: warning: implicit declaration of function 
'avcodec_encode_video' [-Wimplicit-function-declaration]
|          out_size = avcodec_encode_video(AVSTREAM_CODEC_PTR(ffmpeg->video_st),
|          ^
| ffmpeg.c: In function 'ffmpeg_prepare_frame':
| ffmpeg.c:808:5: warning: 'avcodec_alloc_frame' is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations]
|      picture = avcodec_alloc_frame();
|      ^
| ffmpeg.c: In function 'ffmpeg_deinterlace':
| ffmpeg.c:848:5: warning: 'avcodec_alloc_frame' is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3114) [-Wdeprecated-declarations]
|      picture = avcodec_alloc_frame();
|      ^
| ffmpeg.c:862:5: warning: 'avpicture_deinterlace' is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:3992) [-Wdeprecated-declarations]
|      avpicture_deinterlace((AVPicture *)picture, (AVPicture *)picture, 
PIX_FMT_YUV420P, width, height);
|      ^
| make[1]: *** [ffmpeg.o] Error 1

The full build log is available at
http://people.debian.org/~sramacher/logs/libav10/motion_3.2.12-4_amd64-20140312-1545.log

This bug will become release-critical at some point when the libav10 transition
starts. Migration documentation can be found at
https://wiki.libav.org/Migration/10.

Regards
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature

Reply via email to