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

Tim Kientzle kientzle at
Thu May 7 04:39:11 UTC 2009

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:

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?


More information about the freebsd-current mailing list