[...] In file included from idirectfbimageprovider_ffmpeg.c:34:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ idirectfbimageprovider_ffmpeg.c:262:19: error: implicit declaration of function 'avcodec_alloc_frame' [-Werror=implicit-function-declaration] av_picture = avcodec_alloc_frame(); ^~~~~~~~~~~~~~~~~~~ idirectfbimageprovider_ffmpeg.c:262:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] av_picture = avcodec_alloc_frame(); ^ idirectfbimageprovider_ffmpeg.c:273:78: error: 'PIX_FMT_BGRA' undeclared (first use in this function) av_codec_ctx->width, av_codec_ctx->height, PIX_FMT_BGRA, ^~~~~~~~~~~~ idirectfbimageprovider_ffmpeg.c:273:78: note: each undeclared identifier is reported only once for each function it appears in idirectfbimageprovider_ffmpeg.c:308:11: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] av_ret = avcodec_decode_video2(av_codec_ctx, av_picture, &av_got_picture, &av_pkt); ^~~~~~ In file included from idirectfbimageprovider_ffmpeg.c:33:0: /usr/include/libavcodec/avcodec.h:4901:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ idirectfbimageprovider_ffmpeg.c:230:30: warning: variable 'av_ret' set but not used [-Wunused-but-set-variable] u32 av_ret; ^~~~~~ cc1: some warnings being treated as errors make[4]: *** [Makefile:936: idirectfbimageprovider_ffmpeg.lo] Error 1 make[4]: Leaving directory '/tmp/B.2xSJDf/BUILD/DirectFB-1.7.6/interfaces/IDirectFBImageProvider' make[3]: *** [Makefile:983: all-recursive] Error 1 make[3]: Leaving directory '/tmp/B.2xSJDf/BUILD/DirectFB-1.7.6/interfaces/IDirectFBImageProvider' make[2]: *** [Makefile:519: all-recursive] Error 1 make[2]: Leaving directory '/tmp/B.2xSJDf/BUILD/DirectFB-1.7.6/interfaces' make[1]: *** [Makefile:701: all-recursive] Error 1 make[1]: Leaving directory '/tmp/B.2xSJDf/BUILD/DirectFB-1.7.6' make: *** [Makefile:569: all] Error 2 error: Bad exit status from /tmp/B.2xSJDf/BUILD/tmp/rpm-tmp.61994 (%build) RPM build errors: Bad exit status from /tmp/B.2xSJDf/BUILD/tmp/rpm-tmp.61994 (%build) ended at: Thu Oct 12 15:27:39 2017, done in 0:05:16.800060 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.2xSJDf/BUILD + rm -rf /tmp/B.2xSJDf/tmp /tmp/B.2xSJDf/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.2xSJDf Begin-TLD-Builder-Info Build-Time: user:277.42s sys:31.24s real:328.07s (faults io:1 non-io:20472640) End-TLD-Builder-Info