This is an auto-filled bug because net-print/cups calls ar directly.
The issue was originally discovered on x86, but it may be reproducible on other arches as well.
Attached build log and emerge --info.
This issue has been reproduced by setting the AR variable and by removing the /usr/bin/ar binary.
Created attachment 634844 [details]
build log and emerge --info