MythTV does not compile

George Mitchell george+freebsd at m5p.com
Sun Jul 16 23:19:52 UTC 2017


FreeBSD 10,3-RELEASE
/ports/head/multimedia/mythtv revision 445873

# This file is auto-generated by 'make config'.
# Options for mythtv-0.28.7_1
_OPTIONS_READ=mythtv-0.28.7_1
_FILE_COMPLETE_OPTIONS_LIST=BINDINGS LIRC MYSQL OPENGL VDPAU
OPTIONS_FILE_SET+=BINDINGS
OPTIONS_FILE_UNSET+=LIRC
OPTIONS_FILE_UNSET+=MYSQL
OPTIONS_FILE_SET+=OPENGL
OPTIONS_FILE_SET+=VDPAU

/etc/make.conf:
WITH_PKGNG=yes
DISABLE_VULNERABILITIES=yes
DEFAULT_VERSIONS+= linux=c7 ssl=base
OVERRIDE_LINUX_NONBASE_PORTS=c6
QT4_OPTIONS=

All other packages required for mythtv support compiled successfully
before I tried "make".  Error output attached.  Please cc me as I am
not subscribed to the multimedia list.  Thanks!            -- George
-------------- next part --------------
Script started on Sun Jul 16 18:47:19 2017
root at sullivan:/usr/ports/multimedia/mythtv # make

===>  Building for mythtv-0.28.7_1
gmake[2]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv'
sh version.sh /usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv
fatal: Not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
gmake -C external
gmake -C bindings/perl
gmake -C bindings/python
gmake[3]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external'
gmake -C bindings/php
gmake -C FFmpeg all 
gmake[3]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/bindings/perl'
gmake -C html
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/bindings/perl'
gmake[3]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/bindings/python'
(cd qjson ; qmake -o Makefile)
gmake[3]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/bindings/php'
gmake[3]: Nothing to be done for 'all'.
/usr/local/bin/python2.7 setup.py build --mythtv-prefix="/usr/local"
gmake[3]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/bindings/php'
gmake -C libmythbluray all
gmake[3]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/html'
gmake[3]: Nothing to be done for 'first'.
gmake[3]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/html'
[ -f qjson/include/QJson ] && \
  (cd qjson/include ; rm -f QJson ; ln -s -f ../src QJson)
