Build failed in Jenkins: knewstuff_master_qt5 #111

KDE CI System null at kde.org
Mon Nov 10 11:08:29 UTC 2014


See <http://build.kde.org/job/knewstuff_master_qt5/111/changes>

Changes:

[vonreth] don't recompile exported classes, link to their dll

------------------------------------------
[...truncated 121 lines...]
  Policy CMP0053 is not set: Simplify variable reference and escape sequence
  evaluation.  Run "cmake --help-policy CMP0053" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For input:

    'QT. at PRI_TARGET_BASENAME@.VERSION = @PROJECT_VERSION_STRING@
    QT. at PRI_TARGET_BASENAME@.MAJOR_VERSION = @PROJECT_VERSION_MAJOR@
    QT. at PRI_TARGET_BASENAME@.MINOR_VERSION = @PROJECT_VERSION_MINOR@
    QT. at PRI_TARGET_BASENAME@.PATCH_VERSION = @PROJECT_VERSION_PATCH@
    QT. at PRI_TARGET_BASENAME@.name = @PRI_TARGET_LIBNAME@
    QT. at PRI_TARGET_BASENAME@.defines = @PRI_TARGET_DEFINES@
    QT. at PRI_TARGET_BASENAME@.includes = @PRI_TARGET_INCLUDES@
    QT. at PRI_TARGET_BASENAME@.private_includes =
    QT. at PRI_TARGET_BASENAME@.libs = @PRI_TARGET_LIBS@
    QT. at PRI_TARGET_BASENAME@.depends = @PRI_TARGET_QTDEPS@
    '

  the old evaluation rules produce:

    'QT.KNewStuff.VERSION = 5.5.0
    QT.KNewStuff.MAJOR_VERSION = 5
    QT.KNewStuff.MINOR_VERSION = 5
    QT.KNewStuff.PATCH_VERSION = 0
    QT.KNewStuff.name = KF5NewStuff
    QT.KNewStuff.defines = 
    QT.KNewStuff.includes = /srv/jenkins/install/linux/x86_64/g++/kf5-qt5/frameworks/knewstuff/inst/include/KF5/KNewStuff
    QT.KNewStuff.private_includes =
    QT.KNewStuff.libs = /srv/jenkins/install/linux/x86_64/g++/kf5-qt5/frameworks/knewstuff/inst/lib64
    QT.KNewStuff.depends = widgets Attica KXmlGui
    '

  but the new evaluation rules produce:

    'QT. at PRI_TARGET_BASENAME@.VERSION = @PROJECT_VERSION_STRING@
    QT. at PRI_TARGET_BASENAME@.MAJOR_VERSION = @PROJECT_VERSION_MAJOR@
    QT. at PRI_TARGET_BASENAME@.MINOR_VERSION = @PROJECT_VERSION_MINOR@
    QT. at PRI_TARGET_BASENAME@.PATCH_VERSION = @PROJECT_VERSION_PATCH@
    QT. at PRI_TARGET_BASENAME@.name = @PRI_TARGET_LIBNAME@
    QT. at PRI_TARGET_BASENAME@.defines = @PRI_TARGET_DEFINES@
    QT. at PRI_TARGET_BASENAME@.includes = @PRI_TARGET_INCLUDES@
    QT. at PRI_TARGET_BASENAME@.private_includes =
    QT. at PRI_TARGET_BASENAME@.libs = @PRI_TARGET_LIBS@
    QT. at PRI_TARGET_BASENAME@.depends = @PRI_TARGET_QTDEPS@
    '

  Using the old result for compatibility since the policy is not set.
Call Stack (most recent call first):
  src/CMakeLists.txt:96 (ecm_generate_pri_file)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- 
