From owner-freebsd-current@FreeBSD.ORG Sun Aug 14 09:48:14 2011 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 99741106564A; Sun, 14 Aug 2011 09:48:14 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 17F9F8FC1A; Sun, 14 Aug 2011 09:48:14 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id EE3B34001B; Sun, 14 Aug 2011 11:48:12 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id E2D9A40009; Sun, 14 Aug 2011 11:48:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL,FREEMAIL_FROM autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 70D3B40005; Sun, 14 Aug 2011 11:48:12 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id EEAF3119C04; Sun, 14 Aug 2011 11:48:11 +0200 (CEST) Received: from [IPv6:2001:470:dca9:1::4] (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3E6C412B0A0; Sun, 14 Aug 2011 11:48:10 +0200 (CEST) Message-ID: <4E4799D4.8000703@gmail.com> Date: Sun, 14 Aug 2011 11:48:04 +0200 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Roland Smith References: <4E454ADD.1020201@zedat.fu-berlin.de> <20110812171611.GA88850@slackbox.erewhon.net> <20110812182108.GA90173@slackbox.erewhon.net> <4E457477.4060400@zedat.fu-berlin.de> <20110812205408.GA9873@slackbox.erewhon.net> <4E45ACA8.5070406@zedat.fu-berlin.de> <20110813072642.GA24239@slackbox.erewhon.net> <4E462D0D.8070901@zedat.fu-berlin.de> <20110813100810.GA27193@slackbox.erewhon.net> In-Reply-To: <20110813100810.GA27193@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Olivier Smedts , FreeBSD Current , "Hartmann, O." , freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt. 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: Sun, 14 Aug 2011 09:48:14 -0000 On 2011-08-13 12:08, Roland Smith wrote: > On Sat, Aug 13, 2011 at 09:51:41AM +0200, Hartmann, O. wrote: >> On 08/13/11 09:26, Roland Smith wrote: >>> On Sat, Aug 13, 2011 at 12:43:52AM +0200, Hartmann, O. wrote: >>>> On 08/12/11 22:54, Roland Smith wrote: >>>>> On Fri, Aug 12, 2011 at 08:44:07PM +0200, Hartmann, O. wrote: >>>>>>>> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz >>> Does this file actually exist if you extract the snapshot? And are the >>> permissions et cetera OK? >>> >>> Roland >> >> No, it does not. >> >> What I did so far over night: >> >> I deleted /var/db/portsnap as well as /usr/ports/. Then I tried again. >> Again failure. >> After that it got the ports tree via CVS (make update in /usr/ports). >> Everything seems >> all right. I tried portsnap again. portsnap compalins about a >> non-portsnap-created /usr/ports >> and please me to use 'extract'. I do ... but then I run into the very >> same failure: >> >> (portsnap fetch extract:) >> /usr/ports/devel/cccc/ >> /usr/ports/devel/ccdoc/ >> /usr/ports/devel/ccrtp/ >> /usr/ports/devel/cdash/ >> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not >> found -- snapshot corrupt. > > I've been looking at the portsnap shellscript. This error message is generated > by the shell's built-in test command, specifically '[ -r'. It is looking for a > file that was extracted with tar. So the place to look for the bug is IMO > > 1) the portsnap script itself (differences between 8.2 and 9?) > 2) the sh(1)'s built-in test command (ditto) > 3) tar (ditto) > > When you run 'portsnap fetch' it downloads a tgz archive and unpacks it with > tar(1). What you could try is to comment out the line 'rm ${SNAPSHOTHASH}.tgz' > in portsnap, and test if the tgz file extracts differently using an > 8.2-RELEASE tar and the 9-CURRENT tar. If so, that would be a bug! > > Roland Just a "me too!". It happens for me on a recently updated 9-current virtual machine, built with clang. Regards! -- Niclas