Bug#739314: FTBFS with libav10

Moritz Muehlenhoff jmm at debian.org
Mon Feb 17 16:38:05 UTC 2014


Source: linphone
Severity: important

Hi,
your package fails to build from source against libav 10 (currently
packaged in experimental). 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

Cheers,
        Moritz

videofilters/videoenc.c: In function 'enc_h263_init':
videofilters/videoenc.c:226:13: error: 'CODEC_ID_H263P' undeclared (first use in this function)
  enc_init(f,CODEC_ID_H263P);
             ^
videofilters/videoenc.c:226:13: note: each undeclared identifier is reported only once for each function it appears in
videofilters/videoenc.c: In function 'enc_mpeg4_init':
videofilters/videoenc.c:230:13: error: 'CODEC_ID_MPEG4' undeclared (first use in this function)
  enc_init(f,CODEC_ID_MPEG4);
             ^
videofilters/videoenc.c: In function 'enc_snow_init':
videofilters/videoenc.c:234:13: error: 'CODEC_ID_SNOW' undeclared (first use in this function)
  enc_init(f,CODEC_ID_SNOW);
             ^
videofilters/videoenc.c: In function 'enc_mjpeg_init':
videofilters/videoenc.c:238:13: error: 'CODEC_ID_MJPEG' undeclared (first use in this function)
  enc_init(f,CODEC_ID_MJPEG);
             ^
videofilters/videoenc.c: In function 'prepare':
videofilters/videoenc.c:246:16: error: 'CODEC_ID_MJPEG' undeclared (first use in this function)
  if (s->codec==CODEC_ID_MJPEG)
                ^
videofilters/videoenc.c:272:16: error: 'CODEC_ID_SNOW' undeclared (first use in this function)
  if (s->codec!=CODEC_ID_SNOW && s->maxbr<max_br_vbv){
                ^
videofilters/videoenc.c: In function 'prepare_h263':
videofilters/videoenc.c:307:12: error: 'CODEC_ID_H263' undeclared (first use in this function)
   s->codec=CODEC_ID_H263;
videofilters/videoenc.c:316:12: error: 'CODEC_ID_H263P' undeclared (first use in this function)
   s->codec=CODEC_ID_H263P;
            ^
videofilters/videoenc.c: In function 'enc_preprocess':
videofilters/videoenc.c:334:16: error: 'CODEC_ID_H263P' undeclared (first use in this function)
  if (s->codec==CODEC_ID_H263P || s->codec==CODEC_ID_H263)
                ^
videofilters/videoenc.c:334:44: error: 'CODEC_ID_H263' undeclared (first use in this function)
  if (s->codec==CODEC_ID_H263P || s->codec==CODEC_ID_H263)
                                            ^
videofilters/videoenc.c:336:21: error: 'CODEC_ID_MPEG4' undeclared (first use in this function)
  else if (s->codec==CODEC_ID_MPEG4)
                     ^
videofilters/videoenc.c:338:21: error: 'CODEC_ID_SNOW' undeclared (first use in this function)
  else if (s->codec==CODEC_ID_SNOW){
                     ^
videofilters/videoenc.c:340:22: error: 'CODEC_ID_MJPEG' undeclared (first use in this function)
  }else if (s->codec==CODEC_ID_MJPEG){
                      ^
videofilters/videoenc.c: In function 'split_and_send':
videofilters/videoenc.c:727:16: error: 'CODEC_ID_MPEG4' undeclared (first use in this function)
  if (s->codec==CODEC_ID_MPEG4 || s->codec==CODEC_ID_SNOW)
                ^
videofilters/videoenc.c:727:44: error: 'CODEC_ID_SNOW' undeclared (first use in this function)
  if (s->codec==CODEC_ID_MPEG4 || s->codec==CODEC_ID_SNOW)
                                            ^
videofilters/videoenc.c:732:21: error: 'CODEC_ID_MJPEG' undeclared (first use in this function)
  else if (s->codec==CODEC_ID_MJPEG)
                     ^
videofilters/videoenc.c: In function 'process_frame':
videofilters/videoenc.c:777:2: warning: 'avcodec_get_frame_defaults' is deprecated (declared at
+/usr/include/libavcodec/avcodec.h:3120) [-Wdeprecated-declarations]
  avcodec_get_frame_defaults(&pict);
  ^
videofilters/videoenc.c:792:16: error: 'CODEC_ID_SNOW' undeclared (first use in this function)
  if (s->codec==CODEC_ID_SNOW){
                ^
videofilters/videoenc.c:800:2: warning: implicit declaration of function 'avcodec_encode_video'
+[-Wimplicit-function-declaration]
  error=avcodec_encode_video(c, (uint8_t*)comp_buf->b_wptr,comp_buf_sz, &pict);
  ^
videofilters/videoenc.c: In function 'enc_set_br':
videofilters/videoenc.c:840:24: error: 'CODEC_ID_SNOW' undeclared (first use in this function)
  bool_t snow=s->codec==CODEC_ID_SNOW;
                        ^
videofilters/videoenc.c:850:37: error: 'CODEC_ID_H263P' undeclared (first use in this function)
  if (s->maxbr>=1024000 && s->codec!=CODEC_ID_H263P){
                                     ^
videofilters/videoenc.c:877:70: error: 'CODEC_ID_H263' undeclared (first use in this function)
  }else if (s->maxbr>=170000 && s->codec!=CODEC_ID_H263P && s->codec!=CODEC_ID_H263){
                                                                      ^
videofilters/videoenc.c: In function '__register_ffmpeg_encoders_if_possible':
videofilters/videoenc.c:1088:27: error: 'CODEC_ID_MPEG4' undeclared (first use in this function)
  if (avcodec_find_encoder(CODEC_ID_MPEG4))
                           ^
videofilters/videoenc.c:1090:27: error: 'CODEC_ID_H263' undeclared (first use in this function)
  if (avcodec_find_encoder(CODEC_ID_H263)){
                           ^
videofilters/videoenc.c:1094:27: error: 'CODEC_ID_SNOW' undeclared (first use in this function)
  if (avcodec_find_encoder(CODEC_ID_SNOW))
                           ^
videofilters/videoenc.c:1096:27: error: 'CODEC_ID_MJPEG' undeclared (first use in this function)
  if (avcodec_find_encoder(CODEC_ID_MJPEG))
                           ^
make[6]: *** [videofilters/videoenc.lo] Error 1
make[6]: Leaving directory `/home/jmm/av10/linphone-3.6.1/mediastreamer2/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/jmm/av10/linphone-3.6.1/mediastreamer2/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/jmm/av10/linphone-3.6.1/mediastreamer2'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/jmm/av10/linphone-3.6.1/mediastreamer2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jmm/av10/linphone-3.6.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jmm/av10/linphone-3.6.1'
dh_auto_build: make -j1 returned exit code 2
make: *** [binary] Error 2



More information about the pkg-multimedia-maintainers mailing list