Hi, After I built GNU tar 1.26 with the TAPE environment variable set, "make check" fails:
96: storing long sparse file names FAILED (sparse04.at:35) Details: $ echo $TAPE /dev/fd0 $ ./configure --host=i686-pc-linux-gnu --prefix=/arch/x86-linux/gnu CC="gcc -m32 -march=i586" CXX="g++ -m32 -march=i586" LDFLAGS="-m32" CPPFLAGS=-Wall ... $ make ... $ make check ... 96: storing long sparse file names FAILED (sparse04.at:35) ... After I "unset TAPE" and redo "make check", all tests pass. Bruno ============================= tests/testsuite.log ============================= ## ------------------------ ## ## GNU tar 1.26 test suite. ## ## ------------------------ ## testsuite: command line was: $ ./testsuite ## ----------- ## ## ChangeLogs. ## ## ----------- ## testsuite: ../ChangeLog: | 2011-03-12 Sergey Poznyakoff <[email protected]> | | Version 1.26 | * NEWS, configure.ac: Update. | * po/POTFILES.in: Remove paxexit.c (see bb971a1e). | | 2011-03-08 Paul Eggert <[email protected]> | | --atime-preserve=replace: fix correctness and performance bugs | reported by Eric Blake in ## --------- ## ## Platform. ## ## --------- ## hostname = linuix uname -m = x86_64 uname -r = 2.6.25.20-0.5-default uname -s = Linux uname -v = #1 SMP 2009-08-14 01:48:11 +0200 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/bruno/data/build/tar-1.26/tests PATH: /home/bruno/data/build/tar-1.26/src PATH: /home/bruno/data/build/tar-1.26/build-aux PATH: /home/bruno/data/build/tar-1.26 PATH: /opt/kde3/bin PATH: /home/bruno/bin PATH: /arch/x86_64-linux/gnu/bin PATH: /arch/x86-linux/gnu/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/bin/X11 PATH: /usr/X11R6/bin PATH: /usr/games PATH: /usr/lib64/jvm/jre/bin PATH: /usr/lib/mit/bin PATH: /usr/lib/mit/sbin testsuite: atconfig: | # Configurable variable values for building test suites. | # Generated by ./config.status. | # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc. | | # The test suite will define top_srcdir=/../.. etc. | at_testdir='tests' | abs_builddir='/home/bruno/data/build/tar-1.26/tests' | at_srcdir='.' | abs_srcdir='/home/bruno/data/build/tar-1.26/tests' | at_top_srcdir='..' | abs_top_srcdir='/home/bruno/data/build/tar-1.26' | at_top_build_prefix='../' | abs_top_builddir='/home/bruno/data/build/tar-1.26' | | # Backward compatibility with Autotest <= 2.59b: | at_top_builddir=$at_top_build_prefix | | AUTOTEST_PATH='tests' | | SHELL=${CONFIG_SHELL-'/bin/sh'} testsuite: atlocal: | # tests/atlocal. Generated from atlocal.in by configure. -*- shell-script -*- | # Configurable variable values for tar test suite. | # Copyright (C) 2004, 2006 Free Software Foundation, Inc. | | PATH=/home/bruno/data/build/tar-1.26/tests:/home/bruno/data/build/tar-1.26/src:/home/bruno/data/build/tar-1.26/build-aux:$top_srcdir:$srcdir:$PATH | | XFAILFILE=$abs_builddir/.badversion | | trap "test -r $XFAILFILE && cat $XFAILFILE; exit $?" 1 2 13 15 | | TEST_DATA_URL=ftp://download.gnu.org.ua/pub/tests/tar | if test -z "$TEST_DATA_DIR"; then | TEST_DATA_DIR=$abs_builddir | fi | | STAR_DATA_URL=ftp://ftp.berlios.de/pub/star/testscripts | if test -z "$STAR_TESTSCRIPTS"; then | STAR_TESTSCRIPTS=$TEST_DATA_DIR | fi | | # tarball_prereq file sum dir url | tarball_prereq() { | if test -d "$3"; then | if test -r $3/$1; then | : | elif test -n "$FULL_TEST"; then | wget -q --directory-prefix=$3 $4/$1 | fi | fi | echo "$2 $3/$1" | md5sum --status --check - >/dev/null 2>&1 | } | | decho() { | echo $* | echo >&2 $* | } ## ---------------- ## ## Tested programs. ## ## ---------------- ## ./testsuite.at:112: /home/bruno/data/build/tar-1.26/src/tar --version tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. ## ------------------ ## ## Running the tests. ## ## ------------------ ## testsuite: starting at: Sat Mar 12 19:44:07 CET 2011 1. tar version (version.at:19): ok (0m0.004s 0m0.000s) 2. decompressing from stdin (pipe.at:30): ok (0m0.040s 0m0.088s) 3. mixing options (options.at:24): ok (0m0.004s 0m0.004s) 4. interspersed options (options02.at:26): ok (0m0.000s 0m0.016s) 5. files-from: empty entries (T-empty.at:26): ok (0m0.000s 0m0.016s) 6. files-from: 0-separated file without -0 (T-null.at:21): ok (0m0.004s 0m0.020s) 7. tar --index-file=FILE --file=- (indexfile.at:26): ok (0m0.032s 0m0.044s) 8. tar cvf - (verbose.at:26): ok (0m0.028s 0m0.040s) 9. append (append.at:21): ok (0m0.016s 0m0.060s) 10. appending files with long names (append01.at:29): ok (0m0.032s 0m0.036s) 11. append vs. create (append02.at:54): ok (0m0.036s 0m0.072s) 12. append with name transformation (append03.at:19): ok (0m0.028s 0m0.060s) 13. transforming hard links on create (xform-h.at:30): ok (0m0.044s 0m0.092s) 14. transformations and GNU volume labels (xform01.at:26): ok (0m0.004s 0m0.008s) 15. exclude (exclude.at:23): ok (0m0.024s 0m0.056s) 16. exclude wildcards (exclude01.at:17): ok (0m0.060s 0m0.152s) 17. exclude: anchoring (exclude02.at:17): ok (0m0.056s 0m0.192s) 18. exclude: wildcards match slash (exclude03.at:17): ok (0m0.064s 0m0.156s) 19. exclude: case insensitive (exclude04.at:17): ok (0m0.080s 0m0.152s) 20. exclude: lots of excludes (exclude05.at:19): ok (0m30.798s 0m1.812s) 21. exclude: long files in pax archives (exclude06.at:24): ok (0m0.012s 0m0.016s) 22. deleting a member after a big one (delete01.at:23): ok (0m0.036s 0m0.052s) 23. deleting a member from stdin archive (delete02.at:23): ok (0m0.024s 0m0.088s) 24. deleting members with long names (delete03.at:21): ok (0m0.016s 0m0.072s) 25. deleting a large last member (delete04.at:23): ok (0m0.044s 0m0.108s) 26. deleting non-existing member (delete05.at:27): ok (0m0.024s 0m0.076s) 27. extract over an existing directory (extrac01.at:23): ok (0m0.012s 0m0.044s) 28. extracting symlinks over an existing file (extrac02.at:23): ok (0m0.028s 0m0.048s) 29. extraction loops (extrac03.at:23): ok (0m0.012s 0m0.044s) 30. extract + fnmatch (extrac04.at:23): ok (0m0.044s 0m0.092s) 31. extracting selected members from pax (extrac05.at:30): ok (0m0.004s 0m0.016s) 32. mode of extracted directories (extrac06.at:33): ok (0m0.036s 0m0.072s) 33. extracting symlinks to a read-only dir (extrac07.at:27): ok (0m0.008s 0m0.012s) 34. restoring mode on existing directory (extrac08.at:33): ok (0m0.004s 0m0.080s) 35. no need to save dir with unreadable . and .. (extrac09.at:22): ok (0m0.004s 0m0.024s) 36. -C and delayed setting of metadata (extrac10.at:27): ok (0m0.004s 0m0.012s) 37. scarce file descriptors (extrac11.at:23): ok (0m0.012s 0m0.020s) 38. extract dot permissions (extrac12.at:23): ok (0m0.004s 0m0.012s) 39. extract over symlinks (extrac13.at:24): ok (0m0.016s 0m0.016s) 40. extract -C symlink (extrac14.at:23): ok (0m0.000s 0m0.012s) 41. extract parent mkdir failure (extrac15.at:23): ok (0m0.004s 0m0.016s) 42. extract empty directory with -C (extrac16.at:24): ok (0m0.004s 0m0.004s) 43. name matching/transformation ordering (extrac17.at:19): ok (0m0.016s 0m0.060s) 44. single-volume label (label01.at:19): ok (0m0.020s 0m0.012s) 45. multi-volume label (label02.at:19): ok (0m0.008s 0m0.052s) 46. test-label option (label03.at:25): ok (0m0.044s 0m0.056s) 47. label with non-create option (label04.at:25): ok (0m0.016s 0m0.048s) 48. label with non-create option (label05.at:22): ok (0m0.008s 0m0.056s) 49. extracting existing dir with --backup (backup01.at:33): ok (0m0.016s 0m0.060s) 50. gzip (gzip.at:23): ok (0m0.008s 0m0.008s) 51. incremental (incremental.at:23): ok (0m0.044s 0m0.088s) 52. restore broken symlinks from incremental (incr01.at:27): ok (0m0.052s 0m0.116s) 53. restoring timestamps from incremental (incr02.at:32): ok (0m0.052s 0m0.116s) 54. --listed for individual files (listed01.at:26): ok (0m0.052s 0m0.084s) 55. working --listed (listed02.at:28): ok (0m0.088s 0m0.272s) 56. incremental dump when the parent directory is unreadable (listed03.at:22): ok (0m0.008s 0m0.056s) 57. --listed-incremental and --one-file-system (listed04.at:24): ok (0m0.016s 0m0.028s) 58. renamed files in incrementals (incr03.at:28): ok (0m0.100s 0m0.252s) 59. proper icontents initialization (incr04.at:29): ok (0m0.092s 0m0.268s) 60. incremental dumps with -C (incr05.at:19): ok (0m0.028s 0m0.112s) 61. incremental dumps of nested directories (incr06.at:19): ok (0m0.072s 0m0.176s) 62. file removed as we read it (ca. 22 seconds) (filerem01.at:34): ok (0m0.024s 0m0.052s) 63. toplevel file removed (ca. 24 seconds) (filerem02.at:24): ok (0m0.028s 0m0.084s) 64. renamed dirs in incrementals (rename01.at:24): ok (0m0.104s 0m0.224s) 65. move between hierarchies (rename02.at:24): ok (0m0.084s 0m0.280s) 66. cyclic renames (rename03.at:23): ok (0m0.096s 0m0.336s) 67. renamed directory containing subdirectories (rename04.at:27): ok (0m0.084s 0m0.224s) 68. renamed subdirectories (rename05.at:24): ok (0m0.096s 0m0.232s) 69. changed file types in incrementals (chtype.at:27): ok (0m0.104s 0m0.320s) 70. ignfail (ignfail.at:23): ok (0m0.108s 0m0.292s) 71. link count gt 2 (link01.at:33): ok (0m0.048s 0m0.208s) 72. preserve hard links with --remove-files (link02.at:32): ok (0m0.060s 0m0.184s) 73. working -l with --remove-files (link03.at:24): ok (0m0.056s 0m0.156s) 74. link count is 1 but multiple occurrences (link04.at:29): ok (0m0.052s 0m0.084s) 75. long names in V7 archives (longv7.at:24): ok (0m0.004s 0m0.012s) 76. long file names divisible by block size (long01.at:28): ok (0m0.028s 0m0.040s) 77. ustar: unsplittable file name (lustar01.at:21): ok (0m0.004s 0m0.012s) 78. ustar: unsplittable path name (lustar02.at:21): ok (0m0.004s 0m0.028s) 79. ustar: splitting long names (lustar03.at:21): ok (0m0.020s 0m0.016s) 80. multivolume dumps from pipes (multiv01.at:23): ok (0m0.020s 0m0.044s) 81. skipping a straddling member (multiv02.at:28): ok (0m0.024s 0m0.040s) 82. MV archive & long filenames (multiv03.at:30): ok (0m0.012s 0m0.044s) 83. split directory members in a MV archive (multiv04.at:36): ok (0m0.092s 0m0.264s) 84. Restoring after an out of sync volume (multiv05.at:26): ok (0m0.064s 0m0.104s) 85. Multivolumes with L=record_size (multiv06.at:27): ok (0m0.020s 0m0.072s) 86. volumes split at an extended header (multiv07.at:26): skipped (multiv07.at:29) 87. multivolume header creation (multiv08.at:23): ok (0m0.020s 0m0.032s) 88. old archives (old.at:23): ok (0m0.004s 0m0.012s) 89. recurse (recurse.at:21): ok (0m0.036s 0m0.152s) 90. working -C with --same-order (same-order01.at:26): ok (0m0.080s 0m0.224s) 91. multiple -C options (same-order02.at:25): ok (0m0.060s 0m0.228s) 92. short records (shortrec.at:25): ok (0m0.028s 0m0.148s) 93. sparse files (sparse01.at:21): ok (0m0.064s 0m0.124s) 94. extracting sparse file over a pipe (sparse02.at:21): ok (0m0.072s 0m0.164s) 95. storing sparse files > 8G (sparse03.at:21): ok (0m45.127s 0m53.051s) 97. sparse files in MV archives (sparsemv.at:21): ok (0m0.060s 0m0.064s) 98. sparse files in PAX MV archives, v.0.0 (spmvp00.at:21): ok (0m0.024s 0m0.028s) 99. sparse files in PAX MV archives, v.0.1 (spmvp01.at:21): ok (0m0.012s 0m0.056s) 100. sparse files in PAX MV archives, v.1.0 (spmvp10.at:21): ok (0m0.020s 0m0.044s) 101. update unchanged directories (update.at:28): ok (0m0.044s 0m0.108s) 102. update directories (update01.at:29): ok (0m0.076s 0m0.252s) 103. update changed files (update02.at:26): ok (0m0.068s 0m0.276s) 104. verify (verify.at:25): ok (0m0.044s 0m0.108s) 105. volume (volume.at:23): ok (0m0.048s 0m0.068s) 106. volume header size (volsize.at:29): skipped (volsize.at:32) 107. compressed format recognition (comprec.at:21): ok (0m0.068s 0m0.204s) 108. short input files (shortfile.at:26): ok (0m0.004s 0m0.020s) 109. updating short archives (shortupd.at:29): ok (0m0.044s 0m0.060s) 110. truncate (truncate.at:29): ok (0m0.036s 0m0.172s) 111. grow (grow.at:24): ok (0m1.316s 0m2.672s) 112. remove-files with compression (remfiles01.at:28): ok (0m0.024s 0m0.076s) 113. remove-files with compression: grand-child (remfiles02.at:28): ok (0m0.024s 0m0.044s) 114. remove-files with symbolic links (remfiles03.at:28): ok (0m0.012s 0m0.004s) 115. sigpipe handling (sigpipe.at:19): ok (0m0.016s 0m0.028s) 116. gtarfail (gtarfail.at:21): skipped (gtarfail.at:26) 117. gtarfail2 (gtarfail2.at:21): skipped (gtarfail2.at:26) 118. multi-fail (multi-fail.at:21): skipped (multi-fail.at:26) 119. ustar-big-2g (ustar-big-2g.at:21): skipped (ustar-big-2g.at:26) 120. ustar-big-8g (ustar-big-8g.at:21): skipped (ustar-big-8g.at:26) 121. pax-big-10g (pax-big-10g.at:21): skipped (pax-big-10g.at:26) testsuite: ending at: Sat Mar 12 19:49:28 CET 2011 testsuite: test suite duration: 0h 5m 21s ## ------------- ## ## Test results. ## ## ------------- ## ERROR: 113 tests were run, 1 failed unexpectedly. 8 tests were skipped. ## ------------------------ ## ## Summary of the failures. ## ## ------------------------ ## Failed tests: GNU tar 1.26 test suite test groups: NUM: FILE-NAME:LINE TEST-GROUP-NAME KEYWORDS 96: sparse04.at:21 storing long sparse file names sparse sparse04 Skipped tests: GNU tar 1.26 test suite test groups: NUM: FILE-NAME:LINE TEST-GROUP-NAME KEYWORDS 86: multiv07.at:26 volumes split at an extended header multivolume multiv multiv07 xsplit 106: volsize.at:29 volume header size volume volsize 116: gtarfail.at:21 gtarfail star gtarfail 117: gtarfail2.at:21 gtarfail2 star gtarfail2 118: multi-fail.at:21 multi-fail star multivolume multiv multi-fail 119: ustar-big-2g.at:21 ustar-big-2g star ustar-big-2g 120: ustar-big-8g.at:21 ustar-big-8g star ustar-big-8g 121: pax-big-10g.at:21 pax-big-10g star pax-big-10g ## ---------------------- ## ## Detailed failed tests. ## ## ---------------------- ## # -*- compilation -*- 96. sparse04.at:21: testing ... ./sparse04.at:35: mkdir pax (cd pax TEST_TAR_FORMAT=pax export TEST_TAR_FORMAT TAR_OPTIONS="-H pax" export TAR_OPTIONS rm -rf * genfile --sparse --file 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 --block-size 512 8M A || exit 77 tar -c --sparse --posix 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 | tar t ) Not enabling shell tracing (command contains an embedded newline) --- /dev/null 2009-04-14 12:31:40.000000000 +0200 +++ /home/bruno/data/build/tar-1.26/tests/testsuite.dir/at-groups/96/stderr 2011-03-12 19:48:42.000000000 +0100 @@ -0,0 +1,4 @@ +tar: /dev/fd0: Cannot open: No such file or directory +tar: Error is not recoverable: exiting now +tar: /dev/fd0: Cannot open: Permission denied +tar: Error is not recoverable: exiting now --- - 2011-03-12 19:48:42.640366486 +0100 +++ /home/bruno/data/build/tar-1.26/tests/testsuite.dir/at-groups/96/stdout 2011-03-12 19:48:42.000000000 +0100 @@ -1,2 +1 @@ -123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 ./sparse04.at:35: exit code was 2, expected 0 96. sparse04.at:21: 96. storing long sparse file names (sparse04.at:21): FAILED (sparse04.at:35) ## ------------- ## ## ../config.log ## ## ------------- ## [Tail omitted] =============================================================================== -- In memoriam Zoran Djindjić <http://en.wikipedia.org/wiki/Zoran_Đinđić>
