Bug 215665

Summary: kdebase-4.3.3 build fails at apps/konqueror/kttsplugin/khtmlkttsd.cpp
Product: [Frameworks and Libraries] kwebkitpart Reporter: Juuso Alasuutari <juuso.alasuutari>
Component: generalAssignee: webkit-devel
Status: RESOLVED WORKSFORME    
Severity: normal CC: adawit
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: CMake build cache
CMake build output
CMake build errors

Description Juuso Alasuutari 2009-11-22 14:09:03 UTC
Version:            (using KDE 4.3.3)
Compiler:          GCC 4.3.3 
OS:                Linux
Installed from:    Compiled From Sources

I am getting this build failure trying to compile the kdebase-4.3.3 package for Linux.

[ 59%] Building CXX object apps/konqueror/kttsplugin/CMakeFiles/khtmlkttsdplugin.dir/khtmlkttsd.o
/usr/src/kdebase-4.3.3/apps/konqueror/kttsplugin/khtmlkttsd.cpp: In member function 'void KHTMLPluginKTTSD::slotReadOut()':
/usr/src/kdebase-4.3.3/apps/konqueror/kttsplugin/khtmlkttsd.cpp:123: error: invalid use of incomplete type 'struct WebView'
/opt/kde4/include/webkitkde/webkitpart.h:31: error: forward declaration of 'struct WebView'
/usr/src/kdebase-4.3.3/apps/konqueror/kttsplugin/khtmlkttsd.cpp:139: error: invalid use of incomplete type 'struct WebView'
/opt/kde4/include/webkitkde/webkitpart.h:31: error: forward declaration of 'struct WebView'
/usr/src/kdebase-4.3.3/apps/konqueror/kttsplugin/khtmlkttsd.cpp:141: error: invalid use of incomplete type 'struct WebView'
/opt/kde4/include/webkitkde/webkitpart.h:31: error: forward declaration of 'struct WebView'
make[2]: *** [apps/konqueror/kttsplugin/CMakeFiles/khtmlkttsdplugin.dir/khtmlkttsd.o] Error 1
make[1]: *** [apps/konqueror/kttsplugin/CMakeFiles/khtmlkttsdplugin.dir/all] Error 2
make: *** [all] Error 2

Other possibly useful information:

- Intel Core 2 Duo workstation
- Linux 2.6.30.9, 32-bit installation
- Glibc 2.11
- Qt 4.5.3
- GCC 4.3.3
- Kdebase build flags: -march=nocona -m32 -pipe -O3 -pipe -fomit-frame-pointer

After submitting I'll add CMakeCache.txt, CMakeOutput.log, and CMakeError.log from the failed build dir.
Comment 1 Juuso Alasuutari 2009-11-22 14:10:16 UTC
Created attachment 38484 [details]
CMake build cache
Comment 2 Juuso Alasuutari 2009-11-22 14:11:08 UTC
Created attachment 38485 [details]
CMake build output
Comment 3 Juuso Alasuutari 2009-11-22 14:11:48 UTC
Created attachment 38486 [details]
CMake build errors
Comment 4 Dawit Alemayehu 2009-11-23 01:50:10 UTC
You only get this compile error if you are compiling 4.3.2 and not 4.3.3. Does your file that failes to compile (khtmlkttsd.cpp) look like the first or second link below ?

http://websvn.kde.org/tags/KDE/4.3.3/kdebase/apps/konqueror/kttsplugin/khtmlkttsd.cpp?revision=1042584&view=markup

http://websvn.kde.org/tags/KDE/4.3.2/kdebase/apps/konqueror/kttsplugin/khtmlkttsd.cpp?revision=1042584&view=markup
Comment 5 Dawit Alemayehu 2009-12-04 22:00:11 UTC
Unable to duplicate...