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

Bug 467172

Summary: dev-db/redis : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Johan Bergström <bugs>
Status: RESOLVED FIXED    
Severity: QA CC: djc, lu_zero, proxy-maint, robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 457002    
Bug Blocks: 243502    
Attachments: redis-2.6.9:20130425-085758.log

Description Agostino Sarubbo gentoo-dev 2013-04-25 09:06: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 rcs libhiredis.a net.o hiredis.o sds.o async.o

ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o 
strbuf.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o lua_cjson.o lua_struct.o lua_cmsgpack.o
Comment 1 Agostino Sarubbo gentoo-dev 2013-04-25 09:10:10 UTC
Created attachment 346570 [details]
redis-2.6.9:20130425-085758.log

build log
Comment 2 Johan Bergström 2013-04-29 23:26:49 UTC
Please test this branch, should fix the problem: https://github.com/jbergstroem/gentoo-overlay/compare/master...redis-2.6.12
Comment 3 Johan Bergström 2013-05-03 21:53:47 UTC
Fixed in redis-2.6.13.ebuild.