Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468156 - net-libs/liblockfile : does not respect AR
Summary: net-libs/liblockfile : does not respect AR
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-05-01 15:27 UTC by Agostino Sarubbo
Modified: 2019-08-08 15:01 UTC (History)
2 users (show)

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

liblockfile-1.09.patch (liblockfile-1.09.patch,263 bytes, patch)
2013-05-26 11:32 UTC, Michael Mair-Keimberger (iamnr3)
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-05-01 15:27:30 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 liblockfile.a lockfile.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-26 11:32:33 UTC
Created attachment 349230 [details, diff]

I've attached a patch against the latest ebuild. Adding tc-export AR to src_configure() fixes the problem.
Comment 2 Larry the Git Cow gentoo-dev 2019-08-08 15:01:09 UTC
The bug has been closed via the following commit(s):

commit 0af6bf4d10b5b494cc7c0cc7c220329ab7d78d7e
Author:     Thomas Deutschmann <>
AuthorDate: 2019-08-08 14:58:44 +0000
Commit:     Thomas Deutschmann <>
CommitDate: 2019-08-08 15:00:49 +0000

    net-libs/liblockfile: Export AR; Don't run tests when not requested
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Thomas Deutschmann <>

 .../files/liblockfile-1.15-makefile.patch          | 74 ++++++++++++++++++++++
 net-libs/liblockfile/liblockfile-1.15.ebuild       | 10 ++-
 2 files changed, 81 insertions(+), 3 deletions(-)