I am a strong believer that pam files should never be installed on a non-pam systetm (though I have received some strong pushback from developers in the past on that. Anyway, the fix is easy - just add an "if use pam" test to the two newpamd lines in the file.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=b3008d59fc4705d38359ebfcf21fb661a26073e4 commit b3008d59fc4705d38359ebfcf21fb661a26073e4 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-07-03 18:13:45 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-07-03 18:13:45 +0000 kde-plasma/kscreenlocker: Install pam files conditionally Closes: https://bugs.gentoo.org/654064 Package-Manager: Portage-2.3.41, Repoman-2.3.9 kde-plasma/kscreenlocker/kscreenlocker-5.12.49.9999.ebuild | 4 ++-- kde-plasma/kscreenlocker/kscreenlocker-5.13.49.9999.ebuild | 4 ++-- kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)