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:
[1maudio/spdifencoder.h:35:34: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'[0m
unsigned char m_buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE];
[0;1;32m ^
[0m[1maudio/spdifencoder.cpp:73:39: [0m[0;1;35mwarning: [0m[1m'codec' is deprecated [-Wdeprecated-declarations][0m
AVCodecContext *codec = m_stream->codec;
[0;1;32m ^
[0m[1m/usr/local/include/libavformat/avformat.h:893:21: [0m[0;1;30mnote: [0m'codec' declared here[0m
AVCodecContext *codec;
[0;1;32m ^
[0m[1maudio/audiooutpututil.cpp:252:5: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'avcodec_get_frame_defaults'[0m
avcodec_get_frame_defaults(&frame);
[0;1;32m ^
[0m[1maudio/audiooutpututil.cpp:253:11: [0m[0;1;35mwarning: [0m[1m'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations][0m
ret = avcodec_decode_audio4(ctx, &frame, &got_frame, pkt);
[0;1;32m ^
[0m[1m/usr/local/include/libavcodec/avcodec.h:4852:5: [0m[0;1;30mnote: [0m'avcodec_decode_audio4' declared here[0m
[1maudio/spdifencoder.cpp:int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,75
:[0;1;32m30 ^:
[0m[0m[0;1;31merror: [0m[1munknown type name 'CodecID'; did you mean 'AVCodecID'?[0m
codec->codec_id = (CodecID)codec_id;
[0;1;32m ^~~~~~~
[0m[0;32m AVCodecID
[0m[1m/usr/local/include/libavcodec/avcodec.h:214:6: [0m[0;1;30mnote: [0m'AVCodecID' declared here[0m
enum AVCodecID {
[0;1;32m ^
[0m1[1m warningaudio/spdifencoder.cpp and :179 error: generated.
49: [0mgmake[4]: *** [Makefile:1069: audiooutpututil.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
[0;1;31merror: [0m[1munknown type name 'CodecID'; did you mean 'AVCodecID'?[0m
.arg(muxer).arg(ff_codec_id_string((CodecID)codec_id)));
[0;1;32m ^~~~~~~
[0m[0;32m AVCodecID
[0m[1m../libmythbase/mythlogging.h:37:34: [0m[0;1;30mnote: [0mexpanded from macro 'LOG'[0m
QString(_STRING_).toLocal8Bit().constData()); \
[0;1;32m ^
[0m[1m/usr/local/include/libavcodec/avcodec.h:214:6: [0m[0;1;30mnote: [0m'AVCodecID' declared here[0m
enum AVCodecID {
[0;1;32m ^
[0m[1maudio/spdifencoder.cpp:79:29: [0m[0;1;31mIn file included from erroraudio/audiooutputdigitalencoder.cpp: :[0m16[1m:
useIn file included from audio/audiooutputdigitalencoder.h:8:
[1maudio/spdifencoder.h:35:34: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'[0m
unsigned char m_buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE];
of[0;1;32m ^undeclared
[0midentifier 'ff_codec_id_string'[0mIn file included from audio/audiooutputdigitalencoder.cpp
:16 .arg(muxer).arg(ff_codec_id_string((CodecID)codec_id)));:
[1m[0;1;32maudio/audiooutputdigitalencoder.h ^:
23[0m:[1m../libmythbase/mythlogging.h17::37 :[0m34[0;1;31m:error : [0m[0m[0;1;30m[1mnoteunknown: [0mtypeexpanded namefrom 'CodecID';macro did'LOG' [0myou
QString(_STRING_).toLocal8Bit().constData()); \mean
[0;1;32m'AVCodecID'? ^[0m
[0m[1m bool Init(CodecID codec_id, int bitrate, int samplerate, int channels);
audio/spdifencoder.cpp[0;1;32m: ^~~~~~~177
:[0m28[0;32m: AVCodecID
[0m[0m[0;1;35m[1mwarning/usr/local/include/libavcodec/avcodec.h: :[0m214[1m:'codec'6 :is [0mdeprecated[0;1;30m note[-Wdeprecated-declarations]: [0m[0m
'AVCodecID' delete[] m_stream->codec->extradata;
declared[0;1;32m ^here
[0m[0m
[1menum AVCodecID {/usr/local/include/libavformat/avformat.h
:[0;1;32m893 ^:
21[0m: [0m[1m[0;1;30maudio/audiooutputdigitalencoder.cpp:95:5: [0m[0;1;31merror: [0m[1munknown type name 'CodecID'; did you mean 'AVCodecID'?[0m
CodecID codec_id, int bitrate, int samplerate, int channels)note
: [0;1;32m[0m ^~~~~~~'codec'
[0mdeclared[0;32m AVCodecIDhere
[0m[0m
[1m AVCodecContext *codec;/usr/local/include/libavcodec/avcodec.h
:[0;1;32m214 ^:
6[0m:[1m [0m[0;1;30mnote: [0m'AVCodecID' declared here[0m
enum AVCodecID {audio/spdifencoder.cpp
:[0;1;32m178 ^:
33[0m: [0m[0;1;35mwarning: [0m[1m'codec' is deprecated [-Wdeprecated-declarations][0m
avcodec_close(m_stream->codec);
[0;1;32m ^
[0m[1m/usr/local/include/libavformat/avformat.h:893:21: [0m[0;1;30mnote: [0m'codec' declared here[0m
AVCodecContext *codec;
[0;1;32m ^
[0m[1maudio/audiooutputdigitalencoder.cpp:102:18: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'ff_codec_id_string'[0m
.arg(ff_codec_id_string(codec_id)) .arg(bitrate)
[0;1;32m ^
[0m[1m../libmythbase/mythlogging.h:37:34: [0m[0;1;30mnote: [0mexpanded from macro 'LOG'[0m
QString(_STRING_).toLocal8Bit().constData()); \
[0;1;32m ^
[0mIn file included from audio/spdifencoder.cpp:6:
[1maudio/spdifencoder.h:35:25: [0m[0;1;35mwarning: [0m[1mprivate field 'm_buffer' is not used [-Wunused-private-field][0m
unsigned char m_buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE];
[0;1;32m ^
[0m4 warnings and 4 errors generated.
gmake[4]: *** [Makefile:1002: spdifencoder.o] Error 1
[1maudio/audiooutputdigitalencoder.cpp:205:28: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'avcodec_alloc_frame'[0m
AVFrame *frame = avcodec_alloc_frame();
[0;1;32m ^
[0m[1maudio/audiooutputdigitalencoder.cpp:235:29: [0m[0;1;35mwarning: [0m[1m'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations][0m
int ret = avcodec_encode_audio2(av_context, &pkt, frame,
[0;1;32m ^
[0m[1m/usr/local/include/libavcodec/avcodec.h:5377:5: [0m[0;1;30mnote: [0m'avcodec_encode_audio2' declared here[0m
int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
[0;1;32m ^
[0m[1maudio/audiooutputdigitalencoder.cpp:241:13: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'avcodec_free_frame'; did you mean
'avcodec_get_name'?[0m
avcodec_free_frame(&frame);
[0;1;32m ^~~~~~~~~~~~~~~~~~
[0m[0;32m avcodec_get_name
[0m[1m/usr/local/include/libavcodec/avcodec.h:6289:13: [0m[0;1;30mnote: [0m'avcodec_get_name' declared here[0m
const char *avcodec_get_name(enum AVCodecID id);
[0;1;32m ^
[0m[1maudio/audiooutputdigitalencoder.cpp:241:32: [0m[0;1;31merror: [0m[1mcannot initialize a parameter of type 'enum AVCodecID' with an rvalue of type
'AVFrame **'[0m
avcodec_free_frame(&frame);
[0;1;32m ^~~~~~
[0m[1m/usr/local/include/libavcodec/avcodec.h:6289:45: [0m[0;1;30mnote: [0mpassing argument to parameter 'id' here[0m
const char *avcodec_get_name(enum AVCodecID id);
[0;1;32m ^
[0m[1maudio/audiooutputdigitalencoder.cpp:254:9: [0m[0;1;35mwarning: [0m[1m'av_free_packet' is deprecated [-Wdeprecated-declarations][0m
av_free_packet(&pkt);
[0;1;32m ^
[0m[1m/usr/local/include/libavcodec/avcodec.h:4558:6: [0m[0;1;30mnote: [0m'av_free_packet' declared here[0m
void av_free_packet(AVPacket *pkt);
[0;1;32m ^
[0m[1maudio/audiooutputdigitalencoder.cpp:268:17: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'avcodec_free_frame'; did you mean
'avcodec_get_name'?[0m
avcodec_free_frame(&frame);
[0;1;32m ^~~~~~~~~~~~~~~~~~
[0m[0;32m avcodec_get_name
[0m[1m/usr/local/include/libavcodec/avcodec.h:6289:13: [0m[0;1;30mnote: [0m'avcodec_get_name' declared here[0m
const char *avcodec_get_name(enum AVCodecID id);
[0;1;32m ^
[0m[1maudio/audiooutputdigitalencoder.cpp:268:36: [0m[0;1;31merror: [0m[1mcannot initialize a parameter of type 'enum AVCodecID' with an rvalue of type
'AVFrame **'[0m
avcodec_free_frame(&frame);
[0;1;32m ^~~~~~
[0m[1m/usr/local/include/libavcodec/avcodec.h:6289:45: [0m[0;1;30mnote: [0mpassing argument to parameter 'id' here[0m
const char *avcodec_get_name(enum AVCodecID id);
[0;1;32m ^
[0m[1maudio/audiooutputdigitalencoder.cpp:283:5: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'avcodec_free_frame'; did you mean
'avcodec_get_name'?[0m
avcodec_free_frame(&frame);
[0;1;32m ^~~~~~~~~~~~~~~~~~
[0m[0;32m avcodec_get_name
[0m[1m/usr/local/include/libavcodec/avcodec.h:6289:13: [0m[0;1;30mnote: [0m'avcodec_get_name' declared here[0m
const char *avcodec_get_name(enum AVCodecID id);
[0;1;32m ^
[0m[1maudio/audiooutputdigitalencoder.cpp:283:24: [0m[0;1;31merror: [0m[1mcannot initialize a parameter of type 'enum AVCodecID' with an rvalue of type
'AVFrame **'[0m
avcodec_free_frame(&frame);
[0;1;32m ^~~~~~
[0m[1m/usr/local/include/libavcodec/avcodec.h:6289:45: [0m[0;1;30mnote: [0mpassing argument to parameter 'id' here[0m
const char *avcodec_get_name(enum AVCodecID id);
[0;1;32m ^
[0m2 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:
[1maudio/spdifencoder.h:35:34: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'[0m
unsigned char m_buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE];
[0;1;32m ^
[0mIn file included from audio/audiooutputbase.cpp[1m:15audio/audiooutput.cpp:561:5: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'avcodec_get_frame_defaults'[0m
:
avcodec_get_frame_defaults(&frame);[1maudio/audiooutputdigitalencoder.h:23:17: [0m[0;1;31merror: [0m[1munknown type name 'CodecID'; did you mean 'AVCodecID'?[0m
bool Init(CodecID codec_id, int bitrate, int samplerate, int channels);
[0;1;32m ^
[0m
[1m[0;1;32m ^~~~~~~
[0m[0;32m AVCodecID
[0maudio/audiooutput.cpp:562:11: [0m[0;1;35mwarning: [0m[1m'avcodec_decode_audio4' is deprecated [1m[-Wdeprecated-declarations]/usr/local/include/libavcodec/avcodec.h[0m:
214: ret = avcodec_decode_audio4(ctx, &frame, &got_frame, pkt);
[0;1;32m ^
[0m6: [0m[0;1;30mnote: [0m'AVCodecID' declared here[1m/usr/local/include/libavcodec/avcodec.h:4852:5: [0m[0;1;30mnote: [0m'avcodec_decode_audio4' declared here[0m
[0m
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,enum AVCodecID {
[0;1;32m ^
[0m
[0;1;32m ^
[0m1 warning and 1 error generated.
[1maudio/audiooutputbase.cpp:646:38: [0m[0;1;31merror: [0m[1munknown type name 'CodecID'; did you mean 'AVCodecID'?[0m
.arg(ff_codec_id_string((CodecID)codec))
[0;1;32m ^~~~~~~
[0m[0;32m AVCodecID
[0m[1maudio/audiooutputbase.h:24:54: [0m[0;1;30mnote: [0mexpanded from macro 'VBAUDIO'[0m
#define VBAUDIO(str) LOG(VB_AUDIO, LOG_INFO, LOC + str)
[0;1;32m ^
[0m[1m../libmythbase/mythlogging.h:37:34: [0m[0;1;30mnote: [0mexpanded from macro 'LOG'[0m
QString(_STRING_).toLocal8Bit().constData()); \
[0;1;32m ^
[0m[1m/usr/local/include/libavcodec/avcodec.h:214:6: [0m[0;1;30mnote: [0m'AVCodecID' declared here[0m
enum AVCodecID {
[0;1;32m ^
[0mgmake[4]: *** [Makefile:945: audiooutput.o] Error 1
[1maudio/audiooutputbase.cpp:646:18: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'ff_codec_id_string'[0m
.arg(ff_codec_id_string((CodecID)codec))
[0;1;32m ^
[0m[1maudio/audiooutputbase.h:24:54: [0m[0;1;30mnote: [0mexpanded from macro 'VBAUDIO'[0m
#define VBAUDIO(str) LOG(VB_AUDIO, LOG_INFO, LOC + str)
[0;1;32m ^
[0m[1m../libmythbase/mythlogging.h:37:34: [0m[0;1;30mnote: [0mexpanded from macro 'LOG'[0m
QString(_STRING_).toLocal8Bit().constData()); \
[0;1;32m ^
[0mIn file included from audio/audiooutputbase.cpp:14:
[1maudio/audiooutputbase.h:278:10: [0m[0;1;35mwarning: [0m[1mprivate field 'memory_corruption_test0' is not used [-Wunused-private-field][0m
uint memory_corruption_test0;
[0;1;32m ^
[0m[1maudio/audiooutputbase.h:280:10: [0m[0;1;35mwarning: [0m[1mprivate field 'memory_corruption_test1' is not used [-Wunused-private-field][0m
uint memory_corruption_test1;
[0;1;32m ^
[0m[1maudio/audiooutputbase.h:283:10: [0m[0;1;35mwarning: [0m[1mprivate field 'memory_corruption_test2' is not used [-Wunused-private-field][0m
uint memory_corruption_test2;
[0;1;32m ^
[0m[1maudio/audiooutputbase.h:288:10: [0m[0;1;35mwarning: [0m[1mprivate field 'memory_corruption_test3' is not used [-Wunused-private-field][0m
uint memory_corruption_test3;
[0;1;32m ^
[0m4 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