When trying to compile cvs-1.11.17 a test will fail. The test tells the user that: "This test suite does not work correctly when run as root". Output: >>> Test phase [check]: dev-util/cvs-1.11.17 Making check in lib make[1]: Entering directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/lib' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/lib' Making check in zlib make[1]: Entering directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/zlib' gcc -O3 -march=pentium4 -pipe -fomit-frame-pointer -w -c -o minigzip.o minigzip.c gcc -O3 -march=pentium4 -pipe -fomit-frame-pointer -w -o minigzip minigzip.o libz.a gcc -O3 -march=pentium4 -pipe -fomit-frame-pointer -w -c -o example.o example.c gcc -O3 -march=pentium4 -pipe -fomit-frame-pointer -w -o example example.o libz.a hello world uncompress(): hello, hello! gzread(): hello, hello! gzgets() after gzseek: hello! inflate(): hello, hello! large_inflate(): OK after inflateSync(): hello, hello! inflate with dictionary: hello, hello! *** zlib test OK *** make[1]: Leaving directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/zlib' Making check in diff make[1]: Entering directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/diff' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/diff' Making check in src make[1]: Entering directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/src' make check-local make[2]: Entering directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/src' /bin/sh ./sanity.sh `pwd`/cvs This test should produce no other output than this message, and a final "OK". (Note that the test can take an hour or more to run and periodically stops for as long as one minute. Do not assume there is a problem just because nothing seems to happen for a long time. If you cannot live without running status, try the command: `tail -f check.log' from another window.) Test suite does not work correctly when run as root make[2]: *** [localcheck] Error 1 make[2]: Leaving directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/src' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/cvs-1.11.17/work/cvs-1.11.17/src' make: *** [check-recursive] Error 1 !!! ERROR: dev-util/cvs-1.11.17 failed. !!! Function src_test, Line 520, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge cvs 3. notice the test failure notice Actual Results: emerge cvs failed Expected Results: emerge cvs should have worked Portage 2.0.51-r2 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r0, 2.6.6-rc1 i686 ) ================================================================= System uname: 2.6.6-rc1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -w" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/c onfig /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config / /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/ texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -w" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks maketest sandbox" GENTOO_MIRRORS="ftp://ftp.tugraz.at/mirror/gentoo-linux ftp://gd4.tuwien.ac.at/linux/g entoo ftp://gentoo.inode.at/source" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi acpi4linux alsa apm avi berkdb bitmap-fonts cdr crypt cups dga doc d vd emacs encode esd f77 fortran gdbm gif gpm imlib java jpeg leim libg++ libwww mad mi kmod mmx motif mozilla mpeg ncurses oggvorbis opengl oss pam pcmcia pdflib perl png py thon quicktime radeon readline ruby sdl silc slang spell sse ssl svga tcpd tetex truet ype usb x86 xml2 xv zlib"
Is your issue only that there is an error or do you absolutely want to run the test case? I think for cvs' case the best for now is to use use an empty src_test() since the tests take ages anyway and a failing test doesn't mean that the install is broken. If there are no objections, I'll just add an empty src_test() for now to work around this "problem" (but then again, even most people with maketest in their FEATURES probably don't want to run the cvs tests anyway).
Adding an emtpy src_test() probably is a good solution.
committed. Changing status to RESOLVED / FIXED because the ebuild doesn't fail because of maketest (just puts a little einfo if maketest is used) and virtually no one would want to run the cvs tests, even those using "maketest".