[webkit-qt] Build issues on Harmattan (scratchbox)

Zoltán Balogh zoltan.balogh at canonical.com
Tue Sep 11 23:48:49 PDT 2012


On 09/12/2012 09:32 AM, Simon Hausmann wrote:
> On Wednesday, September 12, 2012 07:00:13 AM ext Zoltán Balogh wrote:
>> On 09/12/2012 06:15 AM, Laszlo Papp wrote:
>>> Hi,
>>>
>>> Any help welcome.
>>>
>>> Laszlo
>>>
>>> ...
>>> 5.0.0/QtCore -I. -o
>>> obj/release/platform/graphics/opengl/Extensions3DOpenGLES.o
>>> /scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit/Source/WebCore/
>>> platform/graphics/opengl/Extensions3DOpenGLES.cpp
>>> /scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit/Source/WebCore
>>> /platform/graphics/texmap/TextureMapperGL.cpp: In member function 'virtual
>>> void WebCore::BitmapTextureGL::didReset()':
>>> /scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit/Source/WebCore
>>> /platform/graphics/texmap/TextureMapperGL.cpp:656: error: 'GL_BGRA' was
>>> not declared in this scope
>>> /scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit/Source/WebCore/
>>> platform/graphics/texmap/TextureMapperGL.cpp: In member function 'virtual
>>> void
>>> WebCore::BitmapTextureGL::updateContents(const void*, const
>>> WebCore::IntRect&, const WebCore::IntPoint&, int)':
>>> /scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit/Source/WebCore/
>>> platform/graphics/texmap/TextureMapperGL.cpp:675: error: 'GL_BGRA' was not
>>> declared in this scope
>>> make[5]: *** [obj/release/platform/graphics/texmap/TextureMapperGL.o]
>>> Error 1
>>> make[5]: *** Waiting for unfinished jobs....
>>> make[5]: Leaving directory
>>> `/scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit/WebKitBuild/Re
>>> lease/Source/WebCore' make[4]: *** [sub-Target-pri-make_first-ordered]
>>> Error 2
>>> make[4]: Leaving directory
>>> `/scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit/WebKitBuild/Re
>>> lease/Source/WebCore' make[3]: ***
>>> [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2 make[3]:
>>> Leaving directory
>>> `/scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit/WebKitBuild/Re
>>> lease' make[2]: *** [incremental] Error 2
>>> make[2]: Leaving directory
>>> `/scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit/WebKitBuild/Re
>>> lease' make[1]: *** [override_dh_auto_build] Error 2
>>> make[1]: Leaving directory
>>> `/scratchbox/users/lpapp/home/lpapp/qt5/qtwebkit/qt5-webkit'
>>> make: *** [build] Error 2
>>> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>>>
>>>
>>>
>>> _______________________________________________
>>> webkit-qt mailing list
>>> webkit-qt at lists.webkit.org
>>> http://lists.webkit.org/mailman/listinfo/webkit-qt
>> Here is a workaround: http://pastebin.com/Ty3r1QdD
> And fixed upstream with http://trac.webkit.org/changeset/127063 . The fix
> entered qt5.git Monday evening with c83a5d49a3c77aafd0a06e9120133cb589b43b25
>
>
> Simon
>
>


I also needed these three patches to get the qtwebkit compile and build: 
http://pastebin.com/p62Qb5JT

Addittionally I had to run this:  grep -Rl 'WebKitBuild' *|xargs sed -i 
's/WebKitBuild/W/g'
in the root of the qtwebkit source tree to make the final 'ar' command 
short enough. Sadly this command grows to about 130k in a pbuilder like 
build environment.

Zoltan


More information about the webkit-qt mailing list