Since sys-apps/shadow-4.8-r3, there is a line which I believe has a typo in the resulting file name: "for x in chsh shfn ; do" should be chfn and not shfn shfn does not exist anywhere that I can find (in the entire Linux world) but chfn is a part of shadow.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c8fd5c62336d881e3201eb432f646aeb31f1cef commit 8c8fd5c62336d881e3201eb432f646aeb31f1cef Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-17 01:46:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-17 01:49:28 +0000 sys-apps/shadow: fix chfn typo in PAM configuration Bug: https://bugs.gentoo.org/712372 Closes: https://bugs.gentoo.org/894998 Fixes: c7da130a443ab9811b242ae2cbf8259cb85d43b1 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/shadow/{shadow-4.12.3.ebuild => shadow-4.12.3-r1.ebuild} | 4 ++-- sys-apps/shadow/{shadow-4.13-r1.ebuild => shadow-4.13-r2.ebuild} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)