Bug 258563

Summary: [WPE] Build error when casting GLNativeWindowType to EGLNativeWindowType for target rpi4-32bits-mesa.
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: WPE WebKitAssignee: Carlos Alberto Lopez Perez <clopez>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Carlos Alberto Lopez Perez
Reported 2023-06-27 06:21:56 PDT
The new bot that cross-build WPE for target rpi4-32bits-mesa is failing with: https://build.webkit.org/#/builders/893/builds/18/steps/9/logs/stdio [12/3083] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-42.cpp.o FAILED: Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-42.cpp.o [...] In file included from /home/buildbot/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Build/build/WebKitBuild/WPE/Release_rpi4-32bits-mesa/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-42.cpp:4: /home/buildbot/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Build/build/Source/WebCore/platform/graphics/egl/GLContextLibWPE.cpp: In static member function ‘static void* WebCore::GLContext::createWindowSurfaceWPE(EGLDisplay, EGLConfig, GLNativeWindowType)’: /home/buildbot/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Build/build/Source/WebCore/platform/graphics/egl/GLContextLibWPE.cpp:55:52: error: invalid cast from type ‘GLNativeWindowType’ {aka ‘long long unsigned int’} to type ‘EGLNativeWindowType’ {aka ‘long unsigned int’} 55 | return eglCreateWindowSurface(display, config, reinterpret_cast<EGLNativeWindowType>(window), nullptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attachments
Carlos Alberto Lopez Perez
Comment 1 2023-06-27 06:27:43 PDT
EWS
Comment 2 2023-06-27 08:38:04 PDT
Committed 265551@main (56a67774797a): <https://commits.webkit.org/265551@main> Reviewed commits have been landed. Closing PR #15327 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.