WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
125312
WebKit-GTK fails to build while upgrading Gentoo to GNOME3
https://bugs.webkit.org/show_bug.cgi?id=125312
Summary
WebKit-GTK fails to build while upgrading Gentoo to GNOME3
Gennadiy
Reported
2013-12-05 12:29:00 PST
Created
attachment 218533
[details]
config.log of failed webkit-gtk build Building webkit-gtk-2.0.4 on Gentoo threw numerous syntax errors, as detailed in
http://forums.gentoo.org/viewtopic-t-977728.html
along with relevant system information. Config.log attached. Build log tail: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp: In constructor ‘WebCore::CustomFilterValidatedProgram::CustomFilterValidatedProgram(WebCore::CustomFilterGlobalContext*, const WebCore::CustomFilterProgramInfo&)’: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:177:74: error: invalid use of incomplete type ‘class WebCore::CustomFilterGlobalContext’ In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:54:7: error: forward declaration of ‘class WebCore::CustomFilterGlobalContext’ Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:177:114: error: invalid use of incomplete type ‘class WebCore::CustomFilterGlobalContext’ In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:54:7: error: forward declaration of ‘class WebCore::CustomFilterGlobalContext’ Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp: In member function ‘WTF::PassRefPtr<WebCore::CustomFilterCompiledProgram> WebCore::CustomFilterValidatedProgram::compiledProgram()’: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:207:29: error: incomplete type ‘WebCore::CustomFilterCompiledProgram’ used in nested name specifier Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:207:80: error: invalid use of incomplete type ‘class WebCore::CustomFilterGlobalContext’ In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:54:7: error: forward declaration of ‘class WebCore::CustomFilterGlobalContext’ Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp: In destructor ‘WebCore::CustomFilterValidatedProgram::~CustomFilterValidatedProgram()’: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:514:24: error: invalid use of incomplete type ‘class WebCore::CustomFilterGlobalContext’ In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:54:7: error: forward declaration of ‘class WebCore::CustomFilterGlobalContext’ In file included from ./Source/WTF/wtf/RefPtr.h:28:0, from ./Source/WTF/wtf/HashFunctions.h:24, from ./Source/WTF/wtf/HashTraits.h:24, from Source/WebCore/platform/graphics/filters/CustomFilterProgramInfo.h:37, from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:36, from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34: ./Source/WTF/wtf/PassRefPtr.h: In instantiation of ‘void WTF::derefIfNotNull(T*) [with T = WebCore::CustomFilterCompiledProgram]’: ./Source/WTF/wtf/RefPtr.h:56:35: required from ‘WTF::RefPtr<T>::~RefPtr() [with T = WebCore::CustomFilterCompiledProgram]’ Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:163:28: required from here ./Source/WTF/wtf/PassRefPtr.h:53:13: error: invalid use of incomplete type ‘class WebCore::CustomFilterCompiledProgram’ In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:53:7: error: forward declaration of ‘class WebCore::CustomFilterCompiledProgram’ In file included from ./Source/WTF/wtf/RefPtr.h:28:0, from ./Source/WTF/wtf/HashFunctions.h:24, from ./Source/WTF/wtf/HashTraits.h:24, from Source/WebCore/platform/graphics/filters/CustomFilterProgramInfo.h:37, from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:36, from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34: ./Source/WTF/wtf/PassRefPtr.h: In instantiation of ‘void WTF::refIfNotNull(T*) [with T = WebCore::CustomFilterCompiledProgram]’: ./Source/WTF/wtf/PassRefPtr.h:100:9: required from ‘WTF::PassRefPtr<T>::PassRefPtr(const WTF::RefPtr<U>&) [with U = WebCore::CustomFilterCompiledProgram; T = WebCore::CustomFilterCompiledProgram]’ Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:211:12: required from here ./Source/WTF/wtf/PassRefPtr.h:47:13: error: invalid use of incomplete type ‘class WebCore::CustomFilterCompiledProgram’ In file included from Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.cpp:34:0: Source/WebCore/platform/graphics/filters/CustomFilterValidatedProgram.h:53:7: error: forward declaration of ‘class WebCore::CustomFilterCompiledProgram’ make[1]: *** [Source/WebCore/platform/graphics/filters/libWebCorePlatform_la-CustomFilterValidatedProgram.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f Source/WebCore/platform/graphics/filters/.deps/libWebCorePlatform_la-DistantLightSource.Tpo Source/WebCore/platform/graphics/filters/.deps/libWebCorePlatform_la-DistantLightSource.Plo make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-2.0.4/work/webkitgtk-2.0.4' make: *** [all] Error 2
Attachments
config.log of failed webkit-gtk build
(81.18 KB, text/plain)
2013-12-05 12:29 PST
,
Gennadiy
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Gennadiy
Comment 1
2013-12-06 01:01:31 PST
Crafting the ebuild for the latest stable (2.2.3) solved the issue though.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug