Bug 438685

Summary: Fails to build with -DKWIN_BUILD_EGL_STREAM_BACKEND:BOOL=FALSE
Product: [Plasma] kwin Reporter: Heiko Becker <heiko.becker>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, xaver.hugl
Priority: VHI    
Version First Reported In: 5.22.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.22.2
Sentry Crash Report:

Description Heiko Becker 2021-06-15 16:13:54 UTC
SUMMARY

kwin-5.22.1 fails to build with -DKWIN_BUILD_EGL_STREAM_BACKEND:BOOL=FALSE:
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: CMakeFiles/KWinWaylandDrmBackend.dir/egl_multi_backend.cpp.o: in function `KWin::EglMultiBackend::addGpu(KWin::DrmGpu*)':
/var/tmp/paludis/build/kde-kwin-5.22-scm/work/kwin-5.22-scm/src/plugins/platforms/drm/egl_multi_backend.cpp:132: undefined reference to `KWin::EglStreamBackend::EglStreamBackend(KWin::DrmBackend*, KWin::DrmGpu*)'

5363451eae46aa87c4fffb27a197c2902f67e817 in kwin.git removed the #ifdefs but not the matching cmake option.

STEPS TO REPRODUCE
1. cmake -DKWIN_BUILD_EGL_STREAM_BACKEND:BOOL=FALSE ..
2. ninja -v


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2 (KDE patchset)
Comment 2 David Edmundson 2021-06-15 23:03:50 UTC
Thanks :)