Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483716 - net-fs/autofs : does not respect AR
Summary: net-fs/autofs : does not respect AR
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Yixun Lan
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-09-05 13:53 UTC by Agostino Sarubbo
Modified: 2013-09-06 07:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

autofs-5.0.7-r4.ebuild.patch (autofs-fix-ar.patch,554 bytes, patch)
2013-09-05 15:24 UTC, Yixun Lan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-09-05 13:53:46 UTC
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 nss_tok.o args.o alarm.o 
macros.o master.o defaults.o parse_subs.o dev-ioctl-lib.o
Comment 1 Yixun Lan archtester gentoo-dev 2013-09-05 15:24:35 UTC
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..
Comment 2 Sergey Popov gentoo-dev 2013-09-06 07:38:53 UTC
(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 <> 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