You receive this bug because this package does not respect my system's CC (x86_64-pc-linux-gnu-gcc) and calls directly /usr/bin/gcc(or similar) The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can; 2)inherit toolchain-funcs and use tc-export CC 3)inherit toolchain-funcs and use emake CC="$(tc-getCC)" From the build log: cc -march=native -O2 -g0 -pipe -c svm-scale.c -o svm-scale.o cc -march=native -O2 -g0 -pipe -c svm-train.c -o svm-train.o cc -march=native -O2 -g0 -pipe -c svm-predict.c -o svm-predict.o
--- libsvm-3.17.ebuild +++ libsvm-3.17.ebuild @@ -48,7 +48,7 @@ -e "s/JAVAC_FLAGS =/JAVAC_FLAGS=${JAVAC_FLAGS}/g" \ java/Makefile || die "Failed to fix java makefile" fi - tc-export CXX + tc-export CXX CC } src_compile() {
+*libsvm-3.17-r1 (02 Feb 2015) + + 02 Feb 2015; Justin Lecher <jlec@gentoo.org> -libsvm-2.90-r1.ebuild, + -libsvm-3.14.ebuild, +libsvm-3.17-r1.ebuild, metadata.xml: + Respect CC, #484200 +