You receive this bug because this package does not respect my system's AR ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar ) and calls directly ar - /usr/bin/ar The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can 2)inherit toolchain-funcs and use tc-export AR 3)inherit toolchain-funcs and use emake AR="$(tc-getAR)" ar cru libfm.a xmalloc.o base64.o rfc822.o report.o rfc2047e.o servport.o smbdes.o smbencrypt.o smbmd4.o smbutil.o gethostbyname.o fm_getaddrinfo.o tls.o rfc822valid.o sdump.o x509_name_match.o md5c.o ntlmsubr.o
Created attachment 341248 [details, diff] patch for fetchmail-6.3.24.ebuild to call emake AR="$(tc-getAR)" in src_compile I've updated the ebuild so that src_compile call emake with AR="$(tc-getAR)". This fixes calling ar directly for me.
Fixed in CVS.