Source: freerdp 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 [ 79%] Building C object channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/tsmf_ffmpeg.c.o cd /home/jmm/av10/freerdp-1.0.2/obj-x86_64-linux-gnu/channels/drdynvc/tsmf/ffmpeg && /usr/bin/cc -Dtsmf_ffmpeg_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -fPIC -I/home/jmm/av10/freerdp-1.0.2/obj-x86_64-linux-gnu -I/home/jmm/av10/freerdp-1.0.2/include -I/home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/.. -I/home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/.. -I/usr/include/libavcodec -I/usr/include/libavutil -o CMakeFiles/tsmf_ffmpeg.dir/tsmf_ffmpeg.c.o -c /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:42:15: error: field 'codec_id' has incomplete type enum CodecID codec_id; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 'tsmf_ffmpeg_init_context': /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:57:2: warning: implicit declaration of function 'avcodec_alloc_context' [-Wimplicit-function-declaration] mdecoder->codec_context = avcodec_alloc_context(); ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:57:26: warning: assignment makes pointer from integer without a cast [enabled by default] mdecoder->codec_context = avcodec_alloc_context(); ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 'tsmf_ffmpeg_init_video_stream': /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:77:2: warning: 'avcodec_alloc_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations] mdecoder->frame = avcodec_alloc_frame(); ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 'tsmf_ffmpeg_init_audio_stream': /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:92:25: error: 'AVCodecContext' has no member named 'dsp_ mdecoder->codec_context->dsp_mask = AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_MMX2; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 'tsmf_ffmpeg_prepare': /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:177:2: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration] if (avcodec_open(mdecoder->codec_context, mdecoder->codec) < 0) ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 'tsmf_ffmpeg_set_format': /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:206:25: error: 'CODEC_ID_VC1' undeclared (first use in this function) mdecoder->codec_id = CODEC_ID_VC1; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:206:25: note: each undeclared identifier is reported only once for each function it appears in /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:209:25: error: 'CODEC_ID_WMAV2' undeclared (first use in this function) mdecoder->codec_id = CODEC_ID_WMAV2; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:212:25: error: 'CODEC_ID_WMAPRO' undeclared (first use i /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:215:25: error: 'CODEC_ID_MP3' undeclared (first use in this function) mdecoder->codec_id = CODEC_ID_MP3; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:218:25: error: 'CODEC_ID_MP2' undeclared (first use in this function) mdecoder->codec_id = CODEC_ID_MP2; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:221:25: error: 'CODEC_ID_MPEG2VIDEO' undeclared (first use in this function) mdecoder->codec_id = CODEC_ID_MPEG2VIDEO; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:224:25: error: 'CODEC_ID_WMV3' undeclared (first use in this function) mdecoder->codec_id = CODEC_ID_WMV3; /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:227:25: error: 'CODEC_ID_AAC' undeclared (first use in this function) mdecoder->codec_id = CODEC_ID_AAC; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:239:25: error: 'CODEC_ID_H264' undeclared (first use in this function) mdecoder->codec_id = CODEC_ID_H264; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:242:25: error: 'CODEC_ID_AC3' undeclared (first use in this function) mdecoder->codec_id = CODEC_ID_AC3; ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 'tsmf_ffmpeg_decode_video': /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:302:3: warning: 'avcodec_alloc_frame' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3110) [-Wdeprecated-declarations] frame = avcodec_alloc_frame(); ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 'tsmf_ffmpeg_decode_audio': /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:340:32: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function) mdecoder->decoded_size_max = AVCODEC_MAX_AUDIO_FRAME_SIZE + 16; /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:375:4: warning: implicit declaration of function 'avcodec_decode_audio3' [-Wimplicit-function-declaration] len = avcodec_decode_audio3(mdecoder->codec_context, ^ /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c: In function 'TSMFDecoderEntry': /home/jmm/av10/freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c:502:3: warning: implicit declaration of function 'avcodec_init' [-Wimplicit-function-declaration] avcodec_init(); ^ make[3]: *** [channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/tsmf_ffmpeg.c.o] Error 1 make[3]: Leaving directory `/home/jmm/av10/freerdp-1.0.2/obj-x86_64-linux-gnu' make[2]: *** [channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/all] Error 2 make[2]: Leaving directory `/home/jmm/av10/freerdp-1.0.2/obj-x86_64-linux-gnu' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/jmm/av10/freerdp-1.0.2/obj-x86_64-linux-gnu' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 _______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers