Example: quad media-gfx # grep 'ar r' xsane-0.998-r1:20121110-143313.log ar r liblib.a alloca.o getopt.o getopt1.o strndup.o strdup.o strsep.o snprintf.o usleep.o md5.o Hard to solve. "tc-export AR" and "emake AR=$(tc-getCC)" doesn't work. We need to make a patch.
Created attachment 329192 [details, diff] xsane-0.998-r2.patch
Fixed with this patch. Also fixed the ugly message of dosym explained here: https://bugs.gentoo.org/show_bug.cgi?id=442440#c2
+ 11 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> xsane-0.998-r1.ebuild: + Fix direct AR call wrt bug #442606. Thanks to Vicente Olivert Riera for + reporting this issue