Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80908 - src_test error emerging coreutils-5.2.1-r4
Summary: src_test error emerging coreutils-5.2.1-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 83921 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-05 14:02 UTC by Attila Stehr
Modified: 2005-03-06 07:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Stehr 2005-02-05 14:02:00 UTC
can't emerge coreutils having FEATURES="maketest"

Reproducible: Always
Steps to Reproduce:
emerge -D --newuse -u coreutils

Actual Results:  
Making check in src
make[1]: Entering directory
`/var/tmp/portage/coreutils-5.2.1-r2/work/coreutils-5.2.1/src'
rm -rf progs-readme progs-makefile
echo [ chgrp chown chmod cp dd dircolors du ginstall link ln dir vdir ls mkdir
mkfifo mknod mv nohup readlink rm rmdir shred stat sync touch unlink cat cksum
comm csplit cut expand fmt fold head join md5sum nl od paste pr ptx sha1sum sort
split sum tac tail tr tsort unexpand uniq wc basename date dirname echo env expr
factor false id logname pathchk printenv printf pwd seq sleep tee test true tty
whoami yes uname chroot hostid nice pinky users who stty df  chroot df hostid
nice pinky stty uname users who \
  | tr -s ' ' '\n' | LC_ALL=C sort -u > progs-makefile && \
sed -n '/^The programs .* are:/,/^[a-zA-Z]/p' ../README \
  | sed -n '/^   */s///p' | tr -s ' ' '\n' > progs-readme
diff progs-makefile progs-readme && rm -rf progs-readme progs-makefile
28a29
> groups
30a32
> hostname
32a35
> kill
64a68
> su
79a84
> uptime
make[1]: *** [check-README] Error 1
make[1]: Leaving directory
`/var/tmp/portage/coreutils-5.2.1-r2/work/coreutils-5.2.1/src'
make: *** [check-recursive] Error 1

!!! ERROR: sys-apps/coreutils-5.2.1-r2 failed.
!!! Function src_test, Line 566, Exitcode 0
!!! Make check failed. See above for details.



my make.conf:

CHOST           ="i686-pc-linux-gnu"
CFLAGS          ="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CXXFLAGS        ="${CFLAGS}"
AUTOCLEAN       ="yes"

USE             ="-* x86 3dnow apache2 bzlib crypt curl curlwrappers emacs exif
doc gd gpm hardened hardenedphp leim memlimit mime mmx ncurses nls pam pcntl
pdflib php spl session simplexml sockets ssl tcpd tidy tokenizer xml xml2 xsl
zlib svga gif jpeg mng png pdflib soap mysql postgres"

FEATURES="candy severe sfperms maketest"
PORT_LOGDIR     =/var/log/portage

GENTOO_MIRRORS  ="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
Comment 1 SpanKY gentoo-dev 2005-02-06 00:08:01 UTC

*** This bug has been marked as a duplicate of 69216 ***
Comment 2 Attila Stehr 2005-02-06 04:51:34 UTC
Bug #69216's status is FIXED, but it is not FIXED so I reopen this bug.
By the way #69216 refers to coreutils-5.2.1-r3 and not -r4.
Comment 3 Attila Stehr 2005-02-06 04:53:23 UTC
ups ... _sorry_ guys ... mixed version numbers ...
so I'll mark this duplicate agayin

*** This bug has been marked as a duplicate of 69216 ***
Comment 4 Attila Stehr 2005-02-07 02:21:25 UTC
Same error with -r4 !!!

======================================
1 of 4 tests failed
(1 tests were not run)
Please report to bug-coreutils@gnu.org
======================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/chgrp'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/chgrp'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests'
make: *** [check-recursive] Error 1

!!! ERROR: sys-apps/coreutils-5.2.1-r4 failed.
!!! Function src_test, Line 114, Exitcode 2
!!! make check failed
Comment 5 SpanKY gentoo-dev 2005-02-07 05:53:18 UTC
no, it's not

in fact, this time you didnt even include helpful output

re-open when you've posted the actual error
Comment 6 Attila Stehr 2005-02-07 14:21:30 UTC
I don't know which information you needed. I thought this would be enough:
!!! ERROR: sys-apps/coreutils-5.2.1-r4 failed.
!!! Function src_test, Line 114, Exitcode 2

So hope I this helps:

make[1]: Entering directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests'
../src/printenv POSIXLY_CORRECT >/dev/null \
  && sed s/%%/POSIXLY_CORRECT/ ./.env-warn || :
test "${CDPATH+set}" = set \
  && sed s/%%/CDPATH/ ./.env-warn || :
***********************************************************
NOTICE: Some tests may be run only as root.
  Do `make check-root' as `root' to run these tests.
