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

            Bug ID: 342015
           Summary: cannot compile libkdepim without baloo
           Product: kdepim
           Version: unspecified
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: libkdepim
          Assignee: kdepim-bugs@kde.org
          Reporter: ka...@seznam.cz

I don't want Baloo on my system. Reading some references, it should be doable -
e.g. bug 332195 comment 13 says it should be possible to uninstall. When trying
to compile libkdepim, cmake says:


-- The following OPTIONAL packages have not been found:

 * Baloo (required version >= 4.14.0) , The Baloo libraries ,
<http://www.kde.org>
   Baloo provides search capabilities in KMail and Akonadi


... it even shouts at me that Baloo is "OPTINAL". But then the compilation
fails with:

[  2%] Building CXX object
libkdepim/CMakeFiles/kdepim.dir/addressline/addresseelineedit.o
cd
/var/tmp/portage/kde-base/kdepim-common-libs-4.14.3/work/kdepim-common-libs-4.14.3_build/libkdepim
&& /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ 
-DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=56 -DKDEPIM_STORAGESERVICE_GDRIVE
-DKDE_DEFAULT_DEBUG_AREA=5300 -DKDE_DEPRECATED_WARNINGS -DMAKE_KDEPIM_LIB
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_STL
-DQT_USE_QSTRINGBUILDER -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 
-DQT_NO_DEBUG -DNDEBUG -O2 -pipe -march=native -ggdb  -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
-fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -fPIC
-I/var/tmp/portage/kde-base/kdepim-common-libs-4.14.3/work/kdepim-common-libs-4.14.3_build/libkdepim
-I/var/tmp/portage/kde-base/kdepim-common-libs-4.14.3/work/kdepim-common-libs-4.14.3/libkdepim
-I/var/tmp/portage/kde-base/kdepim-common-libs-4.14.3/work/kdepim-common-libs-4.14.3
-I/var/tmp/portage/kde-base/kdepim-common-libs-4.14.3/work/kdepim-common-libs-4.14.3_build
-I/usr/include/KDE -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/QtOpenGL -I/usr/include/qt4/QtNetwork
-I/usr/include/qt4/QtMultimedia -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    -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -o CMakeFiles/kdepim.dir/addressline/addresseelineedit.o
-c
/var/tmp/portage/kde-base/kdepim-common-libs-4.14.3/work/kdepim-common-libs-4.14.3/libkdepim/addressline/addresseelineedit.cpp
/var/tmp/portage/kde-base/kdepim-common-libs-4.14.3/work/kdepim-common-libs-4.14.3/libkdepim/addressline/addresseelineedit.cpp:42:40:
fatal error: baloo/pim/contactcompleter.h: No such file or directory
 #include <baloo/pim/contactcompleter.h>
                                        ^
compilation terminated.


Despite the fact that the top-level cmakelists fails the check for Baloo, the
cmakelists from the added subdirectory 'libkdepim' doesn't make use of the
result of the check and just hardcodes Baloo-specific options and tries to
compile code that unconditionally depends on Baloo headers ...

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to