Bug#739337: FTBFS with libav10

Moritz Muehlenhoff jmm at debian.org
Mon Feb 17 18:55:55 UTC 2014


Package: mplayer2
Version: 2.0-701-gd4c5b7f-2
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


-I/usr/include/bs2b           -c -o screenshot.o screenshot.c
screenshot.c: In function 'destroy_ctx':
screenshot.c:60:5: warning: 'avcodec_free_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3135) [-Wdeprecated-declarations]
     avcodec_free_frame(&ctx->pic);
     ^
screenshot.c: In function 'screenshot_get_ctx':
screenshot.c:72:9: warning: 'avcodec_alloc_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations]
         ctx->pic = avcodec_alloc_frame();
         ^
screenshot.c: In function 'write_png':
screenshot.c:86:54: error: 'CODEC_ID_PNG' undeclared (first use in this function)
     struct AVCodec *png_codec = avcodec_find_encoder(CODEC_ID_PNG);
                                                      ^
screenshot.c:86:54: note: each undeclared identifier is reported only once for each function it appears in
screenshot.c:113:5: warning: 'avcodec_get_frame_defaults' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3120) [-Wdeprecated-declarations]
     avcodec_get_frame_defaults(pic);
     ^
screenshot.c:118:5: error: implicit declaration of function 'avcodec_encode_video' [-Werror=implicit-function-declaration]
     int size = avcodec_encode_video(avctx, outbuffer, outbuffer_size, pic);
     ^
cc1: some warnings being treated as errors
make[2]: *** [screenshot.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/jmm/av10/mplayer2-2.0-701-gd4c5b7f'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/home/jmm/av10/mplayer2-2.0-701-gd4c5b7f'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list