Re: 6.0RC1: libarchive - archive_write_header_pax: 'x' header failed

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Fri, 28 Oct 2005 22:07:58 -0700
I wonder where you found 80-year-old GIF files?  ;-)

Bug:  Very old files trip a consistency check inside of libarchive when 
writing the default "pax" format.

Status: It's fixed in -CURRENT (August) and in RELENG-5 (October) and 
will be fixed in 6.1. (I've been busy at work and missed the 6.0 code 
freeze.)

Workaround:  Use --format=ustar

Alternate Workaround:  "touch" any files that are older than 1970.

Tim

Ion-Mihai Tetcu wrote:
> Hi,
> 
> 
> On a FreeBSD 6.0-RC1 #6: Sat Oct 15 01:52:05 EEST 2005
> I was :
> root_at_it> /usr [9:46:35] 0
>  # tar vvcf /mnt/usr.tar ./
>  ...............
> a local/www/sites/rotravel.bad/res_quot.gif
> a local/www/sites/rotravel.bad/images/1pixel_l.gifarchive_write_pax_header: 'x' header failed?!  This can't happen.
> root_at_it> /usr [9:48:09] 1
>  # tar vvcf - ./local/www/sites/rotravel.bad/images/1pixel_l.gif
> a local/www/sites/rotravel.bad/images/1pixel_l.gifarchive_write_pax_header: 'x' header failed?!  This can't happen.
> root_at_it> /usr [10:31:32] 1
>  # gtar vvcf - ./local/www/sites/rotravel.bad/images/1pixel_l.gif
> -rw-r--r-- itetcu/wheel     43 Apr 10 13:30 1924 ./local/www/sites/rotravel.bad/images/1pixel_l.gif
>  ./local/www/sites/rotravel.bad/images/1pixel_l.gif01006440001751000000000000000053ÿÿÿÿÿÿÿÿ©ýhj0255630ustar  itetcuwheelGIF89aÌÌÌ!ù,D;
> root_at_it> /usr [10:31:42] 0
>  #
> 
> According to http://www.freebsd.org/cgi/query-pr.cgi?pr=74385 this (or
> something very similar) was supposedly fixed back in January, at least
> for RELENG_5.
> 
> 
Received on Sat Oct 29 2005 - 03:08:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC