[WebKit-devel] [Bug 225495] New: kwebkitpart fails to build

Ingmar Vanhassel ingmar at exherbo.org
Thu Feb 4 12:36:45 CET 2010


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

           Summary: kwebkitpart fails to build
           Product: kwebkitpart
           Version: unspecified
          Platform: Exherbo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: webkit-devel at kde.org
        ReportedBy: ingmar at exherbo.org


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.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the WebKit-devel mailing list