D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/ffmpeg2theora-0.30-7.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZGq4Iy
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf ffmpeg2theora-0.30
+ /usr/bin/bzip2 -dc /home/iurt/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/iurt/rpmbuild/SOURCES/ffmpeg2theora-0.29-link.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ffmpeg2theora-0.30-scons3.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Fsm92r
+ umask 022
+ cd /home/iurt/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 -fasynchronous-unwind-tables'
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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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]
  606 |       const uint32_t *pal = (const uint32_t*)sr->pict.data[1];
      |       ^~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/subtitles.c:32:
/usr/include/libavcodec/avcodec.h:2699:15: note: declared here
 2699 |     AVPicture pict;
      |               ^~~~
src/subtitles.c:606:7: warning: 'data' is deprecated [-Wdeprecated-declarations]
  606 |       const uint32_t *pal = (const uint32_t*)sr->pict.data[1];
      |       ^~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/subtitles.c:32:
/usr/include/libavcodec/avcodec.h:2657:14: note: declared here
 2657 |     uint8_t *data[AV_NUM_DATA_POINTERS];    ///< pointers to the image data planes
      |              ^~~~
src/subtitles.c:628:7: warning: 'pict' is deprecated [-Wdeprecated-declarations]
  628 |       memcpy(subtitle->kb.pixels,sr->pict.data[0],sr->w*sr->h);
      |       ^~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/subtitles.c:32:
/usr/include/libavcodec/avcodec.h:2699:15: note: declared here
 2699 |     AVPicture pict;
      |               ^~~~
src/subtitles.c:628:7: warning: 'data' is deprecated [-Wdeprecated-declarations]
  628 |       memcpy(subtitle->kb.pixels,sr->pict.data[0],sr->w*sr->h);
      |       ^~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/subtitles.c:32:
/usr/include/libavcodec/avcodec.h:2657:14: note: declared here
 2657 |     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]
  155 |     size = avpicture_get_size (pix_fmt, width, height);
      |     ^~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3778:5: note: declared here
 3778 | int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
      |     ^~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:161:5: warning: 'avpicture_fill' is deprecated [-Wdeprecated-declarations]
  161 |     avpicture_fill((AVPicture *) picture, picture_buf, pix_fmt, width, height);
      |     ^~~~~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3763:5: note: declared here
 3763 | 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]
  170 |         avpicture_free((AVPicture*)frame);
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3757:6: note: declared here
 3757 | 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]
  356 |   AVCodecContext *enc = this->context->streams[idx]->codec;
      |   ^~~~~~~~~~~~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c: In function 'process_filter_graph':
src/ffmpeg2theora.c:576:5: warning: 'data' is deprecated [-Wdeprecated-declarations]
  576 |     memcpy(this->filter_frame->data, src->data, sizeof(src->data));
      |     ^~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:2657:14: note: declared here
 2657 |     uint8_t *data[AV_NUM_DATA_POINTERS];    ///< pointers to the image data planes
      |              ^~~~
src/ffmpeg2theora.c:576:5: warning: 'data' is deprecated [-Wdeprecated-declarations]
  576 |     memcpy(this->filter_frame->data, src->data, sizeof(src->data));
      |     ^~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:2657:14: note: declared here
 2657 |     uint8_t *data[AV_NUM_DATA_POINTERS];    ///< pointers to the image data planes
      |              ^~~~
src/ffmpeg2theora.c:577:5: warning: 'linesize' is deprecated [-Wdeprecated-declarations]
  577 |     memcpy(this->filter_frame->linesize, src->linesize, sizeof(src->linesize));
      |     ^~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:2659:9: note: declared here
 2659 |     int linesize[AV_NUM_DATA_POINTERS];     ///< number of bytes per line
      |         ^~~~~~~~
src/ffmpeg2theora.c:577:5: warning: 'linesize' is deprecated [-Wdeprecated-declarations]
  577 |     memcpy(this->filter_frame->linesize, src->linesize, sizeof(src->linesize));
      |     ^~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:2659:9: note: declared here
 2659 |     int linesize[AV_NUM_DATA_POINTERS];     ///< number of bytes per line
      |         ^~~~~~~~
