You receive this bug because this package does not respect my system's AR (x86_64-pc-linux-gnu-ar) and calls directly /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)"
From the build log:
ar rv autofs.a cache.o mount_clnt.o mount_xdr.o cat_path.o rpc_subs.o mounts.o log.o nsswitch.o master_tok.o master_parse.tab.o nss_tok.o nss_parse.tab.o args.o alarm.o
macros.o master.o defaults.o parse_subs.o dev-ioctl-lib.o
Created attachment 357936 [details, diff]
respect ar, ranlib, pass those variables during compile phase.
I don't think we need a revision bump here, let me know if I'm wrong..
(In reply to Dennis 'dlan' Lan from comment #1)
> I don't think we need a revision bump here, let me know if I'm wrong..
You are right, this is build-time issue(package just does not build in some cases).
+ 06 Sep 2013; Sergey Popov <firstname.lastname@example.org> autofs-5.0.7-r4.ebuild:
+ Respect AR and RANLIB, wrt bug #483716. Thanks to Agostino Sarubbo for
+ discovering this issue and Dennis Lan for provided patch