Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 468156

Summary: net-libs/liblockfile : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: QA CC: mmk, net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: liblockfile-1.09.patch

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]
liblockfile-1.09.patch

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af6bf4d10b5b494cc7c0cc7c220329ab7d78d7e

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

    net-libs/liblockfile: Export AR; Don't run tests when not requested
    
    Closes: https://bugs.gentoo.org/468156
    Bug: https://bugs.gentoo.org/691706
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

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