D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ffmpeg2theora-0.30-4.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XSTblA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ffmpeg2theora-0.30 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/ffmpeg2theora-0.30.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ffmpeg2theora-0.30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/ffmpeg2theora-0.29-link.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/ffmpeg2theora-0.30-scons3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XjAbKV + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ffmpeg2theora-0.30 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/scons -j8 prefix=/usr mandir=/usr/share/man 'APPEND_LINKFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' 'APPEND_CCFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' scons: Reading SConscript files ... Checking for pkg-config... (cached) yes Checking for ogg >= 1.1... (cached) yes Checking for vorbis... (cached) yes Checking for vorbisenc... (cached) yes Checking for theoraenc >= 1.1.0... (cached) yes Checking for ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1.0... (cached) yes Checking for libswresample... (cached) yes Checking for libavdevice libavformat libavfilter libavcodec >= 52.30.0 libpostproc libswscale libswresample libavutil libswresample... (cached) yes Checking for C header file libavformat/framehook.h... no Checking for oggkate... (cached) yes Checking for C header file iconv.h... yes Checking for C library iconv... no scons: done reading SConscript files. scons: Building targets ... gcc -o src/theorautils.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DUSE_SWRESAMPLE -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. src/theorautils.c gcc -o src/subtitles.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DUSE_SWRESAMPLE -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. src/subtitles.c gcc -o src/iso639.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DUSE_SWRESAMPLE -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. src/iso639.c gcc -o src/index.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DUSE_SWRESAMPLE -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. src/index.c gcc -o src/ffmpeg2theora.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DUSE_SWRESAMPLE -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. src/ffmpeg2theora.c gcc -o src/avinfo.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DUSE_SWRESAMPLE -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. src/avinfo.c src/subtitles.c: In function 'add_image_subtitle_for_stream': src/subtitles.c:606:7: warning: 'pict' is deprecated [-Wdeprecated-declarations] const uint32_t *pal = (const uint32_t*)sr->pict.data[1]; ^~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/subtitles.c:32: /usr/include/libavcodec/avcodec.h:4105:15: note: declared here AVPicture pict; ^~~~ src/subtitles.c:606:7: warning: 'data' is deprecated [-Wdeprecated-declarations] const uint32_t *pal = (const uint32_t*)sr->pict.data[1]; ^~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/subtitles.c:32: /usr/include/libavcodec/avcodec.h:4063:14: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^~~~ src/subtitles.c:628:7: warning: 'pict' is deprecated [-Wdeprecated-declarations] memcpy(subtitle->kb.pixels,sr->pict.data[0],sr->w*sr->h); ^~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/subtitles.c:32: /usr/include/libavcodec/avcodec.h:4105:15: note: declared here AVPicture pict; ^~~~ src/subtitles.c:628:7: warning: 'data' is deprecated [-Wdeprecated-declarations] memcpy(subtitle->kb.pixels,sr->pict.data[0],sr->w*sr->h); ^~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/subtitles.c:32: /usr/include/libavcodec/avcodec.h:4063:14: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^~~~ src/ffmpeg2theora.c: In function 'frame_alloc': src/ffmpeg2theora.c:155:5: warning: 'avpicture_get_size' is deprecated [-Wdeprecated-declarations] size = avpicture_get_size (pix_fmt, width, height); ^~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:5653:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^~~~~~~~~~~~~~~~~~ src/ffmpeg2theora.c:161:5: warning: 'avpicture_fill' is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture *) picture, picture_buf, pix_fmt, width, height); ^~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:5638:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^~~~~~~~~~~~~~ src/ffmpeg2theora.c: In function 'frame_dealloc': src/ffmpeg2theora.c:170:9: warning: 'avpicture_free' is deprecated [-Wdeprecated-declarations] avpicture_free((AVPicture*)frame); ^~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:5632:6: note: declared here void avpicture_free(AVPicture *picture); ^~~~~~~~~~~~~~ src/ffmpeg2theora.c: In function 'find_category_for_subtitle_stream': src/ffmpeg2theora.c:356:3: warning: 'codec' is deprecated [-Wdeprecated-declarations] AVCodecContext *enc = this->context->streams[idx]->codec; ^~~~~~~~~~~~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/ffmpeg2theora.c: In function 'process_filter_graph': src/ffmpeg2theora.c:576:5: warning: 'data' is deprecated [-Wdeprecated-declarations] memcpy(this->filter_frame->data, src->data, sizeof(src->data)); ^~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:4063:14: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^~~~ src/ffmpeg2theora.c:576:5: warning: 'data' is deprecated [-Wdeprecated-declarations] memcpy(this->filter_frame->data, src->data, sizeof(src->data)); ^~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:4063:14: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^~~~ src/ffmpeg2theora.c:577:5: warning: 'linesize' is deprecated [-Wdeprecated-declarations] memcpy(this->filter_frame->linesize, src->linesize, sizeof(src->linesize)); ^~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:4065:9: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^~~~~~~~ src/ffmpeg2theora.c:577:5: warning: 'linesize' is deprecated [-Wdeprecated-declarations] memcpy(this->filter_frame->linesize, src->linesize, sizeof(src->linesize)); ^~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:4065:9: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^~~~~~~~ src/ffmpeg2theora.c:587:5: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations] av_picture_copy(dst, (const AVPicture *) this->filter_frame, pixfmt, width, height); ^~~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:5659:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^~~~~~~~~~~~~~~ src/avinfo.c: In function 'json_stream_format': src/ffmpeg2theora.c: In function 'ff2theora_output': src/ffmpeg2theora.c:620:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] AVCodecContext *enc = this->context->streams[this->audiostream]->codec; ^~~~~~~~~~~~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/avinfo.c:358:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] if(st->codec->codec_type == type_filter){ ^~ src/ffmpeg2theora.c:630:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] AVCodecContext *enc = this->context->streams[this->videostream]->codec; ^~~~~~~~~~~~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ In file included from src/avinfo.c:45:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/avinfo.c:364:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] json_codec_info(output, st->codec, indent + 1); ^~~~~~~~~~~~~~~ src/ffmpeg2theora.c:641:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] AVCodecContext *enc = this->context->streams[i]->codec; ^~~~~~~~~~~~~~ In file included from src/avinfo.c:45:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/avinfo.c:365:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO){ ^~ In file included from src/avinfo.c:45:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/ffmpeg2theora.c:658:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] venc = vstream->codec; ^~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/avinfo.c:376:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] av_cmp_q(st->sample_aspect_ratio, st->codec->sample_aspect_ratio)) { ^~~~~~~~ In file included from src/avinfo.c:45:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/avinfo.c:379:27: warning: 'codec' is deprecated [-Wdeprecated-declarations] st->codec->width*st->sample_aspect_ratio.num, ^~ In file included from src/avinfo.c:45:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/avinfo.c:380:27: warning: 'codec' is deprecated [-Wdeprecated-declarations] st->codec->height*st->sample_aspect_ratio.den, ^~ In file included from src/avinfo.c:45:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/ffmpeg2theora.c:1024:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] aenc = this->context->streams[this->audio_index]->codec; ^~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/ffmpeg2theora.c:1095:11: warning: 'codec' is deprecated [-Wdeprecated-declarations] AVCodecContext *enc = stream->codec; ^~~~~~~~~~~~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/avinfo.c: In function 'gen_oshash': src/avinfo.c:420:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer1, used, 8, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/avinfo.c:422:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer1, 8192, 8, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/avinfo.c:424:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&buffer1[8192], 8192, 8, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ffmpeg2theora.c:1476:23: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] avcodec_decode_video2(venc, frame, &got_frame, &pkt); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:4993:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ src/ffmpeg2theora.c:1478:21: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations] av_free_packet (&pkt); ^~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:4650:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ src/ffmpeg2theora.c:1495:21: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] len1 = avcodec_decode_video2(venc, frame, &got_frame, &avpkt); ^~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:4993:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ src/ffmpeg2theora.c:1538:33: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations] av_picture_copy((AVPicture *)output_tmp, (AVPicture *)frame, this->pix_fmt, ^~~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:5659:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^~~~~~~~~~~~~~~ src/ffmpeg2theora.c:1552:33: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations] av_picture_copy((AVPicture *)output, (AVPicture *)output_tmp, this->pix_fmt, ^~~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:5659:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^~~~~~~~~~~~~~~ src/ffmpeg2theora.c:1561:48: warning: 'qscale_table' is deprecated [-Wdeprecated-declarations] output->qscale_table, output->qstride, ^~~~~~ In file included from /usr/include/libavcodec/avcodec.h:38:0, from /usr/include/libavformat/avformat.h:319, from src/ffmpeg2theora.c:29: /usr/include/libavutil/frame.h:522:13: note: declared here int8_t *qscale_table; ^~~~~~~~~~~~ src/ffmpeg2theora.c:1561:48: warning: 'qstride' is deprecated [-Wdeprecated-declarations] output->qscale_table, output->qstride, ^~~~~~ In file included from /usr/include/libavcodec/avcodec.h:38:0, from /usr/include/libavformat/avformat.h:319, from src/ffmpeg2theora.c:29: /usr/include/libavutil/frame.h:527:9: note: declared here int qstride; ^~~~~~~ src/ffmpeg2theora.c:1569:33: warning: 'av_picture_crop' is deprecated [-Wdeprecated-declarations] if (av_picture_crop((AVPicture *)output_cropped, ^~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:5666:5: note: declared here int av_picture_crop(AVPicture *dst, const AVPicture *src, ^~~~~~~~~~~~~~~ src/ffmpeg2theora.c:1590:33: warning: 'av_picture_pad' is deprecated [-Wdeprecated-declarations] if (av_picture_pad((AVPicture *)output_padded, ^~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:5673:5: note: declared here int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, ^~~~~~~~~~~~~~ src/ffmpeg2theora.c:1630:25: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations] av_picture_copy((AVPicture *)output_buffered, (AVPicture *)output_padded, this->pix_fmt, this->frame_width, this->frame_height); ^~~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:5659:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^~~~~~~~~~~~~~~ src/ffmpeg2theora.c:1643:25: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations] len1 = avcodec_decode_audio4(astream->codec, audio_frame, &got_frame, &avpkt); ^~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:4944:5: note: declared here int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, ^~~~~~~~~~~~~~~~~~~~~ src/ffmpeg2theora.c:1643:25: warning: 'codec' is deprecated [-Wdeprecated-declarations] len1 = avcodec_decode_audio4(astream->codec, audio_frame, &got_frame, &avpkt); ^~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/ffmpeg2theora.c:1704:15: warning: 'codec' is deprecated [-Wdeprecated-declarations] AVCodecContext *enc = stream->codec; ^~~~~~~~~~~~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/ffmpeg2theora.c:1846:13: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations] av_free_packet (&pkt); ^~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:319:0, from src/ffmpeg2theora.c:29: /usr/include/libavcodec/avcodec.h:4650:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ src/ffmpeg2theora.c:1864:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] AVCodecContext *enc = this->context->streams[i]->codec; ^~~~~~~~~~~~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ src/ffmpeg2theora.c: In function 'main': src/ffmpeg2theora.c:2986:25: warning: 'codec' is deprecated [-Wdeprecated-declarations] AVCodecContext *enc = convert->context->streams[i]->codec; ^~~~~~~~~~~~~~ In file included from src/ffmpeg2theora.c:29:0: /usr/include/libavformat/avformat.h:893:21: note: declared here AVCodecContext *codec; ^~~~~ gcc -o ffmpeg2theora -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags src/theorautils.o src/subtitles.o src/iso639.o src/index.o src/ffmpeg2theora.o src/avinfo.o -lvorbis -lvorbisenc -ltheoraenc -ltheoradec -lavdevice -lavformat -lavfilter -lavcodec -lpostproc -lswscale -lavutil -lswresample -loggkate -lkate -logg -lm scons: done building targets. + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Jc9Ahn + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64 + cd ffmpeg2theora-0.30 + '[' 1 -eq 1 ']' + /usr/bin/scons -j8 install destdir=/home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64 prefix=/usr mandir=/usr/share/man 'APPEND_LINKFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' 'APPEND_CCFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' scons: Reading SConscript files ... Checking for pkg-config... (cached) yes Checking for ogg >= 1.1... (cached) yes Checking for vorbis... (cached) yes Checking for vorbisenc... (cached) yes Checking for theoraenc >= 1.1.0... (cached) yes Checking for ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1.0... (cached) yes Checking for libswresample... (cached) yes Checking for libavdevice libavformat libavfilter libavcodec >= 52.30.0 libpostproc libswscale libswresample libavutil libswresample... (cached) yes Checking for C header file libavformat/framehook.h... (cached) no Checking for oggkate... (cached) yes Checking for C header file iconv.h... (cached) yes Checking for C library iconv... (cached) no scons: done reading SConscript files. scons: Building targets ... Install file: "ffmpeg2theora" as "/home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/bin/ffmpeg2theora" scons: done building targets. + install -D -m 0644 ffmpeg2theora.1 /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/share/man/man1/ffmpeg2theora.1 + cat + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 0.30-4.mga7 --unique-debug-suffix -0.30-4.mga7.x86_64 --unique-debug-src-base ffmpeg2theora-0.30-4.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/ffmpeg2theora-0.30 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/bin/ffmpeg2theora /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 499 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: ffmpeg2theora-0.30-4.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NNklXS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ffmpeg2theora-0.30 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/share/doc/ffmpeg2theora + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/share/doc/ffmpeg2theora + cp -pr COPYING /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/share/doc/ffmpeg2theora + cp -pr ChangeLog /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/share/doc/ffmpeg2theora + cp -pr AUTHORS /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/share/doc/ffmpeg2theora + cp -pr README /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/share/doc/ffmpeg2theora + cp -pr TODO /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/share/doc/ffmpeg2theora + cp -pr README.mga /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64/usr/share/doc/ffmpeg2theora + exit 0 Provides: ffmpeg2theora = 0.30-4.mga7 ffmpeg2theora(x86-64) = 0.30-4.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libavcodec.so.57()(64bit) libavcodec.so.57(LIBAVCODEC_57)(64bit) libavdevice.so.57()(64bit) libavdevice.so.57(LIBAVDEVICE_57)(64bit) libavfilter.so.6()(64bit) libavfilter.so.6(LIBAVFILTER_6)(64bit) libavformat.so.57()(64bit) libavformat.so.57(LIBAVFORMAT_57)(64bit) libavutil.so.55()(64bit) libavutil.so.55(LIBAVUTIL_55)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libkate.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libogg.so.0()(64bit) liboggkate.so.1()(64bit) libpostproc.so.54()(64bit) libpostproc.so.54(LIBPOSTPROC_54)(64bit) libswresample.so.2()(64bit) libswresample.so.2(LIBSWRESAMPLE_2)(64bit) libswscale.so.4()(64bit) libswscale.so.4(LIBSWSCALE_4)(64bit) libtheoradec.so.1()(64bit) libtheoradec.so.1(libtheoradec_1.0)(64bit) libtheoraenc.so.1()(64bit) libtheoraenc.so.1(libtheoraenc_1.0)(64bit) libvorbis.so.0()(64bit) libvorbisenc.so.2()(64bit) Processing files: ffmpeg2theora-debugsource-0.30-4.mga7.x86_64 Provides: ffmpeg2theora-debugsource = 0.30-4.mga7 ffmpeg2theora-debugsource(x86-64) = 0.30-4.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ffmpeg2theora-debuginfo-0.30-4.mga7.x86_64 Provides: debuginfo(build-id) = 3cadb2fdf6e5fd7522413aaef0a54c0999ec42ee ffmpeg2theora-debuginfo = 0.30-4.mga7 ffmpeg2theora-debuginfo(x86-64) = 0.30-4.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ffmpeg2theora-debugsource(x86-64) = 0.30-4.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ffmpeg2theora-0.30-4.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ffmpeg2theora-debugsource-0.30-4.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ffmpeg2theora-debuginfo-0.30-4.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xOVwqq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ffmpeg2theora-0.30 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-4.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DWY1WX + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf ffmpeg2theora-0.30 + exit 0 D: [iurt_root_command] Success!