-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.4.0)
 * Qt5Core (required version >= 5.3.1)
 * Qt5Gui (required version >= 5.3.1)
 * Qt5Widgets
 * Qt5Xml
 * KF5Archive (required version >= 5.4.0)
 * KF5Completion (required version >= 5.4.0)
 * KF5Config (required version >= 5.4.0)
 * KF5CoreAddons (required version >= 5.4.0)
 * Gettext
 * PythonInterp
 * KF5I18n (required version >= 5.4.0)
 * KF5IconThemes (required version >= 5.4.0)
 * KF5KIO (required version >= 5.4.0)
 * KF5ItemViews (required version >= 5.4.0)
 * KF5TextWidgets (required version >= 5.4.0)
 * KF5WidgetsAddons (required version >= 5.4.0)
 * KF5XmlGui (required version >= 5.4.0)
 * KF5Attica (required version >= 5.4.0) , A Qt library that implements the Open Collaboration Services API , <https://projects.kde.org/attica>
   Support for Get Hot New Stuff in KNewStuff
 * Qt5Test
   Required for unit tests
 * Qt5 (required version >= 5.2.0)

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    KDE4_BUILD_TESTS
    LIB_SUFFIX
    SIP_DEFAULT_SIP_DIR


-- Build files have been written to: <http://build.kde.org/job/knewstuff_master_qt5/ws/build>

== Commencing the Build

