[Okular-devel] Build failed in Jenkins: okular_master #442

KDE CI System null at kde.org
Sat May 10 08:27:50 UTC 2014


See <http://build.kde.org/job/okular_master/442/changes>

Changes:

[aacid] small docu fix

------------------------------------------
[...truncated 1104 lines...]
         case 5: _t->testDottedI(); break;
                                 ^
<http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:266:6: error: ‘void SearchTest::testHyphenAtEndOfLineWithoutYOverlap()’ is private
 void SearchTest::testHyphenAtEndOfLineWithoutYOverlap()
      ^
In file included from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:434:0:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:143:58: error: within this context
         case 6: _t->testHyphenAtEndOfLineWithoutYOverlap(); break;
                                                          ^
<http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:311:6: error: ‘void SearchTest::testHyphenWithYOverlap()’ is private
 void SearchTest::testHyphenWithYOverlap()
      ^
In file included from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:434:0:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:144:44: error: within this context
         case 7: _t->testHyphenWithYOverlap(); break;
                                            ^
<http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:342:6: error: ‘void SearchTest::testHyphenAtEndOfPage()’ is private
 void SearchTest::testHyphenAtEndOfPage()
      ^
In file included from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:434:0:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:145:43: error: within this context
         case 8: _t->testHyphenAtEndOfPage(); break;
                                           ^
<http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:373:6: error: ‘void SearchTest::testOneColumn()’ is private
 void SearchTest::testOneColumn()
      ^
In file included from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:434:0:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:146:35: error: within this context
         case 9: _t->testOneColumn(); break;
                                   ^
<http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:404:6: error: ‘void SearchTest::testTwoColumns()’ is private
 void SearchTest::testTwoColumns()
      ^
