Bug 438685 - Fails to build with -DKWIN_BUILD_EGL_STREAM_BACKEND:BOOL=FALSE
Summary: Fails to build with -DKWIN_BUILD_EGL_STREAM_BACKEND:BOOL=FALSE
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: 5.22.1
Platform: Other Linux
: VHI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-15 16:13 UTC by Heiko Becker
Modified: 2021-06-15 23:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.22.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)