Bug 225495 - kwebkitpart fails to build
Summary: kwebkitpart fails to build
Status: RESOLVED FIXED
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Exherbo Linux
: NOR normal
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 12:36 UTC by Ingmar Vanhassel
Modified: 2010-02-04 16:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingmar Vanhassel 2010-02-04 12:36:43 UTC
Version:            (using KDE 4.4.0)
Compiler:          GCC 4.4.3 
OS:                Linux
Installed from:    Exherbo Packages

trunk/kdereview/kwebkit part fails to build against KDE 4.3.98 (RC3).

[ 16%] Building CXX object src/CMakeFiles/kwebkit.dir/kwebkit_automoc.o
cd /home/ingmar/development/git/KDE/kwebkitpart/src && /usr/bin/c++   -DMAKE_KWEBKIT_LIB -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -Wnon-virtual-dtor -Wno-long-long -ansi -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 -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/home/ingmar/development/git/KDE/kwebkitpart/src -I/home/ingmar/development/git/KDE/kwebkitpart -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/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -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/kwebkit.dir/kwebkit_automoc.o -c /home/ingmar/development/git/KDE/kwebkitpart/src/kwebkit_automoc.cpp
In file included from /home/ingmar/development/git/KDE/kwebkitpart/src/moc_kwebkitpart.cpp:10,
                 from /home/ingmar/development/git/KDE/kwebkitpart/src/kwebkit_automoc.cpp:4:
/home/ingmar/development/git/KDE/kwebkitpart/src/kwebkitpart.h:27:28: error: kwebkit_export.h: No such file or directory


I fixed the missing include, which I've fixed, but that doesn't fix mu build:

diff --git a/src/kwebkitpart.h b/src/kwebkitpart.h
index 1057ce7..d3955b5 100644
--- a/src/kwebkitpart.h
+++ b/src/kwebkitpart.h
@@ -24,7 +24,7 @@
 #ifndef WEBKITPART_H
 #define WEBKITPART_H

-#include "kwebkit_export.h"
+#include "kdewebkit_export.h"

 #include <KDE/KParts/ReadOnlyPart>


After the patch, it still fails to build: 

[ 16%] Building CXX object src/CMakeFiles/kwebkit.dir/kwebkit_automoc.o
cd /home/ingmar/development/git/KDE/kwebkitpart/src && /usr/bin/c++   -DMAKE_KWEBKIT_LIB -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -Wnon-virtual-dtor -Wno-long-long -ansi -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 -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/home/ingmar/development/git/KDE/kwebkitpart/src -I/home/ingmar/development/git/KDE/kwebkitpart -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/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant -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/kwebkit.dir/kwebkit_automoc.o -c /home/ingmar/development/git/KDE/kwebkitpart/src/kwebkit_automoc.cpp
In file included from /home/ingmar/development/git/KDE/kwebkitpart/src/moc_kwebkitpart.cpp:10,
                 from /home/ingmar/development/git/KDE/kwebkitpart/src/kwebkit_automoc.cpp:4:
/home/ingmar/development/git/KDE/kwebkitpart/src/kwebkitpart.h:47: error: expected initializer before ‘:’ token

The interesting part is that this builds fine if I build and install playground/libs/webkitkde again.
Took me a while to work out why it built on one of two mostly identical machines, but not on the other.
Comment 1 Dawit Alemayehu 2010-02-04 16:58:39 UTC
SVN commit 1085202 by adawit:

- Make it compile...

BUG:225495


 M  +1 -1      CMakeLists.txt  
 A             kwebkit_export.h   [License: LGPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=1085202