emerge does not finishes installation of zarith-1.2, because of bad syntax in ebuild. Reproducible: Always Steps to Reproduce: 1. use science overlay 2. USE="-doc" emerge -va zarith Actual Results: emerge finishes with message * ERROR: dev-ml/zarith-1.2.1::science failed (compile phase): * emake doc failed Expected Results: package should be merged Changing the line - use doc && emake doc || die "emake doc failed" + use doc && (emake doc || die "emake doc failed") allows compilation to finish and installation follows without problem. The resulting library is usable: I've tested compiling and running some programs. So, this is probably just a syntax typo in the ebuild file.
Already fixed in the overlay: commit 25ebbaaa45bdc4904c002de89a56c0d45f484720 Author: Jonathan-Christofer Demay <jcdemay@gmail.com> Date: Sun Jul 20 11:49:27 2014 +0200 dev-ml/zarith-1.2.1: fix doc building