[kdepim] [Bug 328866] New: Unable to build kdepim with -DKDEPIM_NO_WEBKIT:BOOL=ON

Martin Kyral sine.nomine at centrum.cz
Mon Dec 16 14:23:33 GMT 2013


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

            Bug ID: 328866
           Summary: Unable to build kdepim with -DKDEPIM_NO_WEBKIT:BOOL=ON
    Classification: Unclassified
           Product: kdepim
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: libkdepim
          Assignee: kdepim-bugs at kde.org
          Reporter: sine.nomine at centrum.cz

[ 69%] Building CXX object
messageviewer/CMakeFiles/messageviewer.dir/viewer/messagedisplayformatattribute.o
cd
/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/x86_64-redhat-linux-gnu/messageviewer
&& /bin/c++   -DDISABLE_NEPOMUK_LEGACY -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=27
-DKDEPIM_NO_WEBKIT -DKDE_DEPRECATED_WARNINGS -DMAKE_MESSAGEVIEWER_LIB
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_STL
-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE
-D_REENTRANT -D_XOPEN_SOURCE=500 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches  -m64 -mtune=generic  -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
-Werror=return-type -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS
-O2 -DNDEBUG -DQT_NO_DEBUG -fPIC
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/x86_64-redhat-linux-gnu/messageviewer
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messageviewer
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/x86_64-redhat-linux-gnu
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/grantleetheme
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messagecore
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/pimcommon
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/libkdepim
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/libkleo
-I/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/kaddressbookgrantlee
-I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE
-I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml
-I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest
-I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools
-I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork
-I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner
-I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support
-I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt
-I/usr/lib64/qt4/mkspecs/default -I//include    -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -o
CMakeFiles/messageviewer.dir/viewer/messagedisplayformatattribute.o -c
/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messageviewer/viewer/messagedisplayformatattribute.cpp
/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messageviewer/viewer/viewer_p.cpp:
In member function 'void MessageViewer::ViewerPrivate::createActions()':
/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messageviewer/viewer/viewer_p.cpp:1830:3:
error: 'mCaretBrowsing' was not declared in this scope
   mCaretBrowsing = new KToggleAction(i18n("Toggle Caret Browsing"), this);
   ^
/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messageviewer/viewer/viewer_p.cpp:
In member function 'void MessageViewer::ViewerPrivate::slotFind()':
/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messageviewer/viewer/viewer_p.cpp:2199:17:
error: 'class MessageViewer::MailWebView' has no member named 'hasSelection'
   if ( mViewer->hasSelection() )
                 ^
/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messageviewer/viewer/viewer_p.cpp:
At global scope:
/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messageviewer/viewer/viewer_p.cpp:3164:6:
warning: unused parameter 'zoomFactor' [-Wunused-parameter]
 void ViewerPrivate::setZoomFactor( qreal zoomFactor )
      ^
/home/mkyral/rpmbuild/BUILD/kdepim-4.11.97/messageviewer/viewer/viewer_p.cpp:3319:6:
warning: unused parameter 'filename' [-Wunused-parameter]
 void ViewerPrivate::saveMainFrameScreenshotInFile(const QString &filename)
      ^

Seems that some #ifndef is missing there... It shall be either added, or
support for KDEPIM_NO_WEBKIT dropped because of the deep dependency on WebKit.

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list