From owner-freebsd-stable Sat Feb 10 23:39: 0 2001 Delivered-To: freebsd-stable@freebsd.org Received: from titanic.medinet.si (titanic.medinet.si [212.18.32.66]) by hub.freebsd.org (Postfix) with ESMTP id 6CEE337B491 for ; Sat, 10 Feb 2001 23:38:42 -0800 (PST) Received: by titanic.medinet.si (Postfix, from userid 1000) id 1D03426C06; Sun, 11 Feb 2001 08:38:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by titanic.medinet.si (Postfix) with ESMTP id 1189411708; Sun, 11 Feb 2001 08:38:40 +0100 (CET) Date: Sun, 11 Feb 2001 08:38:40 +0100 (CET) From: Blaz Zupan To: Matt Dillon Cc: , , Subject: Re: RE: Proposed makewhatis perl script fix In-Reply-To: <200102102323.f1ANN8J28387@earth.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > :Actually, I don't think it fixed everything. There have been ports > :that also had problems with piping to tar and broken pipes. It > :wouldn't surprise me if the makewhatis problem was only a little piece > :of what is broken. > : > :Kent > > makewhatis is just makewhatis... it has nothing to do with tar. > > When you tar something up, tar writes full blocks. But when you untar > something the actual end of the archive may occur in the middle of a > block. tar will close the input descriptor 'early' in this case, > potentially before gunzip or uncompress manage to write the last block > of zeros. I also don't believe that this is the real fix - there is something fishy going on in stable. I just upgraded all of our servers from 4.2-RELEASE to 4.2-STABLE and I see the following messages upon installing *any* package: /home/blaz# pkg_add gmake-3.79.1.tgz gzip: stdout: Broken pipe tar: child returned status 1 /home/blaz# The package actually appears to install and work fine. I also noticed similar messages from gzip during "make" on a port, but again the port built and installed fine after that. So no, your makewhatis patch only appears to be a bandaid, but there is something going on deeper (possibly in the kernel) that was not there in 4.2-RELEASE. Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia E-mail: blaz@amis.net, Tel: +386-2-320-6320, Fax: +386-2-320-6325 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message