In file included from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:434:0:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:147:37: error: within this context
         case 10: _t->testTwoColumns(); break;
                                     ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: At global scope:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:154:36: error: ‘Okular::SearchTest’ has not been declared
 const QMetaObjectExtraData Okular::SearchTest::staticMetaObjectExtraData = {
                                    ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:154:48: error: redefinition of ‘const QMetaObjectExtraData staticMetaObjectExtraData’
 const QMetaObjectExtraData Okular::SearchTest::staticMetaObjectExtraData = {
                                                ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:54:28: error: ‘const QMetaObjectExtraData staticMetaObjectExtraData’ previously defined here
 const QMetaObjectExtraData Okular::SearchFinishedReceiver::staticMetaObjectExtraData = {
                            ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:158:27: error: ‘Okular::SearchTest’ has not been declared
 const QMetaObject Okular::SearchTest::staticMetaObject = {
                           ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:158:39: error: redefinition of ‘const QMetaObject staticMetaObject’
 const QMetaObject Okular::SearchTest::staticMetaObject = {
                                       ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:58:19: error: ‘const QMetaObject staticMetaObject’ previously defined here
 const QMetaObject Okular::SearchFinishedReceiver::staticMetaObject = {
                   ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:167:28: error: ‘Okular::SearchTest’ has not been declared
 const QMetaObject *Okular::SearchTest::metaObject() const
                            ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:167:53: error: non-member function ‘const QMetaObject* metaObject()’ cannot have cv-qualifier
 const QMetaObject *Okular::SearchTest::metaObject() const
                                                     ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: In function ‘const QMetaObject* metaObject()’:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:167:20: error: redefinition of ‘const QMetaObject* metaObject()’
 const QMetaObject *Okular::SearchTest::metaObject() const
                    ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:67:20: error: ‘const QMetaObject* metaObject()’ previously defined here
 const QMetaObject *Okular::SearchFinishedReceiver::metaObject() const
                    ^
In file included from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qsharedpointer_impl.h:63:0,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qsharedpointer.h:50,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qdatetime.h:47,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/QDate:1,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qlibraryinfo.h:46,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/QtCore:6,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtTest/QtTest:3,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/kde/kdelibs/inst/include/qtest_kde.h:22,
                 from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:10:
/srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qobject.h:320:33: error: ‘QScopedPointer<QObjectData> QObject::d_ptr’ is protected
     QScopedPointer<QObjectData> d_ptr;
                                 ^
In file included from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:434:0:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:169:21: error: within this context
     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
                     ^
In file included from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qsharedpointer_impl.h:63:0,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qsharedpointer.h:50,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qdatetime.h:47,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/QDate:1,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qlibraryinfo.h:46,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/QtCore:6,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtTest/QtTest:3,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/kde/kdelibs/inst/include/qtest_kde.h:22,
                 from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:10:
/srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qobject.h:320:33: error: invalid use of non-static data member ‘QObject::d_ptr’
     QScopedPointer<QObjectData> d_ptr;
                                 ^
In file included from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:434:0:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:169:21: error: from this location
     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
                     ^
In file included from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qsharedpointer_impl.h:63:0,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qsharedpointer.h:50,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qdatetime.h:47,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/QDate:1,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qlibraryinfo.h:46,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/QtCore:6,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtTest/QtTest:3,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/kde/kdelibs/inst/include/qtest_kde.h:22,
                 from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:10:
/srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qobject.h:320:33: error: ‘QScopedPointer<QObjectData> QObject::d_ptr’ is protected
     QScopedPointer<QObjectData> d_ptr;
                                 ^
In file included from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:434:0:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:169:50: error: within this context
     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
                                                  ^
In file included from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qsharedpointer_impl.h:63:0,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qsharedpointer.h:50,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qdatetime.h:47,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/QDate:1,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qlibraryinfo.h:46,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/QtCore:6,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtTest/QtTest:3,
                 from /srv/jenkins/install/linux/x86_64/g++/latest-qt4/kde/kdelibs/inst/include/qtest_kde.h:22,
                 from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:10:
/srv/jenkins/install/linux/x86_64/g++/latest-qt4/qt/inst/include/QtCore/qobject.h:320:33: error: invalid use of non-static data member ‘QObject::d_ptr’
     QScopedPointer<QObjectData> d_ptr;
                                 ^
In file included from <http://build.kde.org/job/okular_master/ws/tests/searchtest.cpp>:434:0:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:169:50: error: from this location
     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
                                                  ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: At global scope:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:172:15: error: ‘Okular::SearchTest’ has not been declared
 void *Okular::SearchTest::qt_metacast(const char *_clname)
               ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: In function ‘void* qt_metacast(const char*)’:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:172:7: error: redefinition of ‘void* qt_metacast(const char*)’
 void *Okular::SearchTest::qt_metacast(const char *_clname)
       ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:72:7: error: ‘void* qt_metacast(const char*)’ previously defined here
 void *Okular::SearchFinishedReceiver::qt_metacast(const char *_clname)
       ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:176:60: error: invalid use of ‘this’ in non-member function
         return static_cast<void*>(const_cast< SearchTest*>(this));
                                                            ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:177:40: error: cannot call member function ‘virtual void* QObject::qt_metacast(const char*)’ without object
     return QObject::qt_metacast(_clname);
                                        ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: At global scope:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:180:13: error: ‘Okular::SearchTest’ has not been declared
 int Okular::SearchTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
             ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: In function ‘int qt_metacall(QMetaObject::Call, int, void**)’:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:180:5: error: redefinition of ‘int qt_metacall(QMetaObject::Call, int, void**)’
 int Okular::SearchTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:80:5: error: ‘int qt_metacall(QMetaObject::Call, int, void**)’ previously defined here
 int Okular::SearchFinishedReceiver::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:182:43: error: cannot call member function ‘virtual int QObject::qt_metacall(QMetaObject::Call, int, void**)’ without object
     _id = QObject::qt_metacall(_c, _id, _a);
                                           ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:187:32: error: invalid use of ‘this’ in non-member function
             qt_static_metacall(this, _c, _id, _a);
                                ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: In function ‘const QMetaObject* metaObject()’:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:70:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: In function ‘void* qt_metacast(const char*)’:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:78:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: In function ‘const QMetaObject* metaObject()’:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:170:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>: In function ‘void* qt_metacast(const char*)’:
<http://build.kde.org/job/okular_master/ws/build/tests/searchtest.moc>:178:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1plus: some warnings being treated as errors
make[2]: *** [tests/CMakeFiles/searchtest.dir/searchtest.o] Error 1
make[1]: *** [tests/CMakeFiles/searchtest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 92%] [ 92%] Building CXX object CMakeFiles/okularpart.dir/ui/magnifierview.o
[ 92%] Building CXX object CMakeFiles/okularpart.dir/ui/pageview.o
Building CXX object CMakeFiles/okularpart.dir/ui/pageviewutils.o
Scanning dependencies of target translateannotationtest
[ 92%] Building CXX object tests/CMakeFiles/translateannotationtest.dir/translateannotationtest_automoc.o
Linking CXX executable editformstest
[ 92%] Building CXX object tests/CMakeFiles/translateannotationtest.dir/translateannotationtest.o
Linking CXX executable modifyannotationpropertiestest
[ 93%] Building CXX object tests/CMakeFiles/translateannotationtest.dir/testingutils.o
[ 93%] Built target editformstest
In file included from <http://build.kde.org/job/okular_master/ws/ui/pageview.cpp>:50:0:
/srv/jenkins/install/linux/x86_64/g++/latest-qt4/kde/kdelibs/inst/include/kurifilter.h:732:110: warning: ‘ProviderInfoList’ is deprecated [-Wdeprecated-declarations]
     KDE_DEPRECATED void setPreferredSearchProviders(KUriFilterData& data, const ProviderInfoList& providers) const;
                                                                                                              ^
[ 94%] Building CXX object CMakeFiles/okularpart.dir/ui/presentationsearchbar.o
[ 94%] Building CXX object CMakeFiles/okularpart.dir/ui/presentationwidget.o
[ 94%] Built target modifyannotationpropertiestest
[ 94%] Building CXX object CMakeFiles/okularpart.dir/ui/propertiesdialog.o
<http://build.kde.org/job/okular_master/ws/ui/pageview.cpp>: In member function ‘void PageView::slotProcessRenditionAction(const Okular::RenditionAction*)’:
<http://build.kde.org/job/okular_master/ws/ui/pageview.cpp>:5017:12: warning: enumeration value ‘None’ not handled in switch [-Wswitch]
     switch ( action->operation() )
            ^
[ 95%] Building CXX object CMakeFiles/okularpart.dir/ui/searchlineedit.o
Linking CXX executable translateannotationtest
[ 95%] Building CXX object CMakeFiles/okularpart.dir/ui/searchwidget.o
<http://build.kde.org/job/okular_master/ws/ui/presentationwidget.cpp>: In member function ‘void PresentationWidget::slotProcessRenditionAction(const Okular::RenditionAction*)’:
<http://build.kde.org/job/okular_master/ws/ui/presentationwidget.cpp>:2171:12: warning: enumeration value ‘None’ not handled in switch [-Wswitch]
     switch ( action->operation() )
            ^
[ 96%] [ 96%] Building CXX object CMakeFiles/okularpart.dir/ui/side_reviews.o
Building CXX object CMakeFiles/okularpart.dir/ui/sidebar.o
[ 96%] <http://build.kde.org/job/okular_master/ws/ui/searchlineedit.cpp>:165:6: warning: unused parameter ‘text’ [-Wunused-parameter]
 void SearchLineEdit::slotTextChanged( const QString & text )
      ^
<http://build.kde.org/job/okular_master/ws/ui/searchlineedit.cpp>:190:6: warning: unused parameter ‘text’ [-Wunused-parameter]
 void SearchLineEdit::slotReturnPressed( const QString &text )
      ^
Building CXX object CMakeFiles/okularpart.dir/ui/snapshottaker.o
[ 96%] Built target translateannotationtest
[ 97%] Building CXX object CMakeFiles/okularpart.dir/ui/thumbnaillist.o
[ 97%] Building CXX object CMakeFiles/okularpart.dir/ui/toc.o
[ 97%] Building CXX object CMakeFiles/okularpart.dir/ui/tocmodel.o
<http://build.kde.org/job/okular_master/ws/ui/snapshottaker.cpp>: In constructor ‘SnapshotTaker::SnapshotTaker(const QString&, QObject*)’:
<http://build.kde.org/job/okular_master/ws/ui/snapshottaker.cpp>:21:25: warning: ‘Phonon::MediaSource::MediaSource(const QString&)’ is deprecated (declared at /srv/jenkins/install/linux/x86_64/g++/latest-qt4/kdesupport/phonon/phonon/inst/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
     m_player->load( url );
                         ^
[ 98%] Building CXX object CMakeFiles/okularpart.dir/ui/toolaction.o
[ 98%] Building CXX object CMakeFiles/okularpart.dir/ui/tts.o
[ 99%] Building CXX object CMakeFiles/okularpart.dir/ui/videowidget.o
[ 99%] Building CXX object CMakeFiles/okularpart.dir/settings.o
[ 99%] Building CXX object CMakeFiles/okularpart.dir/kspeechinterface.o
<http://build.kde.org/job/okular_master/ws/ui/videowidget.cpp>: In member function ‘void VideoWidget::Private::load()’:
<http://build.kde.org/job/okular_master/ws/ui/videowidget.cpp>:120:44: warning: ‘Phonon::MediaSource::MediaSource(const QString&)’ is deprecated (declared at /srv/jenkins/install/linux/x86_64/g++/latest-qt4/kdesupport/phonon/phonon/inst/include/phonon/mediasource.h:144) [-Wdeprecated-declarations]
         player->load( newurl.toLocalFile() );
                                            ^
Linking CXX shared library lib/okularpart.so
[ 99%] Built target okularpart
make: *** [all] Error 2
Compiliation step exited with non-zero code, assuming failure to build from source for project okular.
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results


More information about the Okular-devel mailing list