+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/ffmpeg2theora-0.30nb15/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/ffmpeg2theora-0.30nb15/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ffmpeg2theora-0.30nb15
cd /home/pbulk/build/multimedia/ffmpeg2theora/work/ffmpeg2theora-0.30 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr PYTHON=/opt/pkg/bin/python3.11 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11\ -I/opt/pkg/include/ffmpeg4\ -I/opt/pkg/include/freetype2 CPPFLAGS=-I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11\ -I/opt/pkg/include/ffmpeg4\ -I/opt/pkg/include/freetype2 CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11\ -I/opt/pkg/include/ffmpeg4\ -I/opt/pkg/include/freetype2 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/pkg/lib/ffmpeg4\ -Wl,-R/opt/pkg/lib/ffmpeg4\ -lintl LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/multimedia/ffmpeg2theora/work/.cwrapper/bin:/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/bin:/home/pbulk/build/multimedia/ffmpeg2theora/work/.gcc/bin:/home/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg CXXCPP=cpp HOME=/home/pbulk/build/multimedia/ffmpeg2theora/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/multimedia/ffmpeg2theora/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/lib/pkgconfig:/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/multimedia/ffmpeg2theora/work/.pkg-config.log PKG_CONFIG_PATH= LIBGETOPT= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/multimedia/ffmpeg2theora/work/.cwrapper/config scons-3.11 PREFIX=/opt/pkg -j1 APPEND_CCFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11\ -I/opt/pkg/include/ffmpeg4\ -I/opt/pkg/include/freetype2 APPEND_LINKFLAGS=\ \ \ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/pkg/lib/ffmpeg4\ -Wl,-R/opt/pkg/lib/ffmpeg4\ -lintl
scons: Reading SConscript files ...
PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
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) no

          Could not find libkate. Subtitles support will be disabled.
          You can also run ./get_libkate.sh (for more information see INSTALL)
          or update PKG_CONFIG_PATH to point to libkate's source folder
      
Checking for C header file iconv.h... yes
Checking for C library iconv... yes
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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -DUSE_SWRESAMPLE -DHAVE_ICONV -I. -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -DUSE_SWRESAMPLE -DHAVE_ICONV -I. -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 src/subtitles.c
gcc -o src/avinfo.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -DUSE_SWRESAMPLE -DHAVE_ICONV -I. -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 src/avinfo.c
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:
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |         ^~~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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){
      |         ^~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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)) {
      |                 ^~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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,
      |                           ^~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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,
      |                           ^~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
gcc -o src/index.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -DUSE_SWRESAMPLE -DHAVE_ICONV -I. -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -DUSE_SWRESAMPLE -DHAVE_ICONV -I. -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 src/ffmpeg2theora.c
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 /home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:312,
                 from src/ffmpeg2theora.c:29:
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |     ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |         ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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;
      |   ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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));
      |     ^~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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));
      |     ^~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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));
      |     ^~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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));
      |     ^~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |     ^~~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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:609:38: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  609 |     char *subtitles_enabled = (char*)alloca(this->context->nb_streams);
      |                                      ^~~~~~
src/ffmpeg2theora.c:609:38: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
src/ffmpeg2theora.c:620:9: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  620 |         AVCodecContext *enc = this->context->streams[this->audiostream]->codec;
      |         ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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;
      |         ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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;
      |         ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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;
      |         ^~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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;
      |         ^~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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 /home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/bsf.h:30,
                 from /home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:44:
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |                       ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |                     ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |                     ^~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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,
      |                                 ^~~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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,
      |                                 ^~~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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 /home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:38:
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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,
      |                                                ^~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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,
      |                                 ^~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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,
      |                                 ^~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |                         ^~~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |                         ^~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |                         ^~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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;
      |               ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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);
      |             ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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;
      |                 ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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();
      |     ^~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/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();
      |     ^~~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:1955:6: note: declared here
 1955 | void av_register_all(void);
      |      ^~~~~~~~~~~~~~~
src/ffmpeg2theora.c:2986:25: warning: 'codec' is deprecated [-Wdeprecated-declarations]
 2986 |                         AVCodecContext *enc = convert->context->streams[i]->codec;
      |                         ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
gcc -o src/iso639.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -DUSE_SWRESAMPLE -DHAVE_ICONV -I. -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 src/iso639.c
gcc -o ffmpeg2theora -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib/ffmpeg4 -Wl,-R/opt/pkg/lib/ffmpeg4 -lintl -Wl,-rpath,/opt/pkg/lib/ffmpeg4 -Wl,-R/opt/pkg/lib src/theorautils.o src/subtitles.o src/avinfo.o src/index.o src/ffmpeg2theora.o src/iso639.o -L/opt/pkg/lib -L/opt/pkg/lib/ffmpeg4 -lvorbis -lvorbisenc -ltheoraenc -ltheoradec -logg -lavdevice -lavformat -lavfilter -lavcodec -lpostproc -lswscale -lavutil -lswresample -liconv -liconv -lm
scons: done building targets.
*** Please use pkgtools/verifypc to sanity check dependencies.
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.