[mythtv] 28.0 build error

Richard Shaw hobbes1069 at gmail.com
Wed Apr 13 13:16:18 UTC 2016


I'm trying to to test builds on my local machine before doing official
builds for Fedora/RPM Fusion but I'm  running into the following error:

make[1]: Entering directory
'/home/build/rpmbuild/mythtv/SOURCES/mythtv-28.0/mythtv/libs'
cd libmythfreesurround/ && ( test -e Makefile || /usr/bin/qmake-qt5
/home/build/rpmbuild/mythtv/SOURCES/mythtv-28.0/mythtv/libs/libmythfreesurround/
libmythfreesurround.pro QMAKE=/usr/bin/qmake-qt5 -o Makefile ) && make -f
Makefile
make[2]: Entering directory
'/home/build/rpmbuild/mythtv/SOURCES/mythtv-28.0/mythtv/libs/libmythfreesurround'
g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG
-fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -msse
-pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS
-D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Wmissing-declarations
-Wno-switch -Woverloaded-virtual -funit-at-a-time -fPIC -w -D_REENTRANT
-std=c++0x -DMMX -Dusing_libcec -D_GNU_SOURCE -DUSE_FFTW3 -DQT_GUI_LIB
-DQT_CORE_LIB -I. -I-I/usr/include/libcec -isystem /usr/include/libxml2
-isystem /usr/include -I../../external/FFmpeg -I../libmythbase -I.. -I../..
-isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem
/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o
freesurround.o freesurround.cpp
In file included from /usr/include/qt5/QtCore/QString:1:0,
                 from ../libmythbase/mythlogging.h:5,
                 from freesurround.cpp:33:
/usr/include/qt5/QtCore/qstring.h:553:24: error: missing binary operator
before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
/usr/include/qt5/QtCore/qstring.h:1009:24: error: missing binary operator
before token "("
 #if QT_DEPRECATED_SINCE(5, 3)
                        ^
/usr/include/qt5/QtCore/qstring.h:1038:24: error: missing binary operator
before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
/usr/include/qt5/QtCore/qstring.h:1419:24: error: missing binary operator
before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
/usr/include/qt5/QtCore/qstring.h:1580:24: error: missing binary operator
before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
In file included from /usr/include/qt5/QtCore/QDateTime:1:0,
                 from freesurround.cpp:38:
/usr/include/qt5/QtCore/qdatetime.h:89:24: error: missing binary operator
before token "("
 #if QT_DEPRECATED_SINCE(5,0)
                        ^
/usr/include/qt5/QtCore/qdatetime.h:286:24: error: missing binary operator
before token "("
 #if QT_DEPRECATED_SINCE(5, 2)
--- end ---

I do not get this error when doing a "plain jane" build (configure with no
other options) but I also tried building with all the typical settings from
Fedora minus build flags and it produced the output above.

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20160413/5dfa1884/attachment.html>


More information about the mythtv-dev mailing list