There's a typo in the ebuild for sci-libs/scikits_learn that causes the build to fail when +doc is enabled. This is the original line: rm -r "${d}"/sklearn/datasets/{data,desr,images} || die This is the correct line: rm -r "${d}"/sklearn/datasets/{data,descr,images} || die Not providing a specific patch because this typo appears to affect all available ebuilds. I'm surprised I'm the first one to find this issue, I suppose nobody else built it +doc!
commit afadb91fb20b3f5fbbe19c2c493ec78cb480d560 Author: Justin Lecher <jlec@gentoo.org> Date: Tue Jan 26 20:09:10 2016 +0100 sci-libs/scikits_learn: Fix typo in doc installation Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=572806 Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afadb91fb20b3f5fbbe19c2c493ec78cb480d560