Scanning dependencies of target KF5NewStuff_automoc
Scanning dependencies of target knewstuffauthortest_automoc
Scanning dependencies of target khotnewstuff_upload_automoc
Scanning dependencies of target khotnewstuff_automoc
Scanning dependencies of target knewstuffentrytest_automoc
[  2%] [  4%] [  6%] [ 11%] [ 11%] Automatic moc for target KF5NewStuff
Automatic moc for target knewstuffauthortest
Automatic moc for target khotnewstuff_upload
Automatic moc for target knewstuffentrytest
Automatic moc for target khotnewstuff
[ 11%] [ 11%] Built target khotnewstuff_upload_automoc
Built target khotnewstuff_automoc
Generating knewstuffauthortest.moc
Generating knewstuffentrytest.moc
[ 11%] Built target knewstuffauthortest_automoc
[ 11%] Built target knewstuffentrytest_automoc
Generating moc_downloadmanager.cpp
Generating moc_downloadwidget.cpp
Generating moc_uploaddialog.cpp
Generating moc_atticaprovider_p.cpp
Generating moc_button.cpp
Generating moc_cache_p.cpp
Generating moc_engine_p.cpp
Generating moc_installation_p.cpp
Generating moc_provider_p.cpp
Generating moc_security_p.cpp
Generating moc_xmlloader_p.cpp
Generating moc_downloaddialog.cpp
Generating moc_staticxmlprovider_p.cpp
Generating moc_entrydetailsdialog_p.cpp
Generating moc_imageloader_p.cpp
Generating moc_imagepreviewwidget_p.cpp
Generating moc_itemsgridviewdelegate_p.cpp
Generating moc_itemsmodel_p.cpp
Generating moc_itemsviewbasedelegate_p.cpp
Generating moc_itemsviewdelegate_p.cpp
Generating moc_progressindicator_p.cpp
Generating moc_atticahelper_p.cpp
[ 11%] Built target KF5NewStuff_automoc
[ 13%] [ 16%] Generating ui_uploaddialog.h
Generating ui_downloadwidget.h
<http://build.kde.org/job/knewstuff_master_qt5/ws/src/downloadwidget.ui>: Warning: Z-order assignment: '' is not a valid widget.
Scanning dependencies of target KF5NewStuff
[ 18%] [ 20%] [ 23%] [ 25%] [ 27%] [ 32%] [ 32%] [ 34%] [ 37%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/downloaddialog.cpp.o
Building CXX object src/CMakeFiles/KF5NewStuff.dir/downloadwidget.cpp.o
Building CXX object src/CMakeFiles/KF5NewStuff.dir/knewstuffaction.cpp.o
Building CXX object src/CMakeFiles/KF5NewStuff.dir/entry.cpp.o
Building CXX object src/CMakeFiles/KF5NewStuff.dir/downloadmanager.cpp.o
Building CXX object src/CMakeFiles/KF5NewStuff.dir/button.cpp.o
Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/author.cpp.o
Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/cache.cpp.o
Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/engine.cpp.o
[ 39%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/entryinternal.cpp.o
[ 41%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/installation.cpp.o
[ 44%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/provider.cpp.o
[ 46%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/security.cpp.o
[ 48%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/xmlloader.cpp.o
[ 51%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/staticxml/staticxmlprovider.cpp.o
[ 53%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/entrydetailsdialog.cpp.o
[ 55%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/imageloader.cpp.o
[ 58%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/imagepreviewwidget.cpp.o
[ 60%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/itemsmodel.cpp.o
[ 62%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/itemsview.cpp.o
[ 65%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/itemsviewdelegate.cpp.o
[ 67%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/itemsgridviewdelegate.cpp.o
[ 69%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/itemsviewbasedelegate.cpp.o
[ 72%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/progressindicator.cpp.o
[ 74%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/attica/atticaprovider.cpp.o
[ 76%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/upload/atticahelper.cpp.o
[ 79%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/uploaddialog.cpp.o
[ 81%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/KF5NewStuff_automoc.cpp.o
<http://build.kde.org/job/knewstuff_master_qt5/ws/src/attica/atticaprovider.cpp>: In member function ‘void KNS3::AtticaProvider::accountBalanceLoaded(Attica::BaseJob*)’:
<http://build.kde.org/job/knewstuff_master_qt5/ws/src/attica/atticaprovider.cpp>:289:65: warning: ‘QString Attica::DownloadDescription::priceAmount()’ is deprecated (declared at /srv/jenkins/install/linux/x86_64/g++/kf5-qt5/frameworks/attica/inst/include/KF5/Attica/attica/downloaddescription.h:74) [-Wdeprecated-declarations]
     if (content.downloadUrlDescription(pair.second).priceAmount() < item.balance()) {
                                                                 ^
In file included from <http://build.kde.org/job/knewstuff_master_qt5/ws/src/attica/atticaprovider.cpp>:21:0:
<http://build.kde.org/job/knewstuff_master_qt5/ws/src/attica/atticaprovider.cpp>:295:119: warning: ‘QString Attica::DownloadDescription::priceAmount()’ is deprecated (declared at /srv/jenkins/install/linux/x86_64/g++/kf5-qt5/frameworks/attica/inst/include/KF5/Attica/attica/downloaddescription.h:74) [-Wdeprecated-declarations]
                                              item.currency(), content.downloadUrlDescription(pair.second).priceAmount()
                                                                                                                       ^
<http://build.kde.org/job/knewstuff_master_qt5/ws/src/attica/atticaprovider.cpp>:309:104: warning: ‘QString Attica::DownloadDescription::priceAmount()’ is deprecated (declared at /srv/jenkins/install/linux/x86_64/g++/kf5-qt5/frameworks/attica/inst/include/KF5/Attica/attica/downloaddescription.h:74) [-Wdeprecated-declarations]
                                          item.balance(), content.downloadUrlDescription(0).priceAmount()));
                                                                                                        ^
Linking CXX shared library libKF5NewStuff.so
[ 81%] Built target KF5NewStuff
Scanning dependencies of target khotnewstuff_upload
Scanning dependencies of target khotnewstuff
Scanning dependencies of target knewstuffauthortest
[ 83%] [ 88%] [ 88%] [ 90%] Scanning dependencies of target knewstuffentrytest
Building CXX object tests/CMakeFiles/khotnewstuff_upload.dir/khotnewstuff_upload.cpp.o
Building CXX object tests/CMakeFiles/khotnewstuff_upload.dir/khotnewstuff_upload_automoc.cpp.o
Building CXX object tests/CMakeFiles/khotnewstuff.dir/khotnewstuff_automoc.cpp.o
Building CXX object tests/CMakeFiles/khotnewstuff.dir/khotnewstuff.cpp.o
[ 95%] [ 95%] [ 97%] [100%] Building CXX object autotests/CMakeFiles/knewstuffauthortest.dir/knewstuffauthortest_automoc.cpp.o
Building CXX object autotests/CMakeFiles/knewstuffauthortest.dir/knewstuffauthortest.cpp.o
Building CXX object autotests/CMakeFiles/knewstuffentrytest.dir/knewstuffentrytest.cpp.o
Building CXX object autotests/CMakeFiles/knewstuffentrytest.dir/knewstuffentrytest_automoc.cpp.o
Linking CXX executable khotnewstuff_upload
Linking CXX executable khotnewstuff
[100%] Built target khotnewstuff_upload
[100%] Built target khotnewstuff
Linking CXX executable knewstuffauthortest
Linking CXX executable knewstuffentrytest
CMakeFiles/knewstuffauthortest.dir/knewstuffauthortest.cpp.o: In function `testAuthor::testProperties()':
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:43: undefined reference to `KNS3::Author::setName(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:44: undefined reference to `KNS3::Author::setEmail(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:45: undefined reference to `KNS3::Author::setJabber(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:46: undefined reference to `KNS3::Author::setHomepage(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:47: undefined reference to `KNS3::Author::name() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:48: undefined reference to `KNS3::Author::email() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:49: undefined reference to `KNS3::Author::jabber() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:50: undefined reference to `KNS3::Author::homepage() const'
CMakeFiles/knewstuffauthortest.dir/knewstuffauthortest.cpp.o: In function `testAuthor::testCopy()':
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:56: undefined reference to `KNS3::Author::setName(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:57: undefined reference to `KNS3::Author::setEmail(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:58: undefined reference to `KNS3::Author::setJabber(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:59: undefined reference to `KNS3::Author::setHomepage(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:61: undefined reference to `KNS3::Author::name() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:61: undefined reference to `KNS3::Author::name() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:62: undefined reference to `KNS3::Author::email() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:62: undefined reference to `KNS3::Author::email() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:63: undefined reference to `KNS3::Author::jabber() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:63: undefined reference to `KNS3::Author::jabber() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:64: undefined reference to `KNS3::Author::homepage() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:64: undefined reference to `KNS3::Author::homepage() const'
CMakeFiles/knewstuffauthortest.dir/knewstuffauthortest.cpp.o: In function `testAuthor::testAssignment()':
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:71: undefined reference to `KNS3::Author::setName(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:72: undefined reference to `KNS3::Author::setEmail(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:73: undefined reference to `KNS3::Author::setJabber(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:74: undefined reference to `KNS3::Author::setHomepage(QString const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:76: undefined reference to `KNS3::Author::name() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:76: undefined reference to `KNS3::Author::name() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:77: undefined reference to `KNS3::Author::email() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:77: undefined reference to `KNS3::Author::email() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:78: undefined reference to `KNS3::Author::jabber() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:78: undefined reference to `KNS3::Author::jabber() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:79: undefined reference to `KNS3::Author::homepage() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffauthortest.cpp>:79: undefined reference to `KNS3::Author::homepage() const'
collect2: error: ld returned 1 exit status
make[2]: *** [autotests/knewstuffauthortest] Error 1
make[1]: *** [autotests/CMakeFiles/knewstuffauthortest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/knewstuffentrytest.dir/knewstuffentrytest.cpp.o: In function `testEntry::createEntry()':
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffentrytest.cpp>:69: undefined reference to `KNS3::EntryInternal::EntryInternal()'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffentrytest.cpp>:70: undefined reference to `KNS3::EntryInternal::setEntryXML(QDomElement const&)'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffentrytest.cpp>:71: undefined reference to `KNS3::EntryInternal::toEntry() const'
<http://build.kde.org/job/knewstuff_master_qt5/ws/autotests/knewstuffentrytest.cpp>:69: undefined reference to `KNS3::EntryInternal::~EntryInternal()'
collect2: error: ld returned 1 exit status
make[2]: *** [autotests/knewstuffentrytest] Error 1
make[1]: *** [autotests/CMakeFiles/knewstuffentrytest.dir/all] Error 2
make: *** [all] Error 2
Compiliation step exited with non-zero code, assuming failure to build from source for project knewstuff.
Build step 'Execute shell' marked build as failure
[File exists] check if file exists [build/JUnitTestResults.xml]
Run condition [File exists] preventing perform for step [Publish JUnit test result report]
[File exists] check if file exists [build/cppcheck.xml]
Run condition [File exists] preventing perform for step [Publish Cppcheck results]
[WARNINGS] Skipping publisher since build result is FAILURE


More information about the Kde-frameworks-devel mailing list