bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sparse file check failed


From: John T. Rose
Subject: sparse file check failed
Date: Tue, 05 Dec 2006 20:24:41 CST

Greetings,

Building coreutils-6.6 tonight on an armv5tel system I encountered
the following error when running check in verbose mode.

+ cp --version
cp (GNU coreutils) 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.
+ . ./../envvar-check
+ as_unset=unset
+ envvar_check_failed=0
+ vars=
  _POSIX2_VERSION
  BLOCKSIZE
  BLOCK_SIZE
  CDPATH
  COLUMNS
  DF_BLOCK_SIZE
  DU_BLOCK_SIZE
  LS_BLOCK_SIZE
  LS_COLORS
  POSIXLY_CORRECT
  QUOTING_STYLE
  SIMPLE_BACKUP_SUFFIX
  TABSIZE
  TERM
  TIME_STYLE
  TMPDIR
  VERSION_CONTROL

+ unset _POSIX2_VERSION
+ eval test "${_POSIX2_VERSION+set}" = set
+ test  = set
+ unset BLOCKSIZE
+ eval test "${BLOCKSIZE+set}" = set
+ test  = set
+ unset BLOCK_SIZE
+ eval test "${BLOCK_SIZE+set}" = set
+ test  = set
+ unset CDPATH
+ eval test "${CDPATH+set}" = set
+ test  = set
+ unset COLUMNS
+ eval test "${COLUMNS+set}" = set
+ test  = set
+ unset DF_BLOCK_SIZE
+ eval test "${DF_BLOCK_SIZE+set}" = set
+ test  = set
+ unset DU_BLOCK_SIZE
+ eval test "${DU_BLOCK_SIZE+set}" = set
+ test  = set
+ unset LS_BLOCK_SIZE
+ eval test "${LS_BLOCK_SIZE+set}" = set
+ test  = set
+ unset LS_COLORS
+ eval test "${LS_COLORS+set}" = set
+ test  = set
+ unset POSIXLY_CORRECT
+ eval test "${POSIXLY_CORRECT+set}" = set
+ test  = set
+ unset QUOTING_STYLE
+ eval test "${QUOTING_STYLE+set}" = set
+ test  = set
+ unset SIMPLE_BACKUP_SUFFIX
+ eval test "${SIMPLE_BACKUP_SUFFIX+set}" = set
+ test  = set
+ unset TABSIZE
+ eval test "${TABSIZE+set}" = set
+ test  = set
+ unset TERM
+ eval test "${TERM+set}" = set
+ test  = set
+ unset TIME_STYLE
+ eval test "${TIME_STYLE+set}" = set
+ test  = set
+ unset TMPDIR
+ eval test "${TMPDIR+set}" = set
+ test  = set
+ unset VERSION_CONTROL
+ eval test "${VERSION_CONTROL+set}" = set
+ test  = set
+ test  = 1
+ . ./../sparse-file
+ t=sparse.19145
+ dd bs=1 seek=128K of=sparse.19145
+ du -sk sparse.19145
+ set x 0 sparse.19145
+ kb_size=0
+ rm -f sparse.19145
+ test 0 -ge 128
+ pwd
+ pwd=/usr/mnt.rom/cf/.ipkg/src/coreutils/coreutils-6.6/tests/cp
+ echo ./sparse
+ sed s,.*/,,
+ t0=sparse.tmp
+ tmp=sparse.tmp/19145
+ 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 sparse.tmp/19145
+ cd sparse.tmp/19145
+ expr 128 * 1024 + 1
+ size=131073
+ dd bs=1 seek=131073 of=sparse
+ test 0 = 1
+ fail=0
+ cp --sparse=always sparse copy
cp: writing `copy': Invalid argument
+ fail=1
+ stat --printf %b sparse
+ stat --printf %b copy
+ test 0 = 0
+ exit 1
+ exit 1
+ status=1
+ cd /usr/mnt.rom/cf/.ipkg/src/coreutils/coreutils-6.6/tests/cp
+ chmod -R u+rwx sparse.tmp
+ rm -rf sparse.tmp
+ exit 1
FAIL: sparse

"cp --sparse=never sparse copy" works correctly but using auto or
always both result in an error in the destination file.

If I can provide any more information that would help you please
feel free to ask.

Thanks,
John
--
John T. Rose                         Information Technology Services
address@hidden                     Academic Systems Group
Systems Analyst                      237 Durham Center
<A HREF="http://rose.public.iastate.edu/";>John T. Rose</A>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]