Summary: | Fail cmake check when set -DBUILD_TESTING=OFF | ||
---|---|---|---|
Product: | [Applications] kdepim | Reporter: | Gustavo Alvarez <sl1pkn07> |
Component: | general | Assignee: | KDE PIM Developers <kde-pim> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | luis.davila.pc |
Priority: | NOR | ||
Version First Reported In: | GIT (master) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim/12bb582e097b0e4ac024929a857330b6a45ee961 | Version Fixed In: | |
Sentry Crash Report: |
Description
Gustavo Alvarez
2015-06-13 13:59:39 UTC
Git commit 12bb582e097b0e4ac024929a857330b6a45ee961 by Montel Laurent. Committed on 13/06/2015 at 14:47. Pushed by mlaurent into branch 'master'. Fix Bug 349102 - Fail cmake check when set -DBUILD_TESTING=OFF M +3 -1 libkdepim/CMakeLists.txt M +3 -1 libkleo/CMakeLists.txt http://commits.kde.org/kdepim/12bb582e097b0e4ac024929a857330b6a45ee961 hi, I don't know if is here even that is marked like SOLVED, but when try to build I have this error at the end: ^ Linking CXX executable korganizer [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_korganizerplugin.dir/korg_uniqueapp.cpp.o Linking CXX shared module kontact_specialdatesplugin.so [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_korganizerplugin.dir/korganizerplugin_debug.cpp.o [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_korganizerplugin.dir/calendarinterface.cpp.o /usr/lib/libtemplateparser.so.5: undefined reference to `PimCommon::SyntaxHighlighterBase::~SyntaxHighlighterBase()' /usr/lib/libtemplateparser.so.5: undefined reference to `PimCommon::SyntaxHighlighterBase::highlightBlock(QString const&)' /usr/lib/libtemplateparser.so.5: undefined reference to `PimCommon::SyntaxHighlighterBase::qt_metacall(QMetaObject::Call, int, void**)' /usr/lib/libtemplateparser.so.5: undefined reference to `PimCommon::SyntaxHighlighterBase::staticMetaObject' /usr/lib/libtemplateparser.so.5: undefined reference to `PimCommon::SyntaxHighlighterBase::SyntaxHighlighterBase(QTextDocument*)' /usr/lib/libtemplateparser.so.5: undefined reference to `typeinfo for PimCommon::SyntaxHighlighterBase' /usr/lib/libtemplateparser.so.5: undefined reference to `PimCommon::SyntaxHighlighterBase::qt_metacast(char const*)' /usr/lib/libmessageviewer.so.5: undefined reference to `PimCommon::NetworkUtil::lowBandwidh() const' collect2: error: ld returned 1 exit status korganizer/CMakeFiles/korganizer.dir/build.make:188: recipe for target 'korganizer/korganizer' failed make[2]: *** [korganizer/korganizer] Error 1 CMakeFiles/Makefile2:8376: recipe for target 'korganizer/CMakeFiles/korganizer.dir/all' failed make[1]: *** [korganizer/CMakeFiles/korganizer.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_korganizerplugin.dir/korganizerinterface.cpp.o [100%] Built target kontact_specialdatesplugin [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_korganizerplugin.dir/kontact_korganizerplugin_automoc.cpp.o In file included from /tmp/makepkg/kdepim-git/src/kdepim/korganizer/widgets/kitemiconcheckcombo.cpp:23:0: /tmp/makepkg/kdepim-git/src/kdepim/korganizer/koglobals.h:78:43: warning: ‘KComponentData’ is deprecated [-Wdeprecated-declarations] const KComponentData &componentData() const ^ In file included from /usr/include/KF5/KDELibs4Support/KDE/KComponentData:1:0, from /tmp/makepkg/kdepim-git/src/kdepim/korganizer/koglobals.h:30, from /tmp/makepkg/kdepim-git/src/kdepim/korganizer/widgets/kitemiconcheckcombo.cpp:23: /usr/include/KF5/KDELibs4Support/kcomponentdata.h:51:47: note: declared here class KDELIBS4SUPPORT_DEPRECATED_EXPORT_NOISE KComponentData // krazy:exclude=dpointer (implicitly share ^ In file included from /tmp/makepkg/kdepim-git/src/kdepim/korganizer/widgets/kitemiconcheckcombo.cpp:23:0: /tmp/makepkg/kdepim-git/src/kdepim/korganizer/koglobals.h:87:20: warning: ‘KComponentData’ is deprecated [-Wdeprecated-declarations] KComponentData mOwnInstance; ^ In file included from /usr/include/KF5/KDELibs4Support/KDE/KComponentData:1:0, from /tmp/makepkg/kdepim-git/src/kdepim/korganizer/koglobals.h:30, from /tmp/makepkg/kdepim-git/src/kdepim/korganizer/widgets/kitemiconcheckcombo.cpp:23: /usr/include/KF5/KDELibs4Support/kcomponentdata.h:51:47: note: declared here class KDELIBS4SUPPORT_DEPRECATED_EXPORT_NOISE KComponentData // krazy:exclude=dpointer (implicitly share ^ [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_todoplugin.dir/korg_uniqueapp.cpp.o [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_todoplugin.dir/korganizerplugin_debug.cpp.o In file included from /tmp/makepkg/kdepim-git/src/build/korganizer/kcm_korganizer_automoc.cpp:4:0: /tmp/makepkg/kdepim-git/src/build/korganizer/moc_kitemiconcheckcombo.cpp:88:1: warning: ‘virtual void KComboBox::setContextMenuEnabled(bool)’ is deprecated [-Wdeprecated-declarations] } ^ In file included from /usr/include/KF5/KDELibs4Support/KDE/KComboBox:1:0, from /tmp/makepkg/kdepim-git/src/kdepim/libkdepim/widgets/kcheckcombobox.h:31, from /tmp/makepkg/kdepim-git/src/build/korganizer/../../kdepim/korganizer/widgets/kitemiconcheckcombo.h:25, from /tmp/makepkg/kdepim-git/src/build/korganizer/moc_kitemiconcheckcombo.cpp:9, from /tmp/makepkg/kdepim-git/src/build/korganizer/kcm_korganizer_automoc.cpp:4: /usr/include/KF5/KCompletion/kcombobox.h:303:41: note: declared here virtual KCOMPLETION_DEPRECATED void setContextMenuEnabled(bool showMenu); ^ [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_todoplugin.dir/calendarinterface.cpp.o Linking CXX shared module kcm_korganizer.so [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_todoplugin.dir/korganizerinterface.cpp.o [100%] Building CXX object korganizer/kontactplugin/korganizer/CMakeFiles/kontact_todoplugin.dir/kontact_todoplugin_automoc.cpp.o [100%] Built target kcm_korganizer Linking CXX shared module kontact_korganizerplugin.so [100%] Built target kontact_korganizerplugin Linking CXX shared module kontact_todoplugin.so [100%] Built target kontact_todoplugin Makefile:116: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... All the others KF5, plasma et kdepim are GIT versions and are recently builded before. I use Archlinux (gcc 5.1 and Qt 5.4.2) builded for me with last commit. make sure you have update all dependencies to last commit |