Comment 10 for bug 1699794

Revision history for this message
In , Rik Mills (rikmills) wrote :

Ref bug: https://bugs.launchpad.net/ubuntu/+source/simon/+bug/1699794

This blocks transition to OpenCV 3.1 in artful, so maye have to lose Simon from artful release/archive if not resolvable.

In version 0.4.1:

[ 39%] Linking CXX shared module ../../../lib/simonatspicommandplugin.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/Commands/ATSPI && /usr/bin/cmake -E cmake_link_script CMakeFiles/simonatspicommandplugin.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -shared -o ../../../lib/simonatspicommandplugin.so CMakeFiles/simonatspicommandplugin.dir/simonatspicommandplugin_automoc.cpp.o CMakeFiles/simonatspicommandplugin.dir/atspicommandmanager.cpp.o CMakeFiles/simonatspicommandplugin.dir/atspiconfiguration.cpp.o CMakeFiles/simonatspicommandplugin.dir/atspiscanner.cpp.o -L/usr/share/OpenCV/3rdparty/lib/x86_64-linux-gnu -Wl,-rpath,/usr/share/OpenCV/3rdparty/lib/x86_64-linux-gnu:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib: /usr/lib/x86_64-linux-gnu/libQtXml.so /usr/lib/x86_64-linux-gnu/libqaccessibilityclient.so.0.1.0 ../../../lib/libsimonactions.so.0.4.1 -lQtCore -lQtDBus -lQtGui ../../../lib/libsimonscenarios.so.0.4.1 /usr/lib/libkdeui.so.5.14.30 /usr/lib/x86_64-linux-gnu/libQtSvg.so /usr/lib/x86_64-linux-gnu/libQtXml.so /usr/lib/x86_64-linux-gnu/libQtGui.so /usr/lib/libkdecore.so.5.14.30 /usr/lib/x86_64-linux-gnu/libQtDBus.so /usr/lib/x86_64-linux-gnu/libQtCore.so -Wl,-rpath-link,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib
CMakeFiles/simonatspicommandplugin.dir/atspiscanner.cpp.o: In function `QHash<QAccessibleClient::AccessibleObject, QPair<QString, QList<QAccessibleClient::AccessibleObject> > >::findNode(QAccessibleClient::AccessibleObject const&, unsigned int*) const':
atspiscanner.cpp:(.text._ZNK5QHashIN17QAccessibleClient16AccessibleObjectE5QPairI7QString5QListIS1_EEE8findNodeERKS1_Pj[_ZNK5QHashIN17QAccessibleClient16AccessibleObjectE5QPairI7QString5QListIS1_EEE8findNodeERKS1_Pj]+0x1c): undefined reference to `qHash(QAccessibleClient::AccessibleObject const&)'
collect2: error: ld returned 1 exit status
plugins/Commands/ATSPI/CMakeFiles/simonatspicommandplugin.dir/build.make:193: recipe for target 'lib/simonatspicommandplugin.so' failed
make[3]: *** [lib/simonatspicommandplugin.so] Error 1

In version 0.4.90:

[ 10%] Building CXX object simonlib/simonactions/CMakeFiles/simonactions.dir/simonactions_automoc.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions && /usr/bin/c++ -DBACKEND_TYPE_BOTH -DHAVE_LIBSAMPLERATE_H -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=19 -DKDE_DEPRECATED_WARNINGS -DMAKE_SIMONACTIONS_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DUSE_PLASMA -DUSE_WITH_SIMON -DWITH_SIMONCV -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions -I/<<PKGBUILDDIR>>/simonlib/simonactions -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/../../simonlib -I/<<PKGBUILDDIR>>/simonlib -I/usr/include/alsa -I/usr/include/opencv -I/usr/include/pocketsphinx -I/usr/include/x86_64-linux-gnu/sphinxbase -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/KDE -I/usr/include/qwt -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fexceptions -o CMakeFiles/simonactions.dir/simonactions_automoc.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/simonactions_automoc.cpp
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/simonactions_automoc.cpp:4:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/moc_actionmanager.cpp: In static member function ‘static void ActionManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/moc_actionmanager.cpp:98:79: error: variable ‘QHash<CommandListElements::Element, VoiceInterfaceCommand*> _r’ has initializer but incomplete type
         case 11: { QHash<CommandListElements::Element,VoiceInterfaceCommand*> _r = _t->getGlobalListInterfaceCommands();
                                                                               ^~
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/moc_actionmanager.cpp:98:119: error: invalid use of incomplete type ‘class QHash<CommandListElements::Element, VoiceInterfaceCommand*>’
         case 11: { QHash<CommandListElements::Element,VoiceInterfaceCommand*> _r = _t->getGlobalListInterfaceCommands();
                                                                                                                       ^
In file included from /usr/include/qt4/QtGui/qfont.h:45:0,
                 from /usr/include/qt4/QtGui/QFont:1,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/../../../simonlib/simonactions/actionmanager.h:25,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/moc_actionmanager.cpp:9,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/simonactions_automoc.cpp:4:
/usr/include/qt4/QtGui/qwindowdefs.h:148:34: note: declaration of ‘class QHash<CommandListElements::Element, VoiceInterfaceCommand*>’
 template<class K, class V> class QHash;
                                  ^~~~~
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/simonactions_automoc.cpp:4:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/moc_actionmanager.cpp:100:79: error: variable ‘QHash<CommandListElements::Element, VoiceInterfaceCommand*> _r’ has initializer but incomplete type
         case 12: { QHash<CommandListElements::Element,VoiceInterfaceCommand*> _r = _t->getListInterfaceCommands();
                                                                               ^~
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/moc_actionmanager.cpp:100:113: error: invalid use of incomplete type ‘class QHash<CommandListElements::Element, VoiceInterfaceCommand*>’
         case 12: { QHash<CommandListElements::Element,VoiceInterfaceCommand*> _r = _t->getListInterfaceCommands();
                                                                                                                 ^
In file included from /usr/include/qt4/QtGui/qfont.h:45:0,
                 from /usr/include/qt4/QtGui/QFont:1,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/../../../simonlib/simonactions/actionmanager.h:25,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/moc_actionmanager.cpp:9,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/simonlib/simonactions/simonactions_automoc.cpp:4:
/usr/include/qt4/QtGui/qwindowdefs.h:148:34: note: declaration of ‘class QHash<CommandListElements::Element, VoiceInterfaceCommand*>’
 template<class K, class V> class QHash;
                                  ^~~~~
simonlib/simonactions/CMakeFiles/simonactions.dir/build.make:84: recipe for target 'simonlib/simonactions/CMakeFiles/simonactions.dir/simonactions_automoc.cpp.o' failed
make[3]: *** [simonlib/simonactions/CMakeFiles/simonactions.dir/simonactions_automoc.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:414: recipe for target 'simonlib/simonactions/CMakeFiles/simonactions.dir/all' failed
make[2]: *** [simonlib/simonactions/CMakeFiles/simonactions.dir/all] Error 2