Bug 421388

Summary: plasma-workspace, plasma-desktop, plasma-vault fail to configure for build
Product: [Developer tools] kdesrc-build Reporter: Mihai Sorin Dobrescu <msdobrescu>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED UNMAINTAINED    
Severity: critical CC: ashark, msdobrescu
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: plasma-desktop error log

Description Mihai Sorin Dobrescu 2020-05-12 05:44:51 UTC
Created attachment 128383 [details]
plasma-desktop error log

SUMMARY


STEPS TO REPRODUCE

I follow the kdesrc-build guide, I try to build all by issuing:

kdesrc-build plasma-desktop plasma-workspace plasma-framework plasma-nm plasma-pa plasma-thunderbolt plasma-vault plasma-workspace-wallpapers kdeplasma-addons kwin systemsettings kscreen breeze discover kinfocenter --include-dependencies --refresh-build

It fails due to the following error type:

CMake Error at /home/myuser/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:34 (add_library):
  add_library cannot create ALIAS target "KF5::SysGuard" because target
  "KSysGuard::SysGuard" is IMPORTED.
Call Stack (most recent call first):
  /home/myuser/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:37 (add_sysguard_target)
  /home/myuser/kde/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
  CMakeLists.txt:84 (find_package)

My assessment is that cmake need a newer version for the current code:

cmake version 3.10.2

I can't provide a minimum version number to do the job, apparently 3.17.2 does the job.


SOFTWARE/OS VERSIONS

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Kernel Version: 5.3.0-51-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7 CPU 920 @ 2.67GHz
Memory: 7,8 GiB of RAM
Graphics Processor: llvmpipe 

ADDITIONAL INFORMATION
Comment 1 Andrew Shark 2023-12-21 14:00:04 UTC
Current instructions are updated. Please retry with `kdesrc-build workspace`.
Closing as this bug report was not maintained.