Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 10:24:00 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        Tim Kientzle <kientzle@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: (bsd)tar is broken on 6.1
Message-ID:  <447739B0.2060806@kientzle.com>
In-Reply-To: <20060526093443.GC94280@hugo10.ka.punkt.de>
References:  <200605251845.k4PIjdx7070553@freefall.freebsd.org> <4476457A.5050800@alumni.rice.edu> <200605260837.k4Q8btpl031485@freefall.freebsd.org> <4476C99C.50200@alumni.rice.edu> <20060526093443.GC94280@hugo10.ka.punkt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Patrick M. Hausen wrote:
>>>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

Yes, libarchive in 6.1 has a broken assertion in
the tar-writing code that causes it to
(erroneously) reject files with very
old dates.

This is fixed in -CURRENT; I plan to MFC
a bunch of fixes like this to 6-STABLE
very soon.

In the meantime, you can fix this by
installing the most current libarchive
from:

  http://people.freebsd.org/~kientzle/libarchive

Or you can temporarily patch it by looking in
src/lib/libarchive/archive_write_format_pax.c
and changing the second call to
__archive_write_format_header_ustar()
so that the last argument is 0, not 1.
(The 1 here enables the above-mentioned
assertion checks.)

Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447739B0.2060806>