src/ffmpeg2theora.c:587:5: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations]
  587 |     av_picture_copy(dst, (const AVPicture *) this->filter_frame, pixfmt, width, height);
      |     ^~~~~~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3784:6: note: declared here
 3784 | void av_picture_copy(AVPicture *dst, const AVPicture *src,
      |      ^~~~~~~~~~~~~~~
src/ffmpeg2theora.c: In function 'ff2theora_output':
src/ffmpeg2theora.c:620:9: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  620 |         AVCodecContext *enc = this->context->streams[this->audiostream]->codec;
      |         ^~~~~~~~~~~~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c:630:9: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  630 |         AVCodecContext *enc = this->context->streams[this->videostream]->codec;
      |         ^~~~~~~~~~~~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c:641:9: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  641 |         AVCodecContext *enc = this->context->streams[i]->codec;
      |         ^~~~~~~~~~~~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c:658:9: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  658 |         venc = vstream->codec;
      |         ^~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c:1024:9: warning: 'codec' is deprecated [-Wdeprecated-declarations]
 1024 |         aenc = this->context->streams[this->audio_index]->codec;
      |         ^~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c:1095:11: warning: 'codec' is deprecated [-Wdeprecated-declarations]
 1095 |           AVCodecContext *enc = stream->codec;
      |           ^~~~~~~~~~~~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c:1449:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
 1449 |         av_init_packet(&avpkt);
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/bsf.h:30,
                 from /usr/include/libavcodec/avcodec.h:44,
                 from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/packet.h:488:6: note: declared here
  488 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
src/ffmpeg2theora.c:1476:23: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
 1476 |                       avcodec_decode_video2(venc, frame, &got_frame, &pkt);
      |                       ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3096:5: note: declared here
 3096 | int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
      |     ^~~~~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:1478:21: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
 1478 |                     av_free_packet (&pkt);
      |                     ^~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/bsf.h:30,
                 from /usr/include/libavcodec/avcodec.h:44,
                 from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/packet.h:569:6: note: declared here
  569 | void av_free_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
src/ffmpeg2theora.c:1495:21: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
 1495 |                     len1 = avcodec_decode_video2(venc, frame, &got_frame, &avpkt);
      |                     ^~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3096:5: note: declared here
 3096 | int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
      |     ^~~~~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:1538:33: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations]
 1538 |                                 av_picture_copy((AVPicture *)output_tmp, (AVPicture *)frame, this->pix_fmt,
      |                                 ^~~~~~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3784:6: note: declared here
 3784 | void av_picture_copy(AVPicture *dst, const AVPicture *src,
      |      ^~~~~~~~~~~~~~~
src/ffmpeg2theora.c:1552:33: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations]
 1552 |                                 av_picture_copy((AVPicture *)output, (AVPicture *)output_tmp, this->pix_fmt,
      |                                 ^~~~~~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3784:6: note: declared here
 3784 | void av_picture_copy(AVPicture *dst, const AVPicture *src,
      |      ^~~~~~~~~~~~~~~
src/ffmpeg2theora.c:1561:48: warning: 'qscale_table' is deprecated [-Wdeprecated-declarations]
 1561 |                                                output->qscale_table, output->qstride,
      |                                                ^~~~~~
In file included from /usr/include/libavcodec/avcodec.h:38,
                 from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavutil/frame.h:640:13: note: declared here
  640 |     int8_t *qscale_table;
      |             ^~~~~~~~~~~~
src/ffmpeg2theora.c:1561:48: warning: 'qstride' is deprecated [-Wdeprecated-declarations]
 1561 |                                                output->qscale_table, output->qstride,
      |                                                ^~~~~~
In file included from /usr/include/libavcodec/avcodec.h:38,
                 from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavutil/frame.h:645:9: note: declared here
  645 |     int qstride;
      |         ^~~~~~~
src/ffmpeg2theora.c:1569:33: warning: 'av_picture_crop' is deprecated [-Wdeprecated-declarations]
 1569 |                                 if (av_picture_crop((AVPicture *)output_cropped,
      |                                 ^~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3791:5: note: declared here
 3791 | int av_picture_crop(AVPicture *dst, const AVPicture *src,
      |     ^~~~~~~~~~~~~~~
src/ffmpeg2theora.c:1590:33: warning: 'av_picture_pad' is deprecated [-Wdeprecated-declarations]
 1590 |                                 if (av_picture_pad((AVPicture *)output_padded,
      |                                 ^~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3798:5: note: declared here
 3798 | 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]
 1630 |                         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:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3784:6: note: declared here
 3784 | void av_picture_copy(AVPicture *dst, const AVPicture *src,
      |      ^~~~~~~~~~~~~~~
src/ffmpeg2theora.c:1643:25: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
 1643 |                         len1 = avcodec_decode_audio4(astream->codec, audio_frame, &got_frame, &avpkt);
      |                         ^~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:3047:5: note: declared here
 3047 | int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
      |     ^~~~~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:1643:25: warning: 'codec' is deprecated [-Wdeprecated-declarations]
 1643 |                         len1 = avcodec_decode_audio4(astream->codec, audio_frame, &got_frame, &avpkt);
      |                         ^~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c:1704:15: warning: 'codec' is deprecated [-Wdeprecated-declarations]
 1704 |               AVCodecContext *enc = stream->codec;
      |               ^~~~~~~~~~~~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c:1846:13: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
 1846 |             av_free_packet (&pkt);
      |             ^~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/bsf.h:30,
                 from /usr/include/libavcodec/avcodec.h:44,
                 from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/packet.h:569:6: note: declared here
  569 | void av_free_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
src/ffmpeg2theora.c:1864:17: warning: 'codec' is deprecated [-Wdeprecated-declarations]
 1864 |                 AVCodecContext *enc = this->context->streams[i]->codec;
      |                 ^~~~~~~~~~~~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/avinfo.c: In function 'json_stream_format':
src/avinfo.c:358:5: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  358 |     if(st->codec->codec_type == type_filter){
      |     ^~
In file included from src/avinfo.c:45:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/avinfo.c:364:9: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  364 |         json_codec_info(output, st->codec, indent + 1);
      |         ^~~~~~~~~~~~~~~
In file included from src/avinfo.c:45:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/avinfo.c:365:9: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  365 |         if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO){
      |         ^~
In file included from src/avinfo.c:45:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/avinfo.c:376:17: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  376 |                 av_cmp_q(st->sample_aspect_ratio, st->codec->sample_aspect_ratio)) {
      |                 ^~~~~~~~
In file included from src/avinfo.c:45:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/avinfo.c:379:27: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  379 |                           st->codec->width*st->sample_aspect_ratio.num,
      |                           ^~
In file included from src/avinfo.c:45:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/avinfo.c:380:27: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  380 |                           st->codec->height*st->sample_aspect_ratio.den,
      |                           ^~
In file included from src/avinfo.c:45:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c: In function 'main':
src/ffmpeg2theora.c:2421:5: warning: 'avcodec_register_all' is deprecated [-Wdeprecated-declarations]
 2421 |     avcodec_register_all();
      |     ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/usr/include/libavcodec/avcodec.h:2767:6: note: declared here
 2767 | void avcodec_register_all(void);
      |      ^~~~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:2423:5: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations]
 2423 |     av_register_all();
      |     ^~~~~~~~~~~~~~~
src/avinfo.c: In function 'gen_oshash':
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:1955:6: note: declared here
 1955 | void av_register_all(void);
      |      ^~~~~~~~~~~~~~~
src/avinfo.c:420:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  420 |             fread(buffer1, used, 8, file);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/avinfo.c:422:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  422 |             fread(buffer1, 8192, 8, file);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/avinfo.c:424:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  424 |             fread(&buffer1[8192], 8192, 8, file);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:2986:25: warning: 'codec' is deprecated [-Wdeprecated-declarations]
 2986 |                         AVCodecContext *enc = convert->context->streams[i]->codec;
      |                         ^~~~~~~~~~~~~~
In file included from src/ffmpeg2theora.c:29:
/usr/include/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
src/ffmpeg2theora.c:3007:87: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1020 [-Wformat-truncation=]
 3007 |                     snprintf(outputfile_name, sizeof(outputfile_name) - strlen(ext), "%s",inputfile_name);
      |                                                                                       ^~  ~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from src/ffmpeg2theora.c:20:
/usr/include/bits/stdio2.h:71:10: note: '__builtin_snprintf' output between 1 and 1024 bytes into a destination of size 1020
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:3015:79: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
 3015 |                         snprintf(outputfile_name, sizeof(outputfile_name), "%s%s", inputfile_name, ext);
      |                                                                               ^~
In file included from /usr/include/stdio.h:866,
                 from src/ffmpeg2theora.c:20:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 5 and 1028 bytes into a destination of size 1024
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:3011:83: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
 3011 |                             snprintf(outputfile_name, sizeof(outputfile_name), "%s%s", inputfile_name, ext);
      |                                                                                   ^~
In file included from /usr/include/stdio.h:866,
                 from src/ffmpeg2theora.c:20:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 5 and 1028 bytes into a destination of size 1024
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.OmEeP6
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64
++ dirname /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64
+ cd ffmpeg2theora-0.30
+ '[' 1 -eq 1 ']'
+ /usr/bin/scons -j8 install destdir=/home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64 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 -fasynchronous-unwind-tables'
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/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/bin/ffmpeg2theora"
scons: done building targets.
+ install -D -m 0644 ffmpeg2theora.1 /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/share/man/man1/ffmpeg2theora.1
+ cat
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.30-7.mga9 --unique-debug-suffix -0.30-7.mga9.aarch64 --unique-debug-src-base ffmpeg2theora-0.30-7.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/ffmpeg2theora-0.30

extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/bin/ffmpeg2theora
dwz: ./usr/bin/ffmpeg2theora-0.30-7.mga9.aarch64.debug: Unknown debugging section .debug_line_str
original debug info size: 380kB, size after compression: 380kB
/usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match.
499 blocks
+ /usr/lib/rpm/check-buildroot
+ '[' -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/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: ffmpeg2theora-0.30-7.mga9.aarch64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.O9TYWz
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd ffmpeg2theora-0.30
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/share/doc/ffmpeg2theora
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/share/doc/ffmpeg2theora
+ cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/share/doc/ffmpeg2theora
+ cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/share/doc/ffmpeg2theora
+ cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/share/doc/ffmpeg2theora
+ cp -pr README /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/share/doc/ffmpeg2theora
+ cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/share/doc/ffmpeg2theora
+ cp -pr README.mga /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64/usr/share/doc/ffmpeg2theora
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ffmpeg2theora = 0.30-7.mga9 ffmpeg2theora(aarch-64) = 0.30-7.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libavcodec.so.58()(64bit) libavcodec.so.58(LIBAVCODEC_58)(64bit) libavdevice.so.58()(64bit) libavdevice.so.58(LIBAVDEVICE_58)(64bit) libavfilter.so.7()(64bit) libavfilter.so.7(LIBAVFILTER_7)(64bit) libavformat.so.58()(64bit) libavformat.so.58(LIBAVFORMAT_58)(64bit) libavutil.so.56()(64bit) libavutil.so.56(LIBAVUTIL_56)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libkate.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libogg.so.0()(64bit) liboggkate.so.1()(64bit) libpostproc.so.55()(64bit) libpostproc.so.55(LIBPOSTPROC_55)(64bit) libswresample.so.3()(64bit) libswresample.so.3(LIBSWRESAMPLE_3)(64bit) libswscale.so.5()(64bit) libswscale.so.5(LIBSWSCALE_5)(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-7.mga9.aarch64
Provides: ffmpeg2theora-debugsource = 0.30-7.mga9 ffmpeg2theora-debugsource(aarch-64) = 0.30-7.mga9
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-7.mga9.aarch64
Provides: debuginfo(build-id) = 63170304aaed4f4b0707f8d5502283777564e927 ffmpeg2theora-debuginfo = 0.30-7.mga9 ffmpeg2theora-debuginfo(aarch-64) = 0.30-7.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: ffmpeg2theora-debugsource(aarch-64) = 0.30-7.mga9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ffmpeg2theora-0.30-7.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ffmpeg2theora-debugsource-0.30-7.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ffmpeg2theora-debuginfo-0.30-7.mga9.aarch64.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Sx0hVg
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd ffmpeg2theora-0.30
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/ffmpeg2theora-0.30-7.mga9.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.dtwxQq
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf ffmpeg2theora-0.30
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!