[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Small bug in tar-1.29
From: |
Ralph Corderoy |
Subject: |
Re: [Bug-tar] Small bug in tar-1.29 |
Date: |
Wed, 31 Aug 2016 19:09:36 +0100 |
Hi Rob,
> > > This report is for tar-1.29, compiled and installed on Mac El Capitan.
...
> m3rgma0371carn - T $ unset LANG
> m3rgma0371carn - T $ gnutar -tvf archive.tgz
> gnutar: Child died with signal 11
> gnutar: Error is not recoverable: exiting now
> m3rgma0371carn - T $ locale
> LANG=
> LC_COLLATE="C"
> LC_CTYPE="C"
> LC_MESSAGES="C"
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_ALL=
> m3rgma0371carn - T $ env | egrep '^(LANG|LC_)' | cat -et
> m3rgma0371carn - T $
I found a Mac OS X with brew installed and got its gnu-tar.
$ gtar --version
tar (GNU tar) 1.29
...
By default, my locale is like yours.
$ locale
LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=
$ env | egrep '^(LANG|LC_)' | cat -et
$
These commands, first both GNU, second has Mac's tar do the create, both
work.
$ (cd / && gtar cf - dev/null) | gzip | gtar tzvf -
crw-rw-rw- root/wheel 3,2 2016-08-31 18:59 dev/null
$ (cd / && tar cf - dev/null) | gzip | gtar tzvf -
crw-rw-rw- root/wheel 3,2 2016-08-31 18:59 dev/null
$
Is it a specific archive.tgz that causes the child's error?
I expect others on the list will have more ideas.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy