Re: (bsd)tar is broken on 6.1



On 05/26/06 04:37, Jean-Marc Zucconi wrote:
Jonathan Noack writes:

> Jean-Marc Zucconi wrote:
>> # tar cf /dev/null X11R6.old
>> # archive_write_pax_header: 'x' header failed?! This can't happen.

> This seems to work fine here:
> [noackjr@optimator:/usr] $ uname -rm
> 6.1-RELEASE i386
> [noackjr@optimator:/usr] $ tar --version
> bsdtar 1.02.023, libarchive 1.02.026
> Copyright (C) 2003-2005 Tim Kientzle
> [noackjr@optimator:/usr] $ tar cf /dev/null X11R6
> [noackjr@optimator:/usr] $

Sure, but the directories are not the same.

As you provided no details in your original email, I was forced to
assume that the problem was in the use of /dev/null (I used the X11R6
directory for fun). I was mistaken, but remember that not *all* of us
can read your mind... :)

I have narrowed the problem to a specific subdirectory and I think I
have the explanation:

-rw-r--r-- 1 jmz jmz 4312 Apr 16 1947 supclkrd.prg

Don't ask me why the date is wrong, this is really old stuff :-)

On the other hand tar has no problem extracting it. If someone wants
to debug it, the archive is available as
http://people.freebsd.org/~jmz/a.tar

I see the same thing here. Touching supclkrd.prg to bring the date
current makes the problem go away.

Tim, any thoughts?

-Jonathan

--
Jonathan Noack | noackjr@xxxxxxxxxxxxxxx | OpenPGP: 0x991D8195

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: RFC: bsdtar in 5.3
    ... Tim Kientzle wrote: ... I'm a little hesitant about making bsdtar be the default in 5.3, ... in HEAD (before the 5.3 code freeze). ... BETA/RC cycle, we put a strong emphasis on testing it, but we also ...
    (freebsd-arch)
  • Re: bsdtar doesnt detect end of tape
    ... Tim Kientzle wrote: ... > rebuild libarchive and bsdtar and let me ... > know if it fixes it for you. ... It looks like the patch is against the wrong file. ...
    (freebsd-current)
  • Bsdtar performance
    ... Tim Kientzle wrote: ... This test extracts an uncompressed ustar version of ... bsdtar -xPf: 1.53 seconds ... P.S. to create a ustar version of the 5.3 distribution, ...
    (freebsd-current)
  • Re: (bsd)tar is broken on 6.1
    ... bsdtar 1.02.023, libarchive 1.02.026 ... Copyright 2003-2005 Tim Kientzle ... On the other hand tar has no problem extracting it. ... to debug it, ...
    (freebsd-stable)
  • Re: RFC: bsdtar in 5.3
    ... > Tim Kientzle wrote: ... > I'm a little hesitant about making bsdtar be the default in 5.3, ... > bento package run without obvious problems, ... Kris Kennaway has been using ...
    (freebsd-arch)