MythTV and ffmpeg error on FreeBSD 10.0

I almost posted here the other day to inquire on the status of your efforts with multimedia/mythtv hoping for good news. Then I saw your post.

From previous posts you will recall that I was able to successfully install multimedia/mythtv (0.27.0.20140121) on my FreeBSD-10.0-RELEASE VM. However, attempts to install the multimedia/mythtv (0.27.0.20140121_2) upgrade result in the following error:
Code:
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 -DMETA_API -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 -I/usr/include -I/usr/local -I/usr/local/include -I/usr/local/include/libxml2 -I../../external/qjson/include -I../../external/zeromq/include -I../../external/nzmqt/include/nzmqt -I../libmythbase -I../libmythtv -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I../libmyth -I../../external/libmythbluray -I/usr/local/include/taglib -I. -I/usr/local/include/qt4 -I/usr/local/include -o metaiomp4.o metaiomp4.cpp
metaiomp4.cpp:213:5: error: use of undeclared identifier 'av_estimate_timings'
    av_estimate_timings(pContext, 0);
    ^
1 error generated.
gmake[4]: *** [metaiomp4.o] Error 1
gmake[4]: Leaving directory `/usr/ports/multimedia/mythtv/work/MythTV-mythtv-5a5e1cd/mythtv/libs/libmythmetadata'
gmake[3]: *** [sub-libmythmetadata-make_default] Error 2
gmake[3]: Leaving directory `/usr/ports/multimedia/mythtv/work/MythTV-mythtv-5a5e1cd/mythtv/libs'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv/work/MythTV-mythtv-5a5e1cd/mythtv'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
This error is very different from yours and I'm dead in the water here too.
 
Hi, big news on this issue!

The port maintainer seems to have found the reason of my issue. According to him
it's an ancient compatibility symlink that is not needed anymore and
confused mythtv's fragile build system
To be specific it's the file /usr/X11R6 which is linked to /usr/local. So after removing this link (make sure it's not a directory) rm /usr/X11R6 the compilation went past the previos errors and ended on the same error as pasted by @trh411 in the previous post.

This is probably a general error in the last version of multimedia/mythtv. I'll investigate again :OOO
 
Last edited by a moderator:
Uninstalling multimedia/ffmpeg helped me to get past the error. Now after a couple of months I have mythtv installed again, now I'm battling with the configuration because there's some problem with the receivers. but I think we can flag all the issues mentioned in this thread as SOLVED.
 
Back
Top