[Webkit-unassigned] [Bug 245268] New: Unreviewed, build fix after 254136 at main

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 16 00:33:17 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245268

            Bug ID: 245268
           Summary: Unreviewed, build fix after 254136 at main
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dpino at igalia.com

Compilation of WebKitGTK/WPE in ARM64 is failing with the following build error:

```
FAILED: Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/opengl/GraphicsContextGLOpenGLES.cpp.o
<CXX>  -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebCore -DGETTEXT_PACKAGE=\"WebKitGTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_PAL -ISource/ThirdParty/libwebrtc -I../../../Source/WebCore/platform/graphics/libwpe -I. -IWebCore/DerivedSources -I../../..
../../../Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGLES.cpp:61:60: error: reference to non-static member function must be called; did you mean to call it with no arguments?
    ::glReadPixels(x, y, width, height, format, type, data.data);
                                                      ~~~~~^~~~
                                                               ()
../../../Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGLES.cpp:217:34: error: reference to non-static member function must be called; did you mean to call it with no arguments?
    ::glGetIntegerv(pname, value.data);
                           ~~~~~~^~~~
                                     ()
../../../Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGLES.cpp:228:67: error: reference to non-static member function must be called; did you mean to call it with no arguments?
    ::glGetShaderPrecisionFormat(shaderType, precisionType, range.data, precision);
                                                            ~~~~~~^~~~
                                                                      ()
../../../Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGLES.cpp:233:36: error: reference to non-static member function must be called; did you mean to call it with no arguments?
    if (width && height && !pixels.data) {
                            ~~~~~~~^~~~
                                       ()
../../../Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGLES.cpp:238:97: error: reference to non-static member function must be called; did you mean to call it with no arguments?
    texImage2DDirect(target, level, internalformat, width, height, border, format, type, pixels.data);
                                                                                         ~~~~~~~^~~~
                                                                                                    ()
5 errors generated.
```

This build error was likely introduced in 254207 at main, which turned `GCGLSpan::data` attribute into member function `GCGLSpan::data()`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220916/e605ee63/attachment.htm>


More information about the webkit-unassigned mailing list