gmake -C themes
gmake[3]: [Makefile:47: qjson-all] Error 1 (ignored)
gmake -C qjson all
gmake[3]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/themes'
gmake[3]: Nothing to be done for 'first'.
gmake[3]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/themes'
gmake -C libsamplerate all
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/libmythbluray'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/libmythbluray'
gmake -C i18n
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/bindings/perl'
gmake[3]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/bindings/perl'
gmake -C libhdhomerun -f Makefile.lib all
running build
running build_py
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/qjson'
cd src/ && gmake -f Makefile all
running build_scripts
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/libsamplerate'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/libsamplerate'
gmake -C locales
gmake[3]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/i18n'
gmake[3]: Nothing to be done for 'first'.
gmake[3]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/i18n'
gmake[3]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/bindings/python'
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/libhdhomerun'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/libhdhomerun'
gmake -C libhdhomerun -f Makefile.app all
gmake[3]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/locales'
gmake[3]: Nothing to be done for 'first'.
gmake[3]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/locales'
gmake[5]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/qjson/src'
gmake[5]: Nothing to be done for 'all'.
gmake[5]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/qjson/src'
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/qjson'
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/libhdhomerun'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external/libhdhomerun'
gmake[3]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/external'
gmake -C libs
gmake[3]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs'
cd libmythsoundtouch/ && gmake -f Makefile 
cd libmythdvdnav/ && gmake -f Makefile 
cd libmythfreesurround/ && gmake -f Makefile 
cd libmythbase/ && gmake -f Makefile 
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythsoundtouch'
cd libmythservicecontracts/ && gmake -f Makefile 
gmake[4]: Nothing to be done for 'first'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythsoundtouch'
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythdvdnav'
gmake[4]: Nothing to be done for 'first'.
cd libmythfreemheg/ && gmake -f Makefile 
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythdvdnav'
cd libmythnvctrl/ && gmake -f Makefile 
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythfreesurround'
gmake[4]: Nothing to be done for 'first'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythfreesurround'
cd libmythmpeg2/ && gmake -f Makefile 
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythservicecontracts'
gmake[4]: Nothing to be done for 'first'.
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythfreemheg'
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythservicecontracts'
gmake[4]: Nothing to be done for 'first'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythfreemheg'
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythnvctrl'
gmake[4]: Nothing to be done for 'first'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythnvctrl'
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythbase'
gmake[4]: Nothing to be done for 'first'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythbase'
cd libmythui/ && gmake -f Makefile 
cd libmythupnp/ && gmake -f Makefile 
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythmpeg2'
gmake[4]: Nothing to be done for 'first'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythmpeg2'
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythupnp'
gmake[4]: Nothing to be done for 'first'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythupnp'
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythui'
gmake[4]: Nothing to be done for 'first'.
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmythui'
cd libmyth/ && gmake -f Makefile 
gmake[4]: Entering directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmyth'
c++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG -fomit-frame-pointer -fPIC -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -pthread -D_THREAD_SAFE -fPIC -DMMX -D_GNU_SOURCE -DMYTH_API -DUSING_OSS -DUSING_JACK -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtDBus -I/usr/local -I/usr/local/include/libxml2 -I/usr/local/include -I../../external/qjson/include -I../../external/libsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -I/usr/local/include/qt4 -I/usr/local/include -o audiooutput.o audio/audiooutput.cpp
c++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG -fomit-frame-pointer -fPIC -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -pthread -D_THREAD_SAFE -fPIC -DMMX -D_GNU_SOURCE -DMYTH_API -DUSING_OSS -DUSING_JACK -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtDBus -I/usr/local -I/usr/local/include/libxml2 -I/usr/local/include -I../../external/qjson/include -I../../external/libsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -I/usr/local/include/qt4 -I/usr/local/include -o audiooutputbase.o audio/audiooutputbase.cpp
c++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG -fomit-frame-pointer -fPIC -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -pthread -D_THREAD_SAFE -fPIC -DMMX -D_GNU_SOURCE -DMYTH_API -DUSING_OSS -DUSING_JACK -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtDBus -I/usr/local -I/usr/local/include/libxml2 -I/usr/local/include -I../../external/qjson/include -I../../external/libsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -I/usr/local/include/qt4 -I/usr/local/include -o spdifencoder.o audio/spdifencoder.cpp
c++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG -fomit-frame-pointer -fPIC -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -pthread -D_THREAD_SAFE -fPIC -DMMX -D_GNU_SOURCE -DMYTH_API -DUSING_OSS -DUSING_JACK -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtDBus -I/usr/local -I/usr/local/include/libxml2 -I/usr/local/include -I../../external/qjson/include -I../../external/libsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -I/usr/local/include/qt4 -I/usr/local/include -o audiooutputdigitalencoder.o audio/audiooutputdigitalencoder.cpp
c++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG -fomit-frame-pointer -fPIC -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -pthread -D_THREAD_SAFE -fPIC -DMMX -D_GNU_SOURCE -DMYTH_API -DUSING_OSS -DUSING_JACK -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtDBus -I/usr/local -I/usr/local/include/libxml2 -I/usr/local/include -I../../external/qjson/include -I../../external/libsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -I/usr/local/include/qt4 -I/usr/local/include -o audiooutpututil.o audio/audiooutpututil.cpp
c++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG -fomit-frame-pointer -fPIC -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -pthread -D_THREAD_SAFE -fPIC -DMMX -D_GNU_SOURCE -DMYTH_API -DUSING_OSS -DUSING_JACK -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtDBus -I/usr/local -I/usr/local/include/libxml2 -I/usr/local/include -I../../external/qjson/include -I../../external/libsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -I/usr/local/include/qt4 -I/usr/local/include -o audiooutputdownmix.o audio/audiooutputdownmix.cpp
In file included from audio/spdifencoder.cpp:6:
audio/spdifencoder.h:35:34: error: use of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
    unsigned char       m_buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE];
                                 ^
