This is an auto-filed bug because games-emulation/dosbox 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 640686 [details]
build log and emerge --info
The bug has been closed via the following commit(s):
Author: Sergei Trofimovich <email@example.com>
AuthorDate: 2020-06-06 08:46:55 +0000
Commit: Sergei Trofimovich <firstname.lastname@example.org>
CommitDate: 2020-06-06 08:47:03 +0000
games-emulation/dosbox: respect user's AR
Reported-by: Agostino Sarubbo
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <email@example.com>
games-emulation/dosbox/dosbox-0.75_pre4302.ebuild | 1 +
games-emulation/dosbox/files/dosbox-0.75-detect-AR.patch | 11 +++++++++++
2 files changed, 12 insertions(+)