===> Building for ffmpeg2theora-0.30nb15
cd /Users/pbulk/build/multimedia/ffmpeg2theora/work/ffmpeg2theora-0.30 && cd . && /usr/bin/env USETOOLS=no GOTMPDIR=/Users/pbulk/build PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread PTHREADBASE= MACOSX_DEPLOYMENT_TARGET=12.3 PYTHON=/opt/pkg/bin/python3.12 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -I/opt/pkg/include/python3.12\ -I/opt/pkg/include/ffmpeg4\ -I/opt/pkg/include/freetype2 CPPFLAGS=-DPNG_NO_ASSEMBLER_CODE\ -I/opt/pkg/include\ -I/opt/pkg/include/python3.12\ -I/opt/pkg/include/ffmpeg4\ -I/opt/pkg/include/freetype2 CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -I/opt/pkg/include/python3.12\ -I/opt/pkg/include/ffmpeg4\ -I/opt/pkg/include/freetype2 COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 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\ -L/opt/pkg/lib/ffmpeg4 LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.cwrapper/bin:/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/bin:/Users/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/pkg/etc CXXCPP=clang\ -E HOME=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.pkg-config.log PKG_CONFIG_PATH= LIBGETOPT=-lgetopt CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/multimedia/ffmpeg2theora/work/.cwrapper/config scons-3.12 PREFIX=/opt/pkg -j1 APPEND_CCFLAGS=\ -pipe\ -Os\ -I/opt/pkg/include\ -I/opt/pkg/include/python3.12\ -I/opt/pkg/include/ffmpeg4\ -I/opt/pkg/include/freetype2 APPEND_LINKFLAGS=\ \ \ -L/opt/pkg/lib\ -L/opt/pkg/lib/ffmpeg4
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.
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/avinfo.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/python3.12 -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:70:9: warning: 'htonll' macro redefined [-Wmacro-redefined]
#define htonll(x) x
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:141:9: note: previous definition is here
#define htonll(x)       __DARWIN_OSSwapInt64(x)
        ^
src/avinfo.c:294:14: warning: result of comparison of constant 128 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
    if (s[i] < 128) {
        ~~~~ ^ ~~~
src/avinfo.c:358:12: warning: 'codec' is deprecated [-Wdeprecated-declarations]
    if(st->codec->codec_type == type_filter){
           ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/avinfo.c:364:37: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        json_codec_info(output, st->codec, indent + 1);
                                    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/avinfo.c:365:16: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO){
               ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/avinfo.c:376:55: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                av_cmp_q(st->sample_aspect_ratio, st->codec->sample_aspect_ratio)) {
                                                      ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/avinfo.c:379:31: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                          st->codec->width*st->sample_aspect_ratio.num,
                              ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/avinfo.c:380:31: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                          st->codec->height*st->sample_aspect_ratio.den,
                              ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
8 warnings generated.
gcc -o src/ffmpeg2theora.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/python3.12 -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:155:12: warning: 'avpicture_get_size' is deprecated [-Wdeprecated-declarations]
    size = avpicture_get_size (pix_fmt, width, height);
           ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3777:1: note: 'avpicture_get_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:161:5: warning: 'avpicture_fill' is deprecated [-Wdeprecated-declarations]
    avpicture_fill((AVPicture *) picture, picture_buf, pix_fmt, width, height);
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3762:1: note: 'avpicture_fill' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:170:9: warning: 'avpicture_free' is deprecated [-Wdeprecated-declarations]
        avpicture_free((AVPicture*)frame);
        ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3756:1: note: 'avpicture_free' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:356:54: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  AVCodecContext *enc = this->context->streams[idx]->codec;
                                                     ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:576:43: warning: 'data' is deprecated [-Wdeprecated-declarations]
    memcpy(this->filter_frame->data, src->data, sizeof(src->data));
                                          ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:2656:5: note: 'data' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:576:61: warning: 'data' is deprecated [-Wdeprecated-declarations]
    memcpy(this->filter_frame->data, src->data, sizeof(src->data));
                                                            ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:2656:5: note: 'data' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:577:47: warning: 'linesize' is deprecated [-Wdeprecated-declarations]
    memcpy(this->filter_frame->linesize, src->linesize, sizeof(src->linesize));
                                              ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:2658:5: note: 'linesize' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:577:69: warning: 'linesize' is deprecated [-Wdeprecated-declarations]
    memcpy(this->filter_frame->linesize, src->linesize, sizeof(src->linesize));
                                                                    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:2658:5: note: 'linesize' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
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);
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3783:1: note: 'av_picture_copy' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:620:74: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        AVCodecContext *enc = this->context->streams[this->audiostream]->codec;
                                                                         ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:630:74: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        AVCodecContext *enc = this->context->streams[this->videostream]->codec;
                                                                         ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:641:58: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        AVCodecContext *enc = this->context->streams[i]->codec;
                                                         ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:658:25: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        venc = vstream->codec;
                        ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:723:17: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
            if (abs(this->fps-30)<1 && (display_width!=NTSC_HALF_WIDTH || display_height!=NTSC_HALF_HEIGHT) ) {
                ^
src/ffmpeg2theora.c:723:17: note: use function 'fabs' instead
            if (abs(this->fps-30)<1 && (display_width!=NTSC_HALF_WIDTH || display_height!=NTSC_HALF_HEIGHT) ) {
                ^~~
                fabs
src/ffmpeg2theora.c:733:17: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
            if (abs(this->fps-30)<1 && (display_width!=NTSC_FULL_WIDTH || display_height!=NTSC_FULL_HEIGHT) ) {
                ^
src/ffmpeg2theora.c:733:17: note: use function 'fabs' instead
            if (abs(this->fps-30)<1 && (display_width!=NTSC_FULL_WIDTH || display_height!=NTSC_FULL_HEIGHT) ) {
                ^~~
                fabs
src/ffmpeg2theora.c:1024:59: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        aenc = this->context->streams[this->audio_index]->codec;
                                                          ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1449:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
        av_init_packet(&avpkt);
        ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1476:23: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
                      avcodec_decode_video2(venc, frame, &got_frame, &pkt);
                      ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3095:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1478:21: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
                    av_free_packet (&pkt);
                    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/packet.h:568:1: note: 'av_free_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1495:28: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
                    len1 = avcodec_decode_video2(venc, frame, &got_frame, &avpkt);
                           ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3095:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1538:33: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations]
                                av_picture_copy((AVPicture *)output_tmp, (AVPicture *)frame, this->pix_fmt,
                                ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3783:1: note: 'av_picture_copy' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1552:33: warning: 'av_picture_copy' is deprecated [-Wdeprecated-declarations]
                                av_picture_copy((AVPicture *)output, (AVPicture *)output_tmp, this->pix_fmt,
                                ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3783:1: note: 'av_picture_copy' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1561:56: warning: 'qscale_table' is deprecated [-Wdeprecated-declarations]
                                               output->qscale_table, output->qstride,
                                                       ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/frame.h:639:5: note: 'qscale_table' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1561:78: warning: 'qstride' is deprecated [-Wdeprecated-declarations]
                                               output->qscale_table, output->qstride,
                                                                             ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/frame.h:644:5: note: 'qstride' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1569:37: warning: 'av_picture_crop' is deprecated [-Wdeprecated-declarations]
                                if (av_picture_crop((AVPicture *)output_cropped,
                                    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3790:1: note: 'av_picture_crop' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1590:37: warning: 'av_picture_pad' is deprecated [-Wdeprecated-declarations]
                                if (av_picture_pad((AVPicture *)output_padded,
                                    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3797:1: note: 'av_picture_pad' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
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);
                        ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3783:1: note: 'av_picture_copy' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1643:32: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
                        len1 = avcodec_decode_audio4(astream->codec, audio_frame, &got_frame, &avpkt);
                               ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3046:1: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1643:63: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        len1 = avcodec_decode_audio4(astream->codec, audio_frame, &got_frame, &avpkt);
                                                              ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1704:45: warning: 'codec' is deprecated [-Wdeprecated-declarations]
              AVCodecContext *enc = stream->codec;
                                            ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1846:13: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
            av_free_packet (&pkt);
            ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/packet.h:568:1: note: 'av_free_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:1864:66: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                AVCodecContext *enc = this->context->streams[i]->codec;
                                                                 ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:2421:5: warning: 'avcodec_register_all' is deprecated [-Wdeprecated-declarations]
    avcodec_register_all();
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:2766:1: note: 'avcodec_register_all' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:2423:5: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations]
    av_register_all();
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:1954:1: note: 'av_register_all' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/ffmpeg2theora.c:2986:77: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        AVCodecContext *enc = convert->context->streams[i]->codec;
                                                                            ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/ffmpeg2theora/work/.buildlink/include/ffmpeg4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
35 warnings generated.
gcc -o src/index.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/python3.12 -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/iso639.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/python3.12 -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 src/subtitles.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/python3.12 -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/theorautils.o -c -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/python3.12 -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 ffmpeg2theora -L/opt/pkg/lib -L/opt/pkg/lib/ffmpeg4 src/avinfo.o src/ffmpeg2theora.o src/index.o src/iso639.o src/subtitles.o src/theorautils.o -L/opt/pkg/lib -L/opt/pkg/lib/ffmpeg4 -lvorbisenc -lvorbis -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.