Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69731 - tar-1.14.90-r1 compiles has strange email data in help output
Summary: tar-1.14.90-r1 compiles has strange email data in help output
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-01 08:27 UTC by Philipp Lopaur
Modified: 2005-01-09 03:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Lopaur 2004-11-01 08:27:34 UTC
compiles fine on ppc G3 seems to work ok, when using tar --help a strange
help output with email fragments is shown.

tar-1.14.90-r1 has the bug
tar-1.14.90 also has the bug
tar-1.14 does show correct output

possible reason: patches, or upstream package

as this is a OFTEN USED base package absolute stability is REQUIRED!
there may be other hidden effects, therefore -> marking as major


Reproducible: Always
Steps to Reproduce:
1. tar --help


Actual Results:  
fips@whitestar ~ $ tar --help 
Usage: tar [OPTION...] [FILE]... 
GNU `tar' saves many files together into a single tape or disk archive, and 
can 
restore individual files from the archive. 
 
Examples: 
  tar -cf archive.tar foo bar  # Create archive.tar from files foo and bar. 
  tar -tvf archive.tar         # List all files in archive.tar verbosely. 
  tar -xf archive.tar          # Extract all files from archive.tar. 
 
 Main operation mode: 
 
  -A, --catenate, --concatenate   append tar files to an archive 
  -c, --create               create a new archive 
  -d, --diff, --compare      find differences between archive and file system 
      --delete               delete from the archive (not on mag tapes!) 
  -r, --append               append files to the end of an archive 
  -t, --list                 list the contents of an archive 
  -u, --update               only append files newer than copy in archive 
  -x, --extract, --get       extract files from an archive 
 
 Operation modifiers: 
 
  -g, --listed-incremental=FILE   handle new GNU-format incremental backup 
  -G, --incremental          handle old GNU-format incremental backup 
      --ignore-failed-read   do not exit with nonzero on unreadable files 
  -k, --keep-old-files       don't replace existing files when extracting 
      --keep-newer-files     don't replace existing files that are newer than 
                             their archive copies 
      --no-overwrite-dir     preserve metadata of existing directories 
  -n, --seek                 Archive is seekable 
      --occurrence[=NUMBER]  process only the NUMth occurrence of each file in 
                             the archive. This option is valid only in 
                             conjunction with one of the subcommands --delete, 
                             --diff, --extract or --list and when a list of 
                             files is given either on the command line or via 
                             -T option. NUMBER defaults to 1. 
      --overwrite            overwrite existing files when extracting 
  -O, --to-stdout            extract files to standard output 
      --recursive-unlink     empty hierarchies prior to extracting directory 
      --remove-files         remove files after adding them to the archive 
  -S, --sparse               handle sparse files efficiently 
  -U, --unlink-first         remove each file prior to extracting over it 
  -W, --verify               attempt to verify the archive after writing it 
 
 Handling of file attributes: 
 
      --atime-preserve       don't change access times on dumped files 
      --group=NAME           force NAME as group for added files 
      --mode=CHANGES         force (symbolic) mode CHANGES for added files 
  -m, --touch                don't extract file modified time 
      --no-same-owner        extract files as yourself 
      --no-same-permissions  do not extract permissions information 
      --numeric-owner        always use numbers for user/group names 
      --owner=NAME           force NAME as owner for added files 
  -p, --preserve-permissions, --same-permissions 
                             extract permissions information 
      --preserve             same as both -p and -s 
      --same-owner           try extracting files with the same ownership 
  -s, --preserve-order, --same-order 
                             sort names to extract to match archive 
 
 Device selection and switching: 
 
  -f, --file=ARCHIVE         use archive file or device ARCHIVE 
      --force-local          archive file is local even if has a colon 
  -F, --info-script=NAME, --new-volume-script=NAME 
                             run script at end of each tape (implies -M) 
  -L, --tape-length=NUMBER   change tape after writing NUMBER x 1024 bytes 
  -M, --multi-volume         create/list/extract multi-volume archive 
      --rmt-command=COMMAND  use given rmt COMMAND instead of rmt 
      --rsh-command=COMMAND  use remote COMMAND instead of rsh 
      --volno-file=FILE      use/update the volume number in FILE 
 
 Device blocking: 
 
  -b, --blocking-factor=BLOCKS   BLOCKS x 512 bytes per record 
  -B, --read-full-records    reblock as we read (for 4.2BSD pipes) 
  -i, --ignore-zeros         ignore zeroed blocks in archive (means EOF) 
      --record-size=NUMBER   SIZE bytes per record, multiple of 512 
 
 Archive format selection: 
 
  -H, --format=FORMAT        create archive of the given format. 
 
  Project-Id-Version: tar 1.13.25 
Report-Msgid-Bugs-To: bug-tar@gnu.org 
POT-Creation-Date: 2004-09-02 16:20+0300 
PO-Revision-Date: 2003-08-14 15:58:48+0200 
Last-Translator: Michael Piefel <piefel@informatik.hu-berlin.de> 
Language-Team: German <de@li.org> 
MIME-Version: 1.0 
Content-Type: text/plain; charset=UTF-8 
Content-Transfer-Encoding: 8bit 
                                                          FORMAT is one of the 
                             following: 
 
  Project-Id-Version: tar 1.13.25 
Report-Msgid-Bugs-To: bug-tar@gnu.org 
POT-Creation-Date: 2004-09-02 16:20+0300 
PO-Revision-Date: 2003-08-14 15:58:48+0200 
Last-Translator: Michael Piefel <piefel@informatik.hu-berlin.de> 
Language-Team: German <de@li.org> 
MIME-Version: 1.0 
Content-Type: text/plain; charset=UTF-8 
Content-Transfer-Encoding: 8bit 
                                                          v7        old V7 tar 
                             format 
  Project-Id-Version: tar 1.13.25 
Report-Msgid-Bugs-To: bug-tar@gnu.org 
POT-Creation-Date: 2004-09-02 16:20+0300 
PO-Revision-Date: 2003-08-14 15:58:48+0200 
Last-Translator: Michael Piefel <piefel@informatik.hu-berlin.de> 
Language-Team: German <de@li.org> 
MIME-Version: 1.0 
Content-Type: text/plain; charset=UTF-8 
Content-Transfer-Encoding: 8bit 
                                                          oldgnu    GNU format 
                             as per tar <= 1.12 
  Project-Id-Version: tar 1.13.25 
Report-Msgid-Bugs-To: bug-tar@gnu.org 
POT-Creation-Date: 2004-09-02 16:20+0300 
PO-Revision-Date: 2003-08-14 15:58:48+0200 
Last-Translator: Michael Piefel <piefel@informatik.hu-berlin.de> 
Language-Team: German <de@li.org> 
MIME-Version: 1.0 
Content-Type: text/plain; charset=UTF-8 
Content-Transfer-Encoding: 8bit 
                                                          gnu       GNU tar 
                             1.13.x format 
  Project-Id-Version: tar 1.13.25 
Report-Msgid-Bugs-To: bug-tar@gnu.org 
POT-Creation-Date: 2004-09-02 16:20+0300 
PO-Revision-Date: 2003-08-14 15:58:48+0200 
Last-Translator: Michael Piefel <piefel@informatik.hu-berlin.de> 
Language-Team: German <de@li.org> 
MIME-Version: 1.0 
Content-Type: text/plain; charset=UTF-8 
Content-Transfer-Encoding: 8bit 
                                                          ustar     POSIX 
                             1003.1-1988 (ustar) format 
  Project-Id-Version: tar 1.13.25 
Report-Msgid-Bugs-To: bug-tar@gnu.org 
POT-Creation-Date: 2004-09-02 16:20+0300 
PO-Revision-Date: 2003-08-14 15:58:48+0200 
Last-Translator: Michael Piefel <piefel@informatik.hu-berlin.de> 
Language-Team: German <de@li.org> 
MIME-Version: 1.0 
Content-Type: text/plain; charset=UTF-8 
Content-Transfer-Encoding: 8bit 
                                                          posix     POSIX 
                             1003.1-2001 (pax) format 
 
  -j, --bzip2                filter the archive through bzip2 
      --old-archive, --portability 
                             same as --format=v7 
      --pax-option=keyword[[:]=value][,keyword[[:]=value], ...] 
                             control pax keywords 
      --posix                same as --format=posix 
      --use-compress-program=PROG 
                             filter through PROG (must accept -d) 
  -V, --label=TEXT           create archive with volume name NAME. At 
                             list/extract time, use TEXT as a globbing pattern 
  -z, --gzip, --gunzip, --ungzip   filter the archive through gzip 
  -Z, --compress, --uncompress   filter the archive through compress 
 
 Local file selection: 
 
      --after-date=DATE      same as -N 
      --anchored             exclude patterns match file name start 
      --backup[=CONTROL]     backup before removal, choose version CONTROL 
  -C, --directory=DIR        change to directory DIR 
      --exclude=PATTERN      exclude files, given as a PATTERN 
  -h, --dereference          dump instead the files symlinks point to 
      --ignore-case          exclusion ignores case 
  -K, --starting-file=MEMBER-NAME 
                             begin at member MEMBER-NAME in the archive 
  -l, --one-file-system      stay in local file system when creating archive 
      --newer-mtime=DATE     compare date and time when data changed only 
      --no-anchored          exclude patterns match after any / (default) 
      --no-ignore-case       exclusion is case sensitive (default) 
      --no-recursion         avoid descending automatically in directories 
      --no-wildcards         exclude patterns are plain strings 
      --no-wildcards-match-slash   exclude pattern wildcards do not match '/' 
      --null                 -T reads null-terminated names, disable -C 
  -N, --newer=DATE-OR-FILE   only store files newer than DATE-OR-FILE 
  -P, --absolute-names       don't strip leading `/'s from file names 
      --recursion            recurse into directories (default) 
      --strip-components=NUMBER   strip NUMBER leading components from file 
                             names 
      --suffix=STRING        backup before removal, override usual suffix ('~' 
                             unless overridden by environment variable 
                             SIMPLE_BACKUP_SUFFIX 
  -T, --files-from=FILE-OF-NAMES   get names to extract or create from file 
                             NAME 
      --wildcards            exclude patterns use wildcards (default) 
      --wildcards-match-slash   exclude pattern wildcards match '/' (default) 
  -X, --exclude-from=FILE    exclude patterns listed in FILE 
 
 Informative output: 
 
      --checkpoint           display progress messages every 10th record 
  -v, --verbose              verbosely list files processed 
 
      --check-links          print a message if not all links are dumped 
      --index-file=FILE      send verbose output to FILE 
  -R, --block-number         show block number within archive with each 
message 
 
      --show-defaults        Show tar defaults 
      --show-omitted-dirs    When listing or extracting, list each directory 
                             that does not match search criteria 
      --totals               print total bytes written while creating archive 
      --utc                  print file modification dates in UTC 
  -w, --interactive, --confirmation 
                             ask for confirmation for every action 
 
 Compatibility options: 
 
  -o                         when creating, same as --old-archive. When 
                             extracting, same as --no-same-owner 
 
 Other options: 
 
  -?, --help                 Give this help list 
      --license              Print license and exit 
      --usage                Give a short usage message 
      --version              Print program version 
 
Mandatory or optional arguments to long options are also mandatory or optional 
for any corresponding short options. 
 
The backup suffix is `~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX. 
The version control may be set with --backup or VERSION_CONTROL, values are: 
 
  t, numbered     make numbered backups 
  nil, existing   numbered if numbered backups exist, simple otherwise 
  never, simple   always make simple backups 
 
*This* tar defaults to: 
--format=gnu -f- -b20 --rmt-command=/usr/sbin/rmt 
 
Report bugs to <bug-tar@gnu.org>. 
 

Expected Results:  
normal help output, without email fragments 

Portage 2.0.51-r2 (default-ppc-2004.1, gcc-3.4.1, glibc-2.3.4.20040808-r1, 
2.6.8.1 ppc) 
================================================================= 
System uname: 2.6.8.1 ppc 750FX 
Gentoo Base System version 1.6.4 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.3-r3 
Headers:  sys-kernel/linux-headers-2.4.22 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="ppc ~ppc" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -mcpu=750 -pipe" 
CHOST="powerpc-unknown-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -mcpu=750 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distlocks" 
GENTOO_MIRRORS="http://gentoo.inode.at/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aac aalib alsa arts artswrappersuid berkdb cddb cdr crypt cups doc dvd 
dvdread emacs encode ethereal exif f77 faac faad fam ffmpeg flac ftp gd gdbm 
gif gimp gimpprint gnome gtk gtk2 idea imagemagick imap imlib ipv6 java jpeg 
jpeg2k junit kde libwww maildir matroska mp3 mpeg mpeg4 mplayer ncurses nls 
offensive oggvorbis ooo-kde opengl oss pam pdflib perl png posix postgres ppc 
python qt radeon readline recode rtc rubysamba sdl slang sox speex ssl tcpd 
tetex theora tidy truetype usb uudeview vanilla vim vim-with-x vnc wifixfs xml 
xml2 xmms xscreensaver xv xvid zlib linguas_de"
Comment 1 SpanKY gentoo-dev 2004-11-02 05:43:27 UTC
> as this is a OFTEN USED base package absolute stability is REQUIRED!

if stability is required then stop using unstable :P
Comment 2 Joshua Hoblitt 2004-11-08 22:43:55 UTC
I'm having a different but possibly related issue on amd64.

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -c argp-fs-xinl.c
In file included from /usr/include/stdio.h:28,
                 from argp-fmtstream.h:32,
                 from argp-fs-xinl.c:27:
/usr/include/features.h:265:41: operator '&&' has no right operand
make[3]: *** [argp-fs-xinl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/tar-1.14.90-r1/work/tar-1.14.90/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/tar-1.14.90-r1/work/tar-1.14.90/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tar-1.14.90-r1/work/tar-1.14.90'
make: *** [all] Error 2
 
!!! ERROR: app-arch/tar-1.14.90-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
 
Portage 2.0.51-r2 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20041021-r0, 2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Opteron(tm) Processor 146
Gentoo Base System version 1.6.4
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/fstab /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distlocks"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode esd f77 foomaticdb gdbm gif gnome gnome2 gphoto2 gpm gtk gtk2 imlib jpeg kde ldap libg++ libwww mikmod motif mozilla mpeg multilib mysql ncurses nls nogcj nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd tetex truetype xinerama xml2 xmms xv zlib"
 
Comment 3 SpanKY gentoo-dev 2004-11-09 21:48:56 UTC
different: yes
related: not at all

that bug has been fixed already, your portage tree is probably out of date
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2004-12-04 00:08:37 UTC
Philipp: I can't replicate this with tar-1.14.90-r1 in either a stable ppc or ~ppc environment.  Is it still a problem?
Comment 5 Philipp Lopaur 2004-12-10 09:36:15 UTC
i have tracked it down to be a localisation issue

try:
LANG= tar --help produces correct output
LANG=de_AT@euro tar --help has the shown behaviour (my default locale)
note that some tar messages like file not found are show in german which
is correct, but the main help is still english, i think but i cannot confirm
that it already was german in prior versions.


the bug should be related to localisation in the upstream tar package, so
gentoo cannot do much about it?
Comment 6 SpanKY gentoo-dev 2005-01-05 11:22:21 UTC
there have been reports upstream in the past about --help not localizing correctly

could you try 1.15.1 and see if it works ?
Comment 7 Philipp Lopaur 2005-01-09 03:35:11 UTC
tar-1.15.1 fixed the bug for me.