Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504946

Summary: =app-emacs/evil-1.0.8 fails tests
Product: Gentoo Linux Reporter: Chema Alonso Josa (RETIRED) <nimiux>
Component: Current packagesAssignee: Emacs project <emacs>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chema Alonso Josa (RETIRED) gentoo-dev 2014-03-18 09:09:01 UTC
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."
 * 
[...]
Comment 1 Ulrich Müller gentoo-dev 2014-03-18 09:39:21 UTC
> 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.