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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Shuvaev
Date: Tuesday, May 5, 2009 - 10:48 am

Hello all!

I was trying to upgrade editors/openoffice.org-2 recently and
build failed for me at:

--------------------------------------------------------------
packimages -- version: 1.16
packimages: packing  ../unxfbsdx.pro/bin/images_industrial.zip finished.
cd ../unxfbsdx.pro/misc && gunzip -c /usr/ports/editors/openoffice.org-2/work/OOH680_m18/external_images/ooo_crystal_images-1.tar.gz | ( tar -xf - ) && touch crystal.flag
---* tg_merge.mk *---
Running processes: 0

1 module(s): 
        instsetoo_native
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m18/instsetoo_native/packimages

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from instsetoo_native"

*** Error code 1

Stop in /usr/ports/editors/openoffice.org-2.
--------------------------------------------------------------

The reason appeared to be the first part of the command
"gunzip -c ... | ( tar -xf - ) &&  touch ..."
which exited with non-zero exit status (141) and "touch ..." was not called.
Running the command manually has showed that gunzip was complaining about
broken pipe (however the archive was extracted successfully).

The attached patch has fixed the problem however I don't feel it is the
proper solution.
The problem seems to be in that specific archive but I'm not sure...

~> uname -a
FreeBSD wep4035 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue May  5 00:16:39 CEST 2009     root@wep4035:/usr/obj/usr/src/sys/GENERIC  amd64

My 0.02$,
Alexey.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
gunzip | tar reports broken pipe during OOO build on amd64., Alexey Shuvaev, (Tue May 5, 10:48 am)
Re: gunzip | tar reports broken pipe during OOO build on ..., Eygene Ryabinkin, (Tue May 5, 11:59 am)