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 libkyotocabinet.a kcutil.o kcthread.o kcfile.o kccompress.o kccompare.o kcmap.o kcregex.o kcdb.o kcplantdb.o kcprotodb.o kcstashdb.o kccachedb.o kchashdb.o kcdirdb.o kctextdb.o kcpolydb.o kcdbext.o kclangc.o
Fixed, thanks for reporting. Pull here https://github.com/jbergstroem/gentoo-overlay/compare/master...kyotocabinet-system-ar (or apply below). commit 3b03b731c244b747c33912b0b9bbaaffc009421e Author: Johan Bergström <bugs@bergstroem.nu> Date: Fri Nov 22 14:00:36 2013 +1100 Use system linker Fixes https://bugs.gentoo.org/show_bug.cgi?id=482188 diff --git dev-db/kyotocabinet/kyotocabinet-1.2.76.ebuild dev-db/kyotocabinet/kyotocabinet-1.2.76.ebuild index 6da3f53..d971162 100644 --- dev-db/kyotocabinet/kyotocabinet-1.2.76.ebuild +++ dev-db/kyotocabinet/kyotocabinet-1.2.76.ebuild @@ -4,7 +4,7 @@ EAPI="2" -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="A straightforward implementation of DBM" HOMEPAGE="http://fallabs.com/kyotocabinet/" @@ -23,6 +23,7 @@ src_prepare() { epatch "${FILESDIR}/fix_configure-1.2.62.patch" sed -ie "/ldconfig/d" Makefile.in sed -ie "/DOCDIR/d" Makefile.in + tc-export AR } src_configure() {
x86_64-pc-linux-gnu-gcc -march=native -m64 <-- I never asked for that. Debian uses a patch for that.
Fixed in 1.2.76-r1.