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

Bug 467640

Summary: sys-apps/mlocate : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Christian Faulhammer (RETIRED) <fauli>
Status: RESOLVED FIXED    
Severity: QA CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-04-27 22:22:09 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 cru libgnu.a fwriteerror.o localcharset.o malloca.o mbchar.o mbslen.o mbsstr.o progname.o strnlen1.o uniwidth/width.o xalloc-die.o exitfail.o safe-read.o xmalloc.o                                                                                                                                    

ar cru src/liblib.a src/bind-mount.o src/lib.o
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2013-04-28 19:19:48 UTC
Thanks for the hint.