You receive this bug because this package does not respect my system's RANLIB (x86_64-pc-linux-gnu-ranlib) and calls directly /usr/bin/ranlib The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can; 2)inherit toolchain-funcs and use tc-export RANLIB 3)inherit toolchain-funcs and use emake RANLIB="$(tc-getRANLIB)" From the build log: ranlib liblua.a
Created attachment 346572 [details] redis-2.6.9:20130425-085758.log build log
Hey Ago, thanks for the bug report. I'll do what I can to send patches upstream. Since redis uses a pretty basic build system (no auto*), what would be the correct way to invoke a linker? Can't find anything useful here: http://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
(In reply to comment #2) > Since redis uses a pretty basic build system (no auto*), what would be the > correct way to invoke a linker? Comment 0 is enough, but check if it uses a bundle LUA
(In reply to comment #3) > (In reply to comment #2) > > Since redis uses a pretty basic build system (no auto*), what would be the > > correct way to invoke a linker? > > Comment 0 is enough, but check if it uses a bundle LUA It does. This was introduced in redis 2.6. It's bundled with 3 lua extensions we neither bundle nor can build as a shared library, unfortunately. You can see some of the work spent on this in https://bugs.gentoo.org/show_bug.cgi?id=439354
(In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > Since redis uses a pretty basic build system (no auto*), what would be the > > > correct way to invoke a linker? > > > > Comment 0 is enough, but check if it uses a bundle LUA > > It does. This was introduced in redis 2.6. It's bundled with 3 lua > extensions we neither bundle nor can build as a shared library, > unfortunately. To clarify: by bundle I mean that they're not available in gentoo. Even if they were, the patch to load them as a shared object through redis would be major. I don't think Gentoo should carry such patches. > > You can see some of the work spent on this in > https://bugs.gentoo.org/show_bug.cgi?id=439354
Please test this branch, should fix the problem: https://github.com/jbergstroem/gentoo-overlay/compare/master...redis-2.6.12
Fixed in redis-2.6.13.ebuild.