Package: tar
Version: 1.23-2.1
Severity: normal

Hi,

I have been trying to compile tar from source package, and ended with
error in testsuite.

I was using sbuild, with squeeze schroot, inside lenny i386.

Was using ext3 (rw,noatime,relatime,data=writeback,usrquota).


log below
===========================================

#                             -*- compilation -*-
91. remfiles01.at:28: testing remove-files with compression ...
../remfiles01.at:32:

cat /dev/null | gzip - > /dev/null 2>&1 || exit 77


test -z "`sort < /dev/null 2>&1`" || exit 77


mkdir dir
cd dir
genfile --file a --length 0
chmod 0 a
genfile --file b
mkdir c

# Depending on when the SIGPIPE gets delivered, the invocation below
# may finish with either
#  tar: a: Cannot write: Broken pipe
# or
#  tar: Child returned status 2

tar -c -f a -z --remove-files b c 2>err
EC=$?
sed -n '/(child)/p' err >&2
rm err
find . | sort
exit $EC

--- -   2010-09-09 20:22:33.935604613 +0000
+++ /build/root-tar_1.23-2.1-i386-X1ixBU/tar-1.23-2.1/tests/testsuite.dir/at-
groups/91/stderr   2010-09-09 20:22:33.000000000 +0000
@@ -1,3 +1 @@
-tar (child): a: Cannot open: Permission denied
-tar (child): Error is not recoverable: exiting now

--- -   2010-09-09 20:22:33.936612708 +0000
+++ /build/root-tar_1.23-2.1-i386-X1ixBU/tar-1.23-2.1/tests/testsuite.dir/at-
groups/91/stdout   2010-09-09 20:22:33.000000000 +0000
@@ -1,5 +1,3 @@
 .
 ./a
-./b
-./c

../remfiles01.at:32: exit code was 0, expected 2
91. remfiles01.at:28: 91. remove-files with compression (remfiles01.at:28):
FAILED (remfiles01.at:32)

===========================================




In fact I think tar here is performing correctly. I inspected file "a" (after
renaming to output.tar.gz), and it contains file "b", and directory "c"). No
signal is raised. File "a" is overwritten, as expected. Why it should raise
error?

I do not know why I have this error, as buildd do not have this problem:

https://buildd.debian.org/fetch.cgi?pkg=tar;ver=1.23-2.1;arch=kfreebsd-i386;stamp=1279642891


I was thinking this was compile options, but I tested it with no compile
options (just clear source package), and it also do not compile.

All other tests passes/skipped as expected.



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tar depends on:
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib

tar recommends no packages.

Versions of packages tar suggests:
ii  bzip2                         1.0.5-5    high-quality block-sorting file co
pn  ncompress                     <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to