audio/spdifencoder.cpp:73:39: warning: 'codec' is deprecated [-Wdeprecated-declarations]
    AVCodecContext *codec = m_stream->codec;
                                      ^
/usr/local/include/libavformat/avformat.h:893:21: note: 'codec' declared here
    AVCodecContext *codec;
                    ^
audio/audiooutpututil.cpp:252:5: error: use of undeclared identifier 'avcodec_get_frame_defaults'
    avcodec_get_frame_defaults(&frame);
    ^
audio/audiooutpututil.cpp:253:11: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
    ret = avcodec_decode_audio4(ctx, &frame, &got_frame, pkt);
          ^
/usr/local/include/libavcodec/avcodec.h:4852:5: note: 'avcodec_decode_audio4' declared here
audio/spdifencoder.cpp:int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,75
:30    ^:
 error: unknown type name 'CodecID'; did you mean 'AVCodecID'?
    codec->codec_id       = (CodecID)codec_id;
                             ^~~~~~~
                             AVCodecID
/usr/local/include/libavcodec/avcodec.h:214:6: note: 'AVCodecID' declared here
enum AVCodecID {
     ^
1 warningaudio/spdifencoder.cpp and :179 error: generated.
49: gmake[4]: *** [Makefile:1069: audiooutpututil.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
error: unknown type name 'CodecID'; did you mean 'AVCodecID'?
            .arg(muxer).arg(ff_codec_id_string((CodecID)codec_id)));
                                                ^~~~~~~
                                                AVCodecID
../libmythbase/mythlogging.h:37:34: note: expanded from macro 'LOG'
                         QString(_STRING_).toLocal8Bit().constData());  \
                                 ^
/usr/local/include/libavcodec/avcodec.h:214:6: note: 'AVCodecID' declared here
enum AVCodecID {
     ^
audio/spdifencoder.cpp:79:29: In file included from erroraudio/audiooutputdigitalencoder.cpp: :16:
useIn file included from audio/audiooutputdigitalencoder.h:8:
audio/spdifencoder.h:35:34: error: use of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
    unsigned char       m_buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE]; 
of                                  ^undeclared
 identifier 'ff_codec_id_string'In file included from audio/audiooutputdigitalencoder.cpp
:16            .arg(muxer).arg(ff_codec_id_string((CodecID)codec_id)));:

audio/audiooutputdigitalencoder.h                            ^:
23:../libmythbase/mythlogging.h17::37 :34:error : noteunknown:  typeexpanded  namefrom  'CodecID';macro  did'LOG' you
                          QString(_STRING_).toLocal8Bit().constData());  \mean
 'AVCodecID'?                                 ^

    bool   Init(CodecID codec_id, int bitrate, int samplerate, int channels);
audio/spdifencoder.cpp:                ^~~~~~~177
:28:                AVCodecID 
warning/usr/local/include/libavcodec/avcodec.h: :214:'codec'6 :is  deprecated note[-Wdeprecated-declarations]: 
'AVCodecID'        delete[] m_stream->codec->extradata; 
declared                            ^here

enum AVCodecID {/usr/local/include/libavformat/avformat.h
:893     ^:
21: audio/audiooutputdigitalencoder.cpp:95:5: error: unknown type name 'CodecID'; did you mean 'AVCodecID'?
    CodecID codec_id, int bitrate, int samplerate, int channels)note
:     ^~~~~~~'codec'
 declared     AVCodecIDhere

    AVCodecContext *codec;/usr/local/include/libavcodec/avcodec.h
:214                    ^:
6: note: 'AVCodecID' declared here
enum AVCodecID {audio/spdifencoder.cpp
:178     ^:
33: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        avcodec_close(m_stream->codec);
                                ^
/usr/local/include/libavformat/avformat.h:893:21: note: 'codec' declared here
    AVCodecContext *codec;
                    ^
audio/audiooutputdigitalencoder.cpp:102:18: error: use of undeclared identifier 'ff_codec_id_string'
            .arg(ff_codec_id_string(codec_id)) .arg(bitrate)
                 ^
../libmythbase/mythlogging.h:37:34: note: expanded from macro 'LOG'
                         QString(_STRING_).toLocal8Bit().constData());  \
                                 ^
In file included from audio/spdifencoder.cpp:6:
audio/spdifencoder.h:35:25: warning: private field 'm_buffer' is not used [-Wunused-private-field]
    unsigned char       m_buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE];
                        ^
4 warnings and 4 errors generated.
gmake[4]: *** [Makefile:1002: spdifencoder.o] Error 1
audio/audiooutputdigitalencoder.cpp:205:28: error: use of undeclared identifier 'avcodec_alloc_frame'
    AVFrame *frame       = avcodec_alloc_frame();
                           ^
audio/audiooutputdigitalencoder.cpp:235:29: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations]
        int ret           = avcodec_encode_audio2(av_context, &pkt, frame,
                            ^
/usr/local/include/libavcodec/avcodec.h:5377:5: note: 'avcodec_encode_audio2' declared here
int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
    ^
audio/audiooutputdigitalencoder.cpp:241:13: error: use of undeclared identifier 'avcodec_free_frame'; did you mean
      'avcodec_get_name'?
            avcodec_free_frame(&frame);
            ^~~~~~~~~~~~~~~~~~
            avcodec_get_name
/usr/local/include/libavcodec/avcodec.h:6289:13: note: 'avcodec_get_name' declared here
const char *avcodec_get_name(enum AVCodecID id);
            ^
audio/audiooutputdigitalencoder.cpp:241:32: error: cannot initialize a parameter of type 'enum AVCodecID' with an rvalue of type
      'AVFrame **'
            avcodec_free_frame(&frame);
                               ^~~~~~
/usr/local/include/libavcodec/avcodec.h:6289:45: note: passing argument to parameter 'id' here
const char *avcodec_get_name(enum AVCodecID id);
                                            ^
audio/audiooutputdigitalencoder.cpp:254:9: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
        av_free_packet(&pkt);
        ^
/usr/local/include/libavcodec/avcodec.h:4558:6: note: 'av_free_packet' declared here
void av_free_packet(AVPacket *pkt);
     ^
audio/audiooutputdigitalencoder.cpp:268:17: error: use of undeclared identifier 'avcodec_free_frame'; did you mean
      'avcodec_get_name'?
                avcodec_free_frame(&frame);
                ^~~~~~~~~~~~~~~~~~
                avcodec_get_name
/usr/local/include/libavcodec/avcodec.h:6289:13: note: 'avcodec_get_name' declared here
const char *avcodec_get_name(enum AVCodecID id);
            ^
audio/audiooutputdigitalencoder.cpp:268:36: error: cannot initialize a parameter of type 'enum AVCodecID' with an rvalue of type
      'AVFrame **'
                avcodec_free_frame(&frame);
                                   ^~~~~~
/usr/local/include/libavcodec/avcodec.h:6289:45: note: passing argument to parameter 'id' here
const char *avcodec_get_name(enum AVCodecID id);
                                            ^
audio/audiooutputdigitalencoder.cpp:283:5: error: use of undeclared identifier 'avcodec_free_frame'; did you mean
      'avcodec_get_name'?
    avcodec_free_frame(&frame);
    ^~~~~~~~~~~~~~~~~~
    avcodec_get_name
/usr/local/include/libavcodec/avcodec.h:6289:13: note: 'avcodec_get_name' declared here
const char *avcodec_get_name(enum AVCodecID id);
            ^
audio/audiooutputdigitalencoder.cpp:283:24: error: cannot initialize a parameter of type 'enum AVCodecID' with an rvalue of type
      'AVFrame **'
    avcodec_free_frame(&frame);
                       ^~~~~~
/usr/local/include/libavcodec/avcodec.h:6289:45: note: passing argument to parameter 'id' here
const char *avcodec_get_name(enum AVCodecID id);
                                            ^
2 warnings and 11 errors generated.
gmake[4]: *** [Makefile:1027: audiooutputdigitalencoder.o] Error 1
In file included from audio/audiooutputbase.cpp:15:
In file included from audio/audiooutputdigitalencoder.h:8:
audio/spdifencoder.h:35:34: error: use of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
    unsigned char       m_buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE];
                                 ^
