@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.
Issue: net-dialup/freeradius-client calls ar directly.
Discovered on: amd64
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the AR variable to x86_64-pc-linux-gnu-ar.
Created attachment 647310 [details]
build log and emerge --info
Created attachment 647312 [details]
Did you used the last git version of the tree? https://gitweb.gentoo.org/repo/gentoo.git/commit/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild?id=6c35e0080c2fcd69c99bee94e7d96c82d555558a has been merged five hours ago, and it should fix this issue.
At the beginning of the build log you will see a link to the git head at the time of emerging.
Created attachment 648442 [details]
patched version shell session
I wasn’t able to do a full fix with my old patch, so I used a totaly opposite fix. I patched configure.ac to look for x86_64-pc-linux-gnu-ar if ar is not found.
checking for ar... no
checking for x86_64-pc-linux-gnu-ar... /usr/bin/x86_64-pc-linux-gnu-ar
See attachment for the complete shell session of the emerge.
If it’s OK, I can open a PR on github.