Re: (bsd)tar is broken on 6.1



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
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages