[mythtv] 28.0 build error

Richard Shaw hobbes1069 at gmail.com
Wed Apr 13 15:13:43 UTC 2016


Well I figured out that problem though it's not intuitive, I had to compare
the working log to the non working and the only difference in the entire
command was the include for X11, for some reason it was being set to
/usr/include on versions prior to 0.28 and worked fine but now needs to be
set to /usr/include/X11.

Now I'm having a similar issue with mytharchive but it was not built on the
plain jane build so I don't have anything to compare to:

make[2]: Entering directory
'/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/mythplugins/mytharchive/mytharchive'
g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
-fomit-frame-pointer -fno-devirtualize -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 -fvisibility=hidden
-fomit-frame-pointer -D_REENTRANT -std=c++0x -Wall -W -DPIC -fPIC
-D_GNU_SOURCE -DPREFIX="/usr" -DMMX -Dusing_libcec -D_FILE_OFFSET_BITS=64
-DMPLUGIN_API -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB
-DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I.
-I-I/usr/include/libcec -isystem /usr/include/libxml2 -isystem
/usr/include/X11
-I/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include
-isystem /usr/include
-I/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include/mythtv
-I/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include/mythtv/libmythbase
-I/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include/mythtv/libmythui
-I/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include/mythtv/libmyth
-I/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include/mythtv/libavformat
-I/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include/mythtv/libswscale
-isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem
/usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem
/usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSql -isystem
/usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.
-I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp
In file included from /usr/include/qt5/QtCore/QCoreApplication:1:0,
                 from decoder.h:10,
                 from decoder.cpp:8:
/usr/include/qt5/QtCore/qcoreapplication.h:122:24: error: missing binary
operator before token "("
 #if QT_DEPRECATED_SINCE(5, 3)
                        ^
/usr/include/qt5/QtCore/qcoreapplication.h:154: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
/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include/mythtv/libmythui/mythnotificationcenter.h:13,
                 from
/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include/mythtv/libmythui/mythmainwindow.h:7,
                 from
/home/build/rpmbuild/mythtv/BUILD/mythtv-28.0/fakeroot/usr/include/mythtv/mythdialogs.h:9,
                 from musicplayer.h:5,
                 from decoder.cpp:10:
/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)


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


More information about the mythtv-dev mailing list