From owner-freebsd-current@FreeBSD.ORG Tue May 5 17:48:35 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E84BB106566C for ; Tue, 5 May 2009 17:48:35 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 63F808FC08 for ; Tue, 5 May 2009 17:48:35 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id E9540A0754; Tue, 5 May 2009 19:48:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id DC9FDA0752; Tue, 5 May 2009 19:48:31 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id C7247A0743; Tue, 5 May 2009 19:48:31 +0200 (CEST) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2HF443) with ESMTP id 2009050519483116-5802 ; Tue, 5 May 2009 19:48:31 +0200 Received: by wep4035 (sSMTP sendmail emulation); Tue, 5 May 2009 19:48:31 +0200 Date: Tue, 5 May 2009 19:48:31 +0200 From: Alexey Shuvaev To: openoffice@FreeBSD.org Message-ID: <20090505174831.GA40305@wep4035.physik.uni-wuerzburg.de> MIME-Version: 1.0 Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.19 (2009-01-05) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 05/05/2009 07:48:31 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 05/05/2009 07:48:31 PM, Serialize complete at 05/05/2009 07:48:31 PM Content-Type: multipart/mixed; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: gunzip | tar reports broken pipe during OOO build on amd64. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 17:48:36 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-OOO --- instsetoo_native/packimages/makefile.mk.orig 2007-06-06 16:20:38.000000000 +0200 +++ instsetoo_native/packimages/makefile.mk 2009-05-05 17:01:57.000000000 +0200 @@ -79,7 +79,7 @@ # unpack the Crystal icon set $(MISC)$/crystal.flag : $(CRYSTAL_TARBALL) - cd $(MISC) && gunzip -c $(CRYSTAL_TARBALL) | ( tar -xf - ) && $(TOUCH) $(@:f) + cd $(MISC) && tar -xf $(CRYSTAL_TARBALL) && $(TOUCH) $(@:f) .IF "$(GUI)"=="UNX" chmod -R g+w $(MISC)$/crystal .ENDIF --45Z9DzgjV8m4Oswq--