In file included from audio/audiooutputbase.cpp:15audio/audiooutput.cpp:561:5: error: use of undeclared identifier 'avcodec_get_frame_defaults'
:
    avcodec_get_frame_defaults(&frame);audio/audiooutputdigitalencoder.h:23:17: error: unknown type name 'CodecID'; did you mean 'AVCodecID'?
    bool   Init(CodecID codec_id, int bitrate, int samplerate, int channels);
    ^

                ^~~~~~~
                AVCodecID
audio/audiooutput.cpp:562:11: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]/usr/local/include/libavcodec/avcodec.h:
214:    ret = avcodec_decode_audio4(ctx, &frame, &got_frame, pkt);
          ^
6: note: 'AVCodecID' declared here/usr/local/include/libavcodec/avcodec.h:4852:5: note: 'avcodec_decode_audio4' declared here

int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,enum AVCodecID {
     ^

    ^
1 warning and 1 error generated.
audio/audiooutputbase.cpp:646:38: error: unknown type name 'CodecID'; did you mean 'AVCodecID'?
            .arg(ff_codec_id_string((CodecID)codec))
                                     ^~~~~~~
                                     AVCodecID
audio/audiooutputbase.h:24:54: note: expanded from macro 'VBAUDIO'
#define VBAUDIO(str)   LOG(VB_AUDIO, LOG_INFO, LOC + str)
                                                     ^
../libmythbase/mythlogging.h:37:34: note: expanded from macro 'LOG'
                         QString(_STRING_).toLocal8Bit().constData());  \
                                 ^
/usr/local/include/libavcodec/avcodec.h:214:6: note: 'AVCodecID' declared here
enum AVCodecID {
     ^
gmake[4]: *** [Makefile:945: audiooutput.o] Error 1
audio/audiooutputbase.cpp:646:18: error: use of undeclared identifier 'ff_codec_id_string'
            .arg(ff_codec_id_string((CodecID)codec))
                 ^
audio/audiooutputbase.h:24:54: note: expanded from macro 'VBAUDIO'
#define VBAUDIO(str)   LOG(VB_AUDIO, LOG_INFO, LOC + str)
                                                     ^
../libmythbase/mythlogging.h:37:34: note: expanded from macro 'LOG'
                         QString(_STRING_).toLocal8Bit().constData());  \
                                 ^
In file included from audio/audiooutputbase.cpp:14:
audio/audiooutputbase.h:278:10: warning: private field 'memory_corruption_test0' is not used [-Wunused-private-field]
    uint memory_corruption_test0;
         ^
audio/audiooutputbase.h:280:10: warning: private field 'memory_corruption_test1' is not used [-Wunused-private-field]
    uint memory_corruption_test1;
         ^
audio/audiooutputbase.h:283:10: warning: private field 'memory_corruption_test2' is not used [-Wunused-private-field]
    uint memory_corruption_test2;
         ^
audio/audiooutputbase.h:288:10: warning: private field 'memory_corruption_test3' is not used [-Wunused-private-field]
    uint memory_corruption_test3;
         ^
4 warnings and 4 errors generated.
gmake[4]: *** [Makefile:981: audiooutputbase.o] Error 1
gmake[4]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs/libmyth'
gmake[3]: *** [Makefile:277: sub-libmyth-make_default] Error 2
gmake[3]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv/libs'
gmake[2]: *** [Makefile:67: libs] Error 2
gmake[2]: Leaving directory '/usr/ports/multimedia/mythtv/work/mythtv-ad97d24/mythtv'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/mythtv
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/mythtv
root at sullivan:/usr/ports/multimedia/mythtv # ^Dexit

Script done on Sun Jul 16 18:47:27 2017
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20170716/8bce437d/attachment.sig>


More information about the freebsd-multimedia mailing list