SUMMARY Compiling without 'PAM' is no longer possible, probably after 132adacf3d0 [1], even though the 'PAM_REQUIRED' option still exists. 1. https://invent.kde.org/plasma/kscreenlocker/-/commit/132adacf3d01fc4adf8a873e0debc3adb17972ec STEPS TO REPRODUCE 1. Compile with '-DPAM_REQUIRED=NO' and no PAM installed. OBSERVED RESULT Compiling fails. EXPECTED RESULT Either compiling should still succeed without PAM, or the option is removed, and PAM is always required. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo Linux/git master (available in About System) KDE Plasma Version: git master (partial only to use KWin with LXQt) KDE Frameworks Version: git master (partial only to use KWin with LXQt) Qt Version: 5.15.4 (with KDE patches)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/249
See also: https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/59#note_468401