***********************************************************
Making check in basename
make[2]: Entering directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/basename'
make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/basename'
PASS: basic
==================
All 1 tests passed
==================
make[3]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/basename'
make[2]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/basename'
Making check in chgrp
make[2]: Entering directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/chgrp'
make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/chgrp'
./no-x: this test requires that you be a member of more than one group,
but running `id -nG' either failed or found just one.  If you really
are a member of at least two group, then rerun this test with FETISH_GROUPS
set in your environment to the space-separated list of names.  E.g.,

  env FETISH_GROUPS='users cdrom' make check

SKIP: no-x
FAIL: posix-H
PASS: basic
PASS: deref
PASS: recurse
======================================
1 of 4 tests failed
(1 tests were not run)
Please report to bug-coreutils@gnu.org
======================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/chgrp'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/chgrp'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests'
make: *** [check-recursive] Error 1

!!! ERROR: sys-apps/coreutils-5.2.1-r4 failed.
!!! Function src_test, Line 114, Exitcode 2
!!! make check failed
Comment 7 Alexander Steppke 2005-02-10 11:16:05 UTC
Same error here while trying to emerge coreutils-5.2.1-r4 with FEATURES="maketest" (running as root)

Error message is as follows: 


SKIP: no-x
FAIL: posix-H
PASS: basic
PASS: deref
PASS: recurse
======================================
1 of 4 tests failed
(1 tests were not run)
Please report to bug-coreutils@gnu.org
======================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/chgrp'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests/chgrp'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/tests'
make: *** [check-recursive] Error 1

emerge info output:
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 19:17:05)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms test"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm avi berkdb bitmap-fonts bzlib crypt encode f77 fastcgi flac font-server foomaticdb fortran ftp gdbm gpm gtk2 hardened imap imlib ipv6 jpeg ldap libg++ libwww mad mmx mpeg ncurses nls oggvorbis pam pdflib perl png python qt readline samba sdl slang spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb xml2 xmms zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 8 Attila Stehr 2005-02-15 04:01:26 UTC
Updating autoconf and automake (& -wrapper) to the recent versions _solves_ the problem!
Comment 9 SpanKY gentoo-dev 2005-03-03 15:25:07 UTC
*** Bug 83921 has been marked as a duplicate of this bug. ***
Comment 10 Peter Cech 2005-03-04 00:40:12 UTC
# etcat -v autoconf
[ Results for search key           : autoconf ]
[ Candidate applications found : 2 ]

 Only printing found installed programs.

*  sys-devel/autoconf :
        [  I] 2.13 (2.1)
        [  I] 2.59-r6 (2.5)

# etcat -v automake
[ Results for search key           : automake ]
[ Candidate applications found : 6 ]

 Only printing found installed programs.

*  sys-devel/automake :
        [  I] 1.4_p6 (1.4)
        [  I] 1.5 (1.5)
        [  I] 1.6.3 (1.6)
        [  I] 1.7.9-r1 (1.7)
        [  I] 1.8.5-r3 (1.8)
        [  I] 1.9.4 (1.9)

# etcat -v autoconf-wrapper
[ Results for search key           : autoconf-wrapper ]
[ Candidate applications found : 1 ]

 Only printing found installed programs.

*  sys-devel/autoconf-wrapper :
        [  I] 2-r1 (0)

# etcat -v automake-wrapper
[ Results for search key           : automake-wrapper ]
[ Candidate applications found : 1 ]

 Only printing found installed programs.

*  sys-devel/automake-wrapper :
        [  I] 1-r1 (0)

... and still getting FAIL: posix-H

Any idea what could be wrong with my system?
Comment 11 Attila Stehr 2005-03-04 09:33:26 UTC
Hum ... I have the same auto* and auto*-wrapper.
Maybe there is something else what was already emerged on my system and is needed for passing the test?!

Hopefully the output of emerge --info from my system helps! Please especially check the use-flags.

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.28-gentoo-r7 i686)
=================================================================
System uname: 2.4.28-gentoo-r7 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 17 2005, 14:28:58)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.9.4, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox severe sfperms test"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow apache2 bzlib crypt cups curl curlwrappers directfb doc emacs exif fbcon gd gif gpm hardened hardenedphp javascript jpeg leim memlimit mime mmx mng ncurses nls pam pcntl pcre pdflib php png session simplexml soap sockets spl ssl svga tcpd test tidy tokenizer unicode x86 xml xml2 xsl zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 12 Peter Cech 2005-03-06 07:27:48 UTC
Just tried to manually run "make check" in /var/tmp/portage/coreutils-5.2.1-r4/work/coreutils-5.2.1/ (after ebuild fails) and... it passed all the tests.

Emerging with FEATURES="-sandbox" succeeded. So it seems my portage sandbox is broken.