Bug 171332

Summary: Build Errors with WebKit2GTK 2.16.1
Product: WebKit Reporter: bugzilla
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Blocker CC: dino
Priority: P2    
Version: WebKit Local Build   
Hardware: PC   
OS: Linux   

Description bugzilla 2017-04-26 11:24:46 PDT
Arch Linux. Kernel 4.10.11-1. All known dependencies are of the latest release version as of this report (e.g. Mesa  17.0.4). Two configurations were used:

ENABLE_ACCELERATED_2D_CANVAS .......... OFF
ENABLE_DRAG_SUPPORT                     ON                                                                           
ENABLE_GEOLOCATION .................... OFF                                                                          
ENABLE_GLES2                            OFF                                                                          
ENABLE_GTKDOC ......................... OFF                                                                          
ENABLE_ICONDATABASE                     OFF                                                                          
ENABLE_INTROSPECTION .................. OFF                                                                          
ENABLE_JIT                              ON                                                                        
#ENABLE_MEMORY_SAMPLER .................ON                                                                       
ENABLE_MINIBROWSER                      OFF                                                                          
ENABLE_OPENGL ......................... OFF                                                                          
ENABLE_PLUGIN_PROCESS_GTK2              OFF                                                                          
ENABLE_QUARTZ_TARGET .................. OFF                                                                          
ENABLE_SAMPLING_PROFILER                ON                                                                           
ENABLE_SPELLCHECK ..................... OFF                                                                          
ENABLE_THREADED_COMPOSITOR              OFF                                                                          
ENABLE_TOUCH_EVENTS ................... OFF                                                                          
ENABLE_VIDEO                            OFF                                                                          
ENABLE_WAYLAND_TARGET ................. OFF                                                                          
ENABLE_WEB_AUDIO                        OFF                                                                          
ENABLE_X11_TARGET ..................... ON                                                                           
USE_LIBHYPHEN                           OFF                                                                          
USE_LIBNOTIFY ......................... OFF                                                                          
USE_LIBSECRET                           OFF                                                                          
USE_SYSTEM_MALLOC ..................... OFF

ENABLE_ACCELERATED_2D_CANVAS .......... OFF
ENABLE_DRAG_SUPPORT                     ON                                                                           
ENABLE_GEOLOCATION .................... OFF                                                                          
ENABLE_GLES2                            OFF                                                                          
ENABLE_GTKDOC ......................... OFF                                                                          
ENABLE_ICONDATABASE                     OFF                                                                          
ENABLE_INTROSPECTION .................. OFF                                                                          
ENABLE_JIT                              ON                                                                        
#ENABLE_MEMORY_SAMPLER .................ON                                                                       
ENABLE_MINIBROWSER                      OFF                                                                          
ENABLE_OPENGL ......................... ON                                                                        
ENABLE_PLUGIN_PROCESS_GTK2              OFF                                                                          
ENABLE_QUARTZ_TARGET .................. OFF                                                                          
ENABLE_SAMPLING_PROFILER                ON                                                                           
ENABLE_SPELLCHECK ..................... OFF                                                                          
ENABLE_THREADED_COMPOSITOR              ON                                                                          
ENABLE_TOUCH_EVENTS ................... OFF                                                                          
ENABLE_VIDEO                            OFF                                                                          
ENABLE_WAYLAND_TARGET ................. OFF                                                                          
ENABLE_WEB_AUDIO                        OFF                                                                          
ENABLE_X11_TARGET ..................... ON                                                                           
USE_LIBHYPHEN                           OFF                                                                          
USE_LIBNOTIFY ......................... OFF                                                                          
USE_LIBSECRET                           OFF                                                                          
USE_SYSTEM_MALLOC ..................... OFF

See below for error log (both configurations output the same errors at the 78% build mark):

/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp: In member function 'WTF::RefPtr<WebCore::BitmapTexture> WebCore::BitmapTexturePool::createTexture(WebCore::BitmapTexture::Flags)
':
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp:105:83: warning: unused parameter 'flags' [-Wunused-parameter]
 RefPtr<BitmapTexture> BitmapTexturePool::createTexture(const BitmapTexture::Flags flags)
                                                                                   ^~~~~
