This is an auto-filed bug because sci-mathematics/msieve 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.
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 642040 [details]
build log and emerge --info
*** Bug 779541 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s):
Author: David Seifert <firstname.lastname@example.org>
AuthorDate: 2022-01-29 00:00:16 +0000
Commit: David Seifert <email@example.com>
CommitDate: 2022-01-29 00:00:16 +0000
sci-mathematics/msieve: fix build system
Signed-off-by: David Seifert <firstname.lastname@example.org>
.../msieve/files/msieve-1.51-reduce-printf.patch | 15 ++-
.../msieve/files/msieve-1.53-fix-version.patch | 4 -
.../msieve/files/msieve-1.53-makefile.patch | 108 +++++++++++++++++++++
sci-mathematics/msieve/msieve-1.53-r1.ebuild | 30 +++---
4 files changed, 128 insertions(+), 29 deletions(-)