Summary: | sys-apps/coreutils-5.2.1-r6 tests Test phase fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dick Marinus <dick> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | griffon26, sascha-gentoo-bugzilla |
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | x86 | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 73031 | ||
Attachments: |
009_all_coreutils-tests.patch.diff
coreutils-5.2.1-r6.ebuild.diff |
Description
Dick Marinus
2005-04-03 08:45:06 UTC
you neglected to post `emerge info` like you were supposed to sorry about that, # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11.5-dm0 i686) ================================================================= System uname: 2.6.11.5-dm0 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 11:24:22)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.5, 1.7.9-r1, 1.6.3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="nl_NL@euro" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage-overlay" SYNC="rsync://routi.marinus/gentoo-portage" USE="x86 X X509 Xaw3d aalib acpi acpi4linux alsa ao apm arts avi berkdb bitmap-fonts bluetooth c++ cdparanoia cdr crypt cscope cups curl directfb divx4linux dvd dvdread edl emboss encode extras fam fbcon flac foomaticdb fortran gif gphoto2 gstreamer gtk gtk2 guile imagemagick imap imlib ipv6 java jpeg junit kde kdeenablefinal ldap libg++ libwww live lzo mad mikmod mmx motif mozdevelop mozsvg mozxmlterm mp3 mpeg ncurses network nls noreiserfs nvidia oggvorbis opengl pam pda pdflib plotutils png portaudio python qt qtmt quicktime readline rtc samba sdl slang softmmu spell sse ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vim-with-x visualization xine xinerama xml2 xmms xv xvid zlib linguas_nl" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS does it work with FEATURES="-userpriv -usersandbox" ? 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-r6/work/coreutils-5.2.1/tests/chgrp' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r6/work/coreutils-5.2.1/tests/chgrp' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/coreutils-5.2.1-r6/work/coreutils-5.2.1/tests' make: *** [check-recursive] Fout 1 !!! ERROR: sys-apps/coreutils-5.2.1-r6 failed. !!! Function src_test, Line 110, Exitcode 2 !!! make check failed !!! If you need support, post the topmost build error, NOT this status message. I'm now having: FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks maketest sandbox sfperms strict test Confirming fail during chgrp posix-H test. Passes outside of sandbox. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + . ./../group-names ++ groups='root bin daemon sys adm disk wheel floppy dialout tape video' ++ case "$groups" in + set _ root bin daemon sys adm disk wheel floppy dialout tape video + shift + g1=root + g2=bin ++ pwd + pwd=/var/tmp/portage/coreutils-5.2.1-r6/work/coreutils-5.2.1/tests/chgrp ++ echo ./posix-H ++ sed 's,.*/,,' + t0=posix-H.tmp + tmp=posix-H.tmp/14866 + trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0 + trap '(exit $?); exit $?' 1 2 13 15 + framework_failure=0 + mkdir -p posix-H.tmp/14866 + cd posix-H.tmp/14866 + mkdir 1 2 3 + touch 1/1F 2/2F 3/3F + ln -s 1 1s + ln -s ../3 2/2s + chgrp -R root 1 2 3 + test 0 = 1 + fail=0 + chgrp -HR bin 1s 2 + changed=' 1 1/1F 2 2/2s 2/2F ' + for i in '$changed' + case $i in ++ ls -dg 1 + set _ drwxr-xr-x 2 root 72 Apr 19 19:19 1 + shift + group=root + test root = bin + fail=1 + for i in '$changed' + case $i in ++ ls -dg 1/1F + set _ -rw-r--r-- 1 bin 0 Apr 19 19:19 1/1F + shift + group=bin + test bin = bin + for i in '$changed' + case $i in ++ ls -dg 2 + set _ drwxr-xr-x 2 bin 96 Apr 19 19:19 2 + shift + group=bin + test bin = bin + for i in '$changed' + case $i in + continue + for i in '$changed' + case $i in ++ ls -dg 2/2F + set _ -rw-r--r-- 1 bin 0 Apr 19 19:19 2/2F + shift + group=bin + test bin = bin + not_changed=' 3 3/3F 1s ' + for i in '$not_changed' + case $i in ++ ls -dg 3 + set _ drwxr-xr-x 2 root 72 Apr 19 19:19 3 + shift + group=root + test root = root + for i in '$not_changed' + case $i in ++ ls -dg 3/3F + set _ -rw-r--r-- 1 root 0 Apr 19 19:19 3/3F + shift + group=root + test root = root + for i in '$not_changed' + case $i in + continue + exit 1 + exit 1 + status=1 + cd /var/tmp/portage/coreutils-5.2.1-r6/work/coreutils-5.2.1/tests/chgrp + chmod -R u+rwx posix-H.tmp + rm -rf posix-H.tmp + exit 1 FAIL: posix-H + chgrp --version chgrp (coreutils) 5.2.1 Written by David MacKenzie and Jim Meyering. it sets up a dir structure like this: +1 +-1F +-1s (symlink to 1) +2 +-2F +-2s (symlink to 3) +3 +-3F the runs: chgrp -R group1 1 2 3 chgrp -HR bin group2 1s 2 expected: group1: 3 3F 1s group2: 1, 1F, 2, 2s, 2F the 1s symlink to 1 should change 1 and 1F to be owned by group2 when -HR is used. the 2s symlink to 3 should not be changed because it isn't explicitly stated on the command line. the reason for the failure is for some reason the dir "1" doesn't change permission from group1 to group2 when this test is run in portage. it works fine outside. Created attachment 56722 [details, diff]
009_all_coreutils-tests.patch.diff
works as adv outside of sandbox so just disables the test.
Created attachment 56726 [details, diff]
coreutils-5.2.1-r6.ebuild.diff
sort-mb-tests also fails because the script isn't executable.
fixed in cvs ... made sure the test is given executable permissions |