[Kde-pim] [kdepim] [Bug 349102] Fail cmake check when set -DBUILD_TESTING=OFF

desaparecido luis.davila.pc at gmail.com
Sat Jun 13 16:40:47 BST 2015


https://bugs.kde.org/show_bug.cgi?id=349102

desaparecido <luis.davila.pc at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luis.davila.pc at gmail.com

--- Comment #2 from desaparecido <luis.davila.pc at gmail.com> ---
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list