[email protected]
[Top] [All Lists]

Bug#475879: marked as forwarded (tar --compare gives error warnings whe

Subject: Bug#475879: marked as forwarded tar --compare gives error warnings when file does not exist
From: Debian Bug Tracking System
Date: Thu, 17 Apr 2008 19:18:04 +0000
Your message dated Thu, 17 Apr 2008 13:14:32 -0600
with message-id <[email protected]>
has caused the   report #475879,
regarding tar --compare gives error warnings when file does not exist 
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
475879: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475879
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: --compare gives error warnings when file does not exist
From: Bdale Garbee
Date: Thu, 17 Apr 2008 13:14:32 -0600
One of the users of my Debian packaging of tar reports that --compare
returns an error message on stderr instead of the expected error
notification on stdout when a specified file does not exist.  

I have confirmed that the same behavior exists with tar 1.20.

The info documentation isn't entirely clear on whether the expected
behavior is a notification on stdout or an error on stderr, but the
example shown certainly looks more like what the bug reporter is
expecting than what he and I are seeing.

What's the intended behavior here?

Bdale

--- Begin Message ---
Subject: Bug#475879: tar --compare gives error warnings when file does not exist
From: Paul Gevers
Date: Sun, 13 Apr 2008 17:35:19 +0200
Package: tar
Version: 1.16-2etch1

I like to report what I believe is a bug in the current stable version
of tar.

I want to compare an old archive with the current file system. According
to the documentation the --diff or --compare option should give for any
none existing file:
"""
file: does not exist
"""
Instead I get

[email protected] / $ tar --diff --file archive.tar
tar: directory/xxx.jpg: Warning: Cannot stat: No such file or directory

which is an error message, because if I pipe ordinary output to
/dev/null I still get it:
[email protected] / $ tar --diff --file archive.tar > /dev/null
tar: directory/xxx.jpg: Warning: Cannot stat: No such file or directory

I run Debian stable with a self made kernel:
[email protected] / $ uname -a
Linux server 2.6.18-6 #1 Sun Jan 20 22:38:09 CET 2008 i686 GNU/Linux

and libc6:
[email protected] / $ dpkg -s libc6 | grep ^Version
Version: 2.3.6.ds1-13etch5

With kind regards,
Paul Gevers



--- End Message ---

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#475879: marked as forwarded (tar --compare gives error warnings when file does not exist ), Debian Bug Tracking System <=