[ 78%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/texmap/TextureMapperAnimation.cpp.o
[ 78%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/texmap/TextureMapperBackingStore.cpp.o
[ 78%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/texmap/TextureMapperFPSCounter.cpp.o
[ 78%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp.o
[ 78%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/texmap/TextureMapperLayer.cpp.o
[ 78%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/texmap/TextureMapperTile.cpp.o
[ 78%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/texmap/TextureMapperTiledBackingStore.cpp.o
In file included from /tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp:32:0:
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:41:72: error: 'TextureMapperGL' has not been declared
     TextureMapperPlatformLayerBuffer(GLuint textureID, const IntSize&, TextureMapperGL::Flags);
                                                                        ^~~~~~~~~~~~~~~
In file included from /tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp:32:0:
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:63:24: error: 'TextureMapperGL' has not been declared
     void setExtraFlags(TextureMapperGL::Flags flags) { m_extraFlags = flags; }
                        ^~~~~~~~~~~~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:63:47: error: expected ',' or '...' before 'flags'
     void setExtraFlags(TextureMapperGL::Flags flags) { m_extraFlags = flags; }
                                               ^~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:72:5: error: 'TextureMapperGL' does not name a type
     TextureMapperGL::Flags m_extraFlags;
     ^~~~~~~~~~~~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h: In member function 'WebCore::BitmapTextureGL& WebCore::TextureMapperPlatformLayerBuffer::textureGL()':
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:48:83: error: invalid static_cast from type 'WebCore::BitmapTexture' to type 'WebCore::BitmapTextureGL&'
     BitmapTextureGL& textureGL() { return static_cast<BitmapTextureGL&>(*m_texture); }
                                                                                   ^
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h: In member function 'void WebCore::TextureMapperPlatformLayerBuffer::setExtraFlags(int)':
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:63:56: error: 'm_extraFlags' was not declared in this scope
     void setExtraFlags(TextureMapperGL::Flags flags) { m_extraFlags = flags; }
                                                        ^~~~~~~~~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:63:71: error: 'flags' was not declared in this scope
     void setExtraFlags(TextureMapperGL::Flags flags) { m_extraFlags = flags; }
                                                                       ^~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:63:41: warning: unused parameter 'Flags' [-Wunused-parameter]
     void setExtraFlags(TextureMapperGL::Flags flags) { m_extraFlags = flags; }
                                         ^~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp: In member function 'void* WebCore::TextureMapperGC3DPlatformLayer::platformContext()':
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp:72:39: error: 'class WebCore::GLContext' has no member named 'platformContext'; did you mean '_vptr.GLContext'?
     return m_glContext ? m_glContext->platformContext() : GLContext::current()->platformContext();
                                       ^~~~~~~~~~~~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp:72:81: error: 'class WebCore::GLContext' has no member named 'platformContext'; did you mean '_vptr.GLContext'?
     return m_glContext ? m_glContext->platformContext() : GLContext::current()->platformContext();
                                                                                 ^~~~~~~~~~~~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp: In member function 'virtual void WebCore::TextureMapperGC3DPlatformLayer::paintToTextureMapper(WebCore::TextureMapp
er&, const WebCore::FloatRect&, const WebCore::TransformationMatrix&, float)':
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp:99:74: warning: unused parameter 'textureMapper' [-Wunused-parameter]
 void TextureMapperGC3DPlatformLayer::paintToTextureMapper(TextureMapper& textureMapper, const FloatRect& targetRect, const TransformationMatrix& matrix, float opacity)
                                                                          ^~~~~~~~~~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp:99:106: warning: unused parameter 'targetRect' [-Wunused-parameter]
 void TextureMapperGC3DPlatformLayer::paintToTextureMapper(TextureMapper& textureMapper, const FloatRect& targetRect, const TransformationMatrix& matrix, float opacity)
                                                                                                          ^~~~~~~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp:99:146: warning: unused parameter 'matrix' [-Wunused-parameter]
 void TextureMapperGC3DPlatformLayer::paintToTextureMapper(TextureMapper& textureMapper, const FloatRect& targetRect, const TransformationMatrix& matrix, float opacity)
                                                                                                                                                  ^~~~~~
/tmp/archbuild/webkit2gtk/src/webkitgtk-2.16.1/Source/WebCore/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp:99:160: warning: unused parameter 'opacity' [-Wunused-parameter]
 void TextureMapperGC3DPlatformLayer::paintToTextureMapper(TextureMapper& textureMapper, const FloatRect& targetRect, const TransformationMatrix& matrix, float opacity)
                                                                                                                                                                ^~~~~~~
make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:47718: Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:835: Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
==> ERROR: A failure occurred in build().