This is an auto-filed bug because sci-libs/primegen 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 642064 [details] build.log build log and emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa727d510a92bf1af563a364d31fbc624e697841 commit aa727d510a92bf1af563a364d31fbc624e697841 Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-05-09 19:18:14 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-05-09 19:18:14 +0000 sci-libs/primegen: Respect AR/RANLIB Closes: https://bugs.gentoo.org/725616 Closes: https://bugs.gentoo.org/731938 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> sci-libs/primegen/files/primegen-0.97-man.patch | 4 ++-- .../files/primegen-0.97-missing-headers.patch | 20 +++++++++---------- .../files/primegen-0.97-respect-ar-ranlib.patch | 18 +++++++++++++++++ sci-libs/primegen/primegen-0.97-r2.ebuild | 23 ++++++++++++---------- 4 files changed, 43 insertions(+), 22 deletions(-)