Bug 441980 - [kdesrc-build] master build failure: "error: invalid conversion from ‘xcb_window_t’ {aka ‘unsigned int’} to ‘EGLNativeWindowType’ {aka ‘void*’} [-fpermissive]"
Summary: [kdesrc-build] master build failure: "error: invalid conversion from ‘xcb_win...
Status: RESOLVED DUPLICATE of bug 440372
Alias: None
Product: kwin
Classification: Plasma
Component: egl (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-04 07:49 UTC by Kyle Devir
Modified: 2021-09-04 08:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kdesrc-buildrc config (2.89 KB, text/plain)
2021-09-04 07:49 UTC, Kyle Devir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Devir 2021-09-04 07:49:18 UTC
Created attachment 141284 [details]
kdesrc-buildrc config

SUMMARY

kwin master build via kdesrc-build fails with:

/run/media/valmar/DataSSD/kde/sources/plasma/kwin/src/plugins/platforms/x11/common/eglonxbackend.cpp: In member function ‘void* KWin::EglOnXBackend::createSurface(xcb_window_t)’:
/run/media/valmar/DataSSD/kde/sources/plasma/kwin/src/plugins/platforms/x11/common/eglonxbackend.cpp:224:66: error: invalid conversion from ‘xcb_window_t’ {aka ‘unsigned int’} to ‘EGLNativeWindowType’ {aka ‘void*’} [-fpermissive]
  224 |         surface = eglCreateWindowSurface(eglDisplay(), config(), window, nullptr);
      |                                                                  ^~~~~~
      |                                                                  |
      |                                                                  xcb_window_t {aka unsigned int}


SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.13.12-arch1-1-custom (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: Radeon RX 580 Series


ADDITIONAL INFORMATION

kdesrc-buildrc config file attached
Comment 1 Kyle Devir 2021-09-04 08:34:42 UTC

*** This bug has been marked as a duplicate of bug 440372 ***