Bug 86467 - tar 1.15.1 very verbose with '--newer'
Bug#: 86467 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: mozilla@agotnes.com
Component: Applications
URL: 
Summary: tar 1.15.1 very verbose with '--newer'
Keywords:  
Status Whiteboard: 
Opened: 2005-03-23 21:27 0000
Description:   Opened: 2005-03-23 21:27 0000
When running tar with the '--newer' option it outputs a list of all the files
that are NOT newer, causing a rather large amount (MBs!) of output which ends
up in my mailbox as I run this from Cron.

This is a major pain as my backup script relies on this function of tar!

Reproducible: Always
Steps to Reproduce:
tar --newer 20-Mar -cf x.tar *
Actual Results:  
tar: pri/127.zone: file is unchanged; not dumped
tar: pri/localhost.zone: file is unchanged; not dumped

Expected Results:  
No output

emerge info
Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-
r1, 2.6.10-gentoo-r6agotnes5 i686)
=================================================================
System uname: 2.6.10-gentoo-r6agotnes5 i686 AMD Athlon(TM)Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 
07:16:53)]
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="-O2 -march=athlon -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/
config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://planetmirror.com/pub/gentoo/ 
http://mirror.isp.net.au/ftp/pub/gentoo/ 
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp6.uni-
erlangen.de/pub/mirrors/gentoo ftp://chod.cwru.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlays/local
/usr/local/portage/overlays/b
oxed-main /usr/local/portage/overlays/boxed-test"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 berkdb imap jpeg ldap mbox mpeg nls nptl pam perl pic png pnp 
readline sasl sse ssl tcpd tiff xml zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #1 From Johny 2005-03-23 21:30:49 0000 -------
Created an attachment (id=54311) [details]
Patch from tar maintainer

Straight from tar maintainer, would be good to get this one patched in portage!


http://lists.gnu.org/archive/html/bug-tar/2005-03/msg00001.html

------- Comment #2 From SpanKY 2005-06-16 20:34:34 0000 -------
added patch to cvs, thanks

------- Comment #3 From Johny 2005-06-17 16:26:38 0000 -------
Tested and works a treat, thanks for applying :)