app-arch/tar-1.15.1 fails the "2: decompressing from stdin" and "20: working --listed" tests. Reproducible: Always Steps to Reproduce: 1. emerge -uv --oneshot tar Actual Results: [...] make[2]: Leaving directory `/var/tmp/portage/portage/tar-1.15.1/work/tar-1.15.1/tests' make check-local make[2]: Entering directory `/var/tmp/portage/portage/tar-1.15.1/work/tar-1.15.1/tests' /bin/sh ./testsuite ## -------------------------- ## ## GNU tar 1.15.1 test suite. ## ## -------------------------- ## 1: tar version ok 2: decompressing from stdin FAILED (pipe.at:50) 3: options ok 4: append ok 5: deleting a member after a big one ok 6: deleting a member from stdin archive ok 7: deleting members with long names ok 8: deleting a large last member ok 9: deleting non-existing member ok 10: extract01 ok 11: extracting symlinks over an existing file ok 12: extraction loops ok 13: extract + fnmatch ok 14: extracting selected members from pax ok 15: gzip ok 16: incremental ok 17: ignfail ok 18: link count gt 2 ok 19: --listed for individual files ok 20: working --listed FAILED (listed02.at:148) 21: V7 and long names ok 22: multivolume dumps from pipes ok 23: skipping a straddling member ok 24: MV archive & long filenames ok 25: old archives ok 26: recurse ok 27: same-order01 ok 28: same-order02 ok 29: sparse01 ok 30: volume ok 31: compressed format recognition ok 32: gtarfail skipped (gtarfail.at:38) 33: gtarfail2 skipped (gtarfail2.at:41) 34: multi-fail skipped (multi-fail.at:86) 35: ustar-big-2g skipped (ustar-big-2g.at:36) 36: ustar-big-8g skipped (ustar-big-8g.at:36) 37: pax-big-10g skipped (pax-big-10g.at:36) ## ------------- ## ## Test results. ## ## ------------- ## ERROR: 31 tests were run, 2 failed unexpectedly. 6 tests were skipped. ## -------------------------- ## ## testsuite.log was created. ## ## -------------------------- ## Please send `testsuite.log' and all information you think might help: To: <bug-tar@gnu.org> Subject: [GNU tar 1.15.1] testsuite: 2 20 failed You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. make[2]: *** [check-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/portage/tar-1.15.1/work/tar-1.15.1/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/portage/tar-1.15.1/work/tar-1.15.1/tests' make: *** [check-recursive] Error 1 !!! ERROR: app-arch/tar-1.15.1 failed. !!! Function src_test, Line 566, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Successfully run the test suite and install the software. Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.10-infra-r2-cube-1 i686) ================================================================= System uname: 2.6.10-infra-r2-cube-1 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 02:37:46)] distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.4_p6, 1.9.4, 1.6.3, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /usr/vice/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" LANG="en_US" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0" SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage" USE="x86 3dnow S3TC X acl afs alsa apm avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cdr crypt curl doc dvd dvdr ecc emboss encode fam flac font-server foomaticdb fortran gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg kerberos lapack lcms libg++ libwww lvm1 mad maildir makecheck mbox mikmod mmx monitor mozsvg mp3 mpeg mysql nas ncurses nls nodrm offensive oggvorbis opengl oss pam pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey smartcard spell sqlite sse ssl tetex tiff truetype truetype-fonts type1-fonts unicode userlocales xml xml2 xv xvid zlib linguas_en,de" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Created attachment 54611 [details] testsuite.log
i saw this on one box but wasnt able to track down the problem ... i found if i built it in /var/tmp/portage and ran `make check`, it'd fail, but if i built it in same /home/vapier and ran `make check`, it'd work ... the only thing that differed was built location :/
After bug #92409 has been fixed, I'm hitting this again, this time with an additional failing test: 24: MV archive & long filenames FAILED (multiv03.at:58)
(In reply to comment #3) > After bug #92409 has been fixed, I'm hitting this again, this time with an additional failing test: > > 24: MV archive & long filenames FAILED (multiv03.at:58) this is bug #90742. looks like it's still erroring after the patch.
## ---------------------- ## ## Detailed failed tests. ## ## ---------------------- ## 24. multiv03.at:28: testing ... multiv03.at:58: mkdir gnu (cd gnu TAR_OPTIONS="-H gnu" export TAR_OPTIONS rm -rf * AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'` BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'` cat > ../experr <<EOF tar: $BFILE: file name too long to be stored in a GNU multivolume header tar: Error is not recoverable: exiting now EOF cat > ../expout <<EOF $AFILE separator EOF genfile --length 15360 > $AFILE tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1 tar -tM -f arch.1 -f arch.2 || exit 1 echo separator genfile --length 15360 > $BFILE tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE ) --- experr 2005-05-26 00:04:16.000000000 -0600 +++ /var/tmp/portage/tar-1.15.1/work/tar-1.15.1/tests/testsuite.dir/at-stderr 2005-05-26 00:04:16.000000000 -0600 @@ -1,2 +1 @@ -tar: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb[snip] file name too long to be stored in a GNU multivolume header -tar: Error is not recoverable: exiting now +tar: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb[snip]: file name too long to be stored in a GNU multivolume header, truncated multiv03.at:58: exit code was 0, expected 2 24. multiv03.at:28: 24. MV archive & long filenames (multiv03.at:28): FAILED (multiv03.at:58)
this in the log: cat > ../experr <<EOF tar: $BFILE: file name too long to be stored in a GNU multivolume header tar: Error is not recoverable: exiting now EOF is actually this in multiv03.at after the patch: cat > ../experr <<EOF tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated EOF which is what it should be. so it's using pre-patched code which i found is cached in /test/testsuite. we need to either patch the script or regenerate it. i'm not exactly sure how to do the latter.
Created attachment 59854 [details] append.at we can't regenerate test/testsuite due to the missing append.at (bug #92409), which in turn stops the patch from having an effect. so let's kill both bugs with one checkout from savannah. attached is append.at. it's ~1K so it can go in $FILESDIR. editted the ebuild to copy it into the tests dir and touch testsuite.at so it regens testsuite.
Created attachment 59856 [details, diff] tar-1.15.1.ebuild.diff
thanks, added append.at to portage
*** Bug 92523 has been marked as a duplicate of this bug. ***
Back to the original list of failed tests (2: decompressing from stdin, 20: working --listed) again. Both seem to be caused by an ordering difference of created file vs. expected output: 2. pipe.at:29: testing ... [...] --- - 2005-06-25 16:18:52.035713000 +0200 +++ /var/tmp/portage/portage/tar-1.15.1/work/tar-1.15.1/tests/testsuite.dir/at-stdout 2005-06-25 16:18:52.000000000 +0200 @@ -1,6 +1,6 @@ directory/ -directory/file1 directory/file2 +directory/file1 separator separator 20. listed02.at:28: testing ... [...] --- - 2005-06-25 16:19:13.454073000 +0200 +++ /var/tmp/portage/portage/tar-1.15.1/work/tar-1.15.1/tests/testsuite.dir/at-stderr 2005-06-25 16:19:13.000000000 +0200 @@ -1,4 +1,4 @@ -tar: tart/c0: Directory is new tar: tart/c1: Directory is new +tar: tart/c0: Directory is new tar: tart/c2: Directory is new
Just encountered the same error when re-emerging TAR with tests enabled. Additional info: I am using ReiserFS, and the problem is caused by incmpatibility between tar testsuite and ReiserFS http://lists.gnu.org/archive/html/bug-tar/2005-01/msg00057.html
I'm using ext3 (vanilla kernel, no special mount options besides data=journal), so it's not just a RasierFS incompatibility.
What kind of incompatibility can cause reiserfs with a pipe error while decompressing from stdin? same 2 errors here, reiserfs on my system but test done in tmpfs 2GB partition. 2: decompressing from stdin FAILED (pipe.at:50) 20: working --listed FAILED (listed02.at:148) my emerge --info: Portage 2.1_pre6-r1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow " DISTDIR="/home/ftp/distfiles" FEATURES="autoconfig ccache collision-protect confcache cvs distlocks elog metadata-transfer multilib-strict parallel-fetch sandbox sfperms sign strict stricter test userpriv" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.osuosl.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.heanet.ie/pub/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gentoo.ngi.it http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ " LANG="it_IT.utf8" LINGUAS="it" PKGDIR="/home/ftp/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/migration-overlay /usr/local/overlays/tinyos /usr/local/overlays/gentoo-java-experimental" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 7zip X a52 aac aalib acl acpi alsa apache2 arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo canvas ccache cdb cddb cdparanoia cdr chroot cpudetection crypt css cups curl dba dbus dga directfb dlloader dri dts dv dvd dvdr dvdread dynagraph emboss encode erandom esd exif expat extrafilters fame ffmpeg firefox flac fltk foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal idn ieee1394 imagemagick imlib ipv6 ithreads java jbig jikes jpeg jpeg2k justify kde kdeenablefinal lcms ldap libcaca linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad mailwrapper mbox mdb mhash mikmod mjpeg mmap mng motif mozsvg mp3 mpeg mpm-worker musicbrainz mysql ncurses nls nptl nptlonly numeric nvidia odbc offensive ogg on-the-fly-crypt openexr opengl oss pam pcre pcsc-lite pdf pdflib perl php png povray ppds python qt quicktime rdesktop readline rtc samba scanner sdl slang smp snmp speex spell ssl subversion svg sysfs tcltk tcpd test tetex tga theora threads tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vcd vda vorbis wmf xcomposite xine xinerama xml2 xmms xpm xscreensaver xv xvid yv12 zlib elibc_glibc input_devices_mouse input_devices_evdev input_devices_keyboard kernel_linux linguas_it userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, MAKEOPTS
today i build tar-1.15.91 from ftp://alpha.gnu.org/gnu/tar/ and every test was ok, perhaps this ebuild can get in portage
Created attachment 90671 [details] tar-1.15.91.ebuild
(In reply to comment #15) > today i build tar-1.15.91 from ftp://alpha.gnu.org/gnu/tar/ and every test was > ok, perhaps this ebuild can get in portage > 1.15.91 fails test for me under ~amd64: app-arch/tar-1.15.91 [1.15.1-r1] USE="bzip2 nls -build -static" Gentoo Base System version 1.12.1 Portage 2.1.1_pre2-r2 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo x86_64) ================================================================= System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+ distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow " DISTDIR="/home/ftp/distfiles" FEATURES="autoconfig collision-protect cvs distlocks elog java-strict metadata-transfer multilib-strict sandbox sfperms sign strict stricter test userfetch userpriv" GENTOO_MIRRORS="http://gentoo.ngi.it ftp://ftp.unina.it/pub/linux/distributions/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ " LANG="it_IT.utf8" LC_ALL="it_IT.utf8" LINGUAS="it" PKGDIR="/home/ftp/packages" PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=400 --progress " PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/tinyos /usr/local/overlays/gentoo-java-experimental" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 7zip X a52 aac aalib acl acpi alsa apache2 arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo canvas caps ccache cdb cddb cdparanoia cdr chroot cli cpudetection crypt css cups curl dba dbus dga directfb dlloader dmi dri dts dv dvd dvdr dvdread dynagraph emboss encode erandom esd exif expat extrafilters fame ffmpeg firefox flac fltk foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal idn ieee1394 imagemagick imlib ipv6 isdnlog ithreads java jbig jikes jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility lcms ldap libcaca linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad mailwrapper matroska mbox mdb mhash mikmod mjpeg mmap mng motif mozsvg mp3 mpeg mpm-worker musepack musicbrainz mysql ncurses nls nptl nptlonly numeric nvidia odbc offensive ogg on-the-fly-crypt openexr opengl oss pam pcre pcsc-lite pdf pdflib perl php png povray ppds pppd python qt qt3 qt4 quicktime rdesktop readline reflection rtc samba scanner sdl session slang smime smp sndfile snmp speex spell spl ssl subversion svg sysfs syslog tcltk tcpd test tetex tga theora threads tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vcd vda vorbis vorbis-psy wmf xcomposite xine xinerama xml xml2 xmms xorg xpm xscreensaver xv xvid xvmc yv12 zeroconf zlib elibc_glibc input_devices_mouse input_devices_evdev input_devices_keyboard kernel_linux linguas_it userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS full emerge log and testlog will follow as attachments.
Created attachment 90893 [details] tar-1.15.91-testsuite.log
Created attachment 90895 [details] tar-1.15.91-full-log
latest versions should work