Bug 102695
Summary: | can't build qtwebkit 2.2.2 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Andrea Scarpino <me> |
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Major | ||
Priority: | P2 | ||
Version: | 412 | ||
Hardware: | PC | ||
OS: | Linux |
Andrea Scarpino
I get this error building qtwebkit.
I got the qtwebkit 2.2.2 tarball from gitorious[1] (note, there's no 2.2.3 tag there), then I applied the glibc [2] and werror[3] patches.
I googled for this error and I found an old debian bug[4] report which say this is fixed, but seems this isn't.
In file included from ../../../Source/JavaScriptCore/wtf/CrossThreadRefCounted.h:36:0,
from ../../../Source/JavaScriptCore/wtf/text/StringImpl.h:28,
from ../../../Source/JavaScriptCore/wtf/text/AtomicStringImpl.h:24,
from ../../../Source/JavaScriptCore/wtf/text/AtomicString.h:24,
from ../../../Source/JavaScriptCore/wtf/text/StringHash.h:25,
from ../../../Source/WebCore/platform/ThreadGlobalData.h:33,
from ../../../Source/WebCore/dom/EventNames.h:25,
from ../../../Source/WebCore/dom/EventTarget.h:35,
from ../../../Source/WebCore/dom/Node.h:28,
from ../../../Source/WebCore/editing/VisiblePosition.h:30,
from ../../../Source/WebCore/accessibility/AccessibilityObject.h:34,
from ../../../Source/WebCore/accessibility/AccessibilityObject.cpp:30:
../../../Source/JavaScriptCore/wtf/RefCounted.h: In instantiation of ‘void WTF::RefCounted<T>::deref() [with T = WebCore::Frame]’:
../../../Source/JavaScriptCore/wtf/PassRefPtr.h:59:13: required from ‘void WTF::derefIfNotNull(T*) [with T = WebCore::Frame]’
../../../Source/JavaScriptCore/wtf/RefPtr.h:58:35: required from ‘WTF::RefPtr<T>::~RefPtr() [with T = WebCore::Frame]’
../../../Source/WebCore/page/FrameTree.h:37:29: required from here
../../../Source/JavaScriptCore/wtf/RefCounted.h:141:13: error: deleting object of polymorphic class type ‘WebCore::Frame’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
cc1plus: all warnings being treated as errors
make[1]: *** [obj/release/AccessibilityObject.o] Error 1
make[1]: Leaving directory `/build/src/webkit-qtwebkit/WebKitBuild/Release/WebCore'
make: *** [sub-WebCore-make_default-ordered] Error 2
OS: Arch Linux
GCC 4.7.2
Ask if you need more info. Thank you.
[1] http://gitorious.org/+qtwebkit-developers/webkit/qtwebkit
[2] http://gitorious.org/+qtwebkit-developers/webkit/qtwebkit/commit/9b4b107fe7501ffbefb5f4fd78ab0a2321f93fc1
[3] http://gitorious.org/+qtwebkit-developers/webkit/qtwebkit/commit/0b63152ae5d572c4a817a53210d8907f3dd11bd7
[4] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667346
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
The Qt port has been removed from WebKit, resolving this bug.