Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 22:07:58 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 6.0RC1: libarchive - archive_write_header_pax: 'x' header failed
Message-ID:  <436303AE.9040001@freebsd.org>
In-Reply-To: <20051025103652.52312a56@it.buh.cameradicommercio.ro>
References:  <20051025103652.52312a56@it.buh.cameradicommercio.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@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.
> 
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?436303AE.9040001>