This is an auto-filled bug because media-libs/portaudio calls ar directly.
The issue was originally discovered on arm64, 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 aarch64-unknown-linux-gnu-ar and by removing the /usr/bin/ar binary.
Created attachment 636000 [details]
build log and emerge --info
The bug has been closed via the following commit(s):
Author: Sergei Trofimovich <firstname.lastname@example.org>
AuthorDate: 2020-05-26 18:17:56 +0000
Commit: Sergei Trofimovich <email@example.com>
CommitDate: 2020-05-26 18:20:05 +0000
media-libs/portaudio: respect AR setting, bug #720966
AC_PATH_PROG only accepts absolute paths.
AC_CHECK_PROG is a correct way to detect binary names.
Reported-by: Agostino Sarubbo
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <firstname.lastname@example.org>
.../portaudio/files/portaudio-19.06.00-AR.patch | 14 +++++
media-libs/portaudio/portaudio-19.06.00-r3.ebuild | 72 ++++++++++++++++++++++
2 files changed, 86 insertions(+)