[mythtv-commits] Ticket #12409: x86_64 plugins built only after I removed qt4 devel libs on opensuse
MythTV
noreply at mythtv.org
Tue Mar 10 13:17:34 UTC 2015
#12409: x86_64 plugins built only after I removed qt4 devel libs on opensuse
----------------------------------------------+----------------------------
Reporter: Yianni Vidalis <yiannividalis@…> | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master
| Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------------------+----------------------------
Comment (by yiannividalis@…):
Yes, the bahaviour is the same on another x86_64 opensuse system.
Mythplugins will not build initially.
{{{
panayiota at magnum:~/mythtv-git/mythplugins> ./configure --prefix=/usr
--enable-mythgallery
Configuration settings:
qmake /usr/bin/qmake-qt5
MythArchive plugin will be built
MythBrowser plugin will be built
MythGallery plugin will be built
MythGame plugin will be built
MythMusic plugin will be built
MythNetvision plugin will be built
MythNews plugin will be built
MythWeather plugin will be built
MythZoneMinder plugin will be built
OpenGL support will be included in MythGallery
EXIF support will be included in MythGallery
Dcraw support will be included in MythGallery
libcdio support will be included in MythMusic
FFTW v.3 support will be included in MythMusic
panayiota at magnum:~/mythtv-git/mythplugins> make
cd mytharchive/ && ( test -e Makefile || /usr/bin/qmake-qt5
/home/panayiota/mythtv-git/mythplugins/mytharchive/mytharchive.pro
QMAKE=/usr/bin/qmake-qt5 -o Makefile ) && make -f Makefile
make[1]: Entering directory '/home/panayiota/mythtv-
git/mythplugins/mytharchive'
cd mytharchive/ && ( test -e Makefile || /usr/bin/qmake-qt5
/home/panayiota/mythtv-
git/mythplugins/mytharchive/mytharchive/mytharchive.pro QMAKE=/usr/bin
/qmake-qt5 -o Makefile ) && make -f Makefile
make[2]: Entering directory '/home/panayiota/mythtv-
git/mythplugins/mytharchive/mytharchive'
ccache g++ -c -pipe -march=k8-sse3 -DNDEBUG -fomit-frame-pointer -fPIC
-DQT_DISABLE_DEPRECATED_BEFORE -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 -g -D_REENTRANT -Wall -W -DPIC -fPIC -D_GNU_SOURCE
-DPREFIX="/usr" -DMMX -D_FILE_OFFSET_BITS=64 -DMPLUGIN_API -DQT_PLUGIN
-DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/include
-I/usr/lib64/qt5/mkspecs/linux-g++ -I. -isystem /usr/include -isystem
/usr/include/libxml2 -isystem /usr/include/mythtv -isystem
/usr/include/mythtv/libmythbase -isystem /usr/include/mythtv/libmythui
-isystem /usr/include/mythtv/libmyth -isystem
/usr/include/mythtv/libavformat -isystem /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. -o main.o
main.cpp
In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
from main.cpp:15:
/usr/include/qt5/QtWidgets/qapplication.h:103:24: error: missing binary
operator before token "("
#if QT_DEPRECATED_SINCE(5, 0)
^
/usr/include/qt5/QtWidgets/qapplication.h:143:24: error: missing binary
operator before token "("
#if QT_DEPRECATED_SINCE(5, 0)
^
/usr/include/qt5/QtWidgets/qapplication.h:173:24: error: missing binary
operator before token "("
#if QT_DEPRECATED_SINCE(5, 0)
^
In file included from /usr/include/qt5/QtSql/QSqlError:1:0,
from /usr/include/mythtv/mythdbcon.h:6,
from /usr/include/mythtv/mythdb.h:8,
from /usr/include/mythtv/mythcorecontext.h:8,
from /usr/include/mythtv/mythcontext.h:7,
from main.cpp:21:
/usr/include/qt5/QtSql/qsqlerror.h:54:24: error: missing binary operator
before token "("
#if QT_DEPRECATED_SINCE(5, 3)
^
/usr/include/qt5/QtSql/qsqlerror.h:71:24: error: missing binary operator
before token "("
#if QT_DEPRECATED_SINCE(5, 3)
^
/usr/include/qt5/QtSql/qsqlerror.h:78:24: error: missing binary operator
before token "("
#if QT_DEPRECATED_SINCE(5, 1)
^
In file included from /usr/include/qt5/QtCore/QDateTime:1:0,
from /usr/include/mythtv/mythdbcon.h:10,
from /usr/include/mythtv/mythdb.h:8,
from /usr/include/mythtv/mythcorecontext.h:8,
from /usr/include/mythtv/mythcontext.h:7,
from main.cpp:21:
/usr/include/qt5/QtCore/qdatetime.h:80:24: error: missing binary operator
before token "("
#if QT_DEPRECATED_SINCE(5,0)
^
/usr/include/qt5/QtCore/qdatetime.h:271:24: error: missing binary operator
before token "("
#if QT_DEPRECATED_SINCE(5, 2)
^
In file included from /usr/include/qt5/QtGui/QRegion:1:0,
from /usr/include/mythtv/libmythui/mythuitype.h:5,
from /usr/include/mythtv/libmythui/mythuicomposite.h:4,
from /usr/include/mythtv/libmythui/mythscreentype.h:4,
from /usr/include/mythtv/libmythui/myththemedmenu.h:4,
from main.cpp:26:
/usr/include/qt5/QtGui/qregion.h:91:24: error: missing binary operator
before token "("
#if QT_DEPRECATED_SINCE(5, 0)
^
In file included from /usr/include/qt5/QtGui/QFont:1:0,
from /usr/include/mythtv/libmythui/mythuitype.h:9,
from /usr/include/mythtv/libmythui/mythuicomposite.h:4,
from /usr/include/mythtv/libmythui/mythscreentype.h:4,
from /usr/include/mythtv/libmythui/myththemedmenu.h:4,
from main.cpp:26:
/usr/include/qt5/QtGui/qfont.h:238:24: error: missing binary operator
before token "("
#if QT_DEPRECATED_SINCE(5, 3)
^
/usr/include/qt5/QtGui/qfont.h:255:24: error: missing binary operator
before token "("
#if QT_DEPRECATED_SINCE(5, 0)
^
In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:39:0,
from /usr/include/qt5/QtWidgets/qlistview.h:37,
from /usr/include/qt5/QtWidgets/qlistwidget.h:37,
from /usr/include/qt5/QtWidgets/QListWidget:1,
from /usr/include/mythtv/mythwidgets.h:22,
from /usr/include/mythtv/settings.h:14,
from archivesettings.h:12,
from main.cpp:31:
/usr/include/qt5/QtCore/qitemselectionmodel.h:85:24: error: missing binary
operator before token "("
#if QT_DEPRECATED_SINCE(5, 0)
^
In file included from /usr/include/qt5/QtGui/qguiapplication.h:39:0,
from /usr/include/qt5/QtWidgets/qapplication.h:48,
from /usr/include/qt5/QtWidgets/QApplication:1,
from main.cpp:15:
/usr/include/qt5/QtGui/qinputmethod.h:82:5: error: ‘QLocale’ does not name
a type
QLocale locale() const;
^
/usr/include/qt5/QtGui/qinputmethod.h:91:21: error:
‘Qt::InputMethodQueries’ has not been declared
void update(Qt::InputMethodQueries queries);
^
In file included from /usr/include/qt5/QtWidgets/qapplication.h:48:0,
from /usr/include/qt5/QtWidgets/QApplication:1,
from main.cpp:15:
/usr/include/qt5/QtGui/qguiapplication.h:85:12: error: ‘QWindowList’ does
not name a type
static QWindowList allWindows();
^
/usr/include/qt5/QtGui/qguiapplication.h:86:12: error: ‘QWindowList’ does
not name a type
static QWindowList topLevelWindows();
^
/usr/include/qt5/QtGui/qguiapplication.h:138:12: error: ‘QFunctionPointer’
does not name a type
static QFunctionPointer platformFunction(const QByteArray &function);
^
/usr/include/qt5/QtGui/qguiapplication.h:143:12: error: ‘ApplicationState’
in namespace ‘Qt’ does not name a type
static Qt::ApplicationState applicationState();
^
/usr/include/qt5/QtGui/qguiapplication.h:164:38: error:
‘Qt::ApplicationState’ has not been declared
void applicationStateChanged(Qt::ApplicationState state);
^
In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
from main.cpp:15:
/usr/include/qt5/QtWidgets/qapplication.h:68:37: error: expected
initializer before ‘:’ token
class Q_WIDGETS_EXPORT QApplication : public QGuiApplication
^
Makefile:529: recipe for target 'main.o' failed
make[2]: *** [main.o] Error 1
make[2]: Leaving directory '/home/panayiota/mythtv-
git/mythplugins/mytharchive/mytharchive'
Makefile:45: recipe for target 'sub-mytharchive-make_first' failed
make[1]: *** [sub-mytharchive-make_first] Error 2
make[1]: Leaving directory '/home/panayiota/mythtv-
git/mythplugins/mytharchive'
Makefile:51: recipe for target 'sub-mytharchive-make_first' failed
make: *** [sub-mytharchive-make_first] Error 2
}}}
I think I can afford not building the plugins for now, should any
developer want me to make further tests. I am sure that if I remove and
reinstall the qt4 devel libs, I'll be able to build the plugins without
problem, but it will be irreversible.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12409#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list