Re: gunzip | tar reports broken pipe during OOO build on amd64.

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Wed, 06 May 2009 21:39:09 -0700
Alexey Shuvaev wrote:
> On Wed, May 06, 2009 at 05:01:23AM -0700, Tim Kientzle wrote:
>> No, this is simply tar not being very friendly to gunzip.  bsdtar is a
>> little quick to shutdown when it sees the end of the archive, even though
>> gunzip is still decompressing some end-of-archive padding.  I'll look at
>> this; tar should notice when it's reading from a pipe and read the final
>> padding in this case, which would allow gunzip to shut down cleanly.
>>
> Thanks for looking at it!

I did look; bsdtar does do the right thing.
(I think I was remembering a bug that got fixed years ago.)

I tried but could not reproduce your bug using
a recent -CURRENT.  I downloaded this file:

http://ftp.cse.yzu.edu.tw/pub/FreeBSD/distfiles/openoffice.org2/OOo_OOH680_m18_source.tar.bz2

and extracted ooo_crystal_images-1.tar.gz
and got the same MD5 that Eygene reported.

$ md5 ooo_crystal_images-1.tar.gz
MD5 (ooo_crystal_images-1.tar.gz) = ff0d576d4b0e71c268b1516095a3d085

Where did you download your file from?

Tim
Received on Thu May 07 2009 - 02:39:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC