FEATURES=test emerge -1 =app-emacs/evil-1.0.8 fails in the test phase: [...] >>> Compiling source in /var/tmp/portage/app-emacs/evil-1.0.8/work/evil ... * Compiling GNU Emacs Elisp files ... Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-commands.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-common.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-core.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-digraphs.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-ex.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-integration.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-macros.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-maps.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-repeat.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-search.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-states.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-types.elc Wrote /var/tmp/portage/app-emacs/evil-1.0.8/work/evil/evil-vars.elc [ ok ] >>> Source compiled. >>> Test phase [test]: app-emacs/evil-1.0.8 sed: can't read evil-pkg.el: No such file or directory emacs -nw -Q -L . -L lib -l evil-tests.el \ --eval "(evil-tests-initialize '() '())" emacs: standard input is not a tty make: *** [test] Error 1 * ERROR: app-emacs/evil-1.0.8::gentoo failed (test phase): * Make test failed. See above for details. * * Call stack: * ebuild.sh, line 93: Called src_test * environment, line 2143: Called __eapi0_src_test * phase-helpers.sh, line 676: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} test || \ * die "Make test failed. See above for details." * [...]
> emacs: standard input is not a tty These tests require tty input/output which cannot be done easily in an ebuild environment. I've added RESTRICT=test to the ebuild.