This is an auto-filed bug because sys-auth/pam_ssh_agent_auth calls ar directly. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different AR implementation (like llvm-ar) by setting the AR variable. So this issue has been reproduced by setting the AR variable to x86_64-pc-linux-gnu-ar and by removing the /usr/bin/ar binary.
Created attachment 642156 [details] build.log build log and emerge --info
Created attachment 642158 [details] other.tar.bz2 other logs
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442365d12cdeabc1d2c7ac471d415cec2dd79356 commit 442365d12cdeabc1d2c7ac471d415cec2dd79356 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-30 20:12:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-30 20:32:32 +0000 sys-auth/pam_ssh_agent_auth: add 0.10.4; fix build with Clang 16 Closes: https://bugs.gentoo.org/725720 Closes: https://bugs.gentoo.org/870721 Signed-off-by: Sam James <sam@gentoo.org> sys-auth/pam_ssh_agent_auth/Manifest | 2 + ...0001-Fix-function-prototypes-in-configure.patch | 49 ++++++ ...g-includes-implicit-function-declarations.patch | 176 +++++++++++++++++++++ .../pam_ssh_agent_auth-0.10.4.ebuild | 70 ++++++++ .../pam_ssh_agent_auth-9999.ebuild | 46 ++++-- 5 files changed, 329 insertions(+), 14 deletions(-)