From owner-freebsd-questions@FreeBSD.ORG Fri Apr 18 00:22:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C91E837B40F for ; Fri, 18 Apr 2003 00:22:56 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 576D543F75 for ; Fri, 18 Apr 2003 00:22:55 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h3I7MeMT051383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Apr 2003 08:22:40 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h3I7Mebf051382; Fri, 18 Apr 2003 08:22:40 +0100 (BST) (envelope-from matthew) Date: Fri, 18 Apr 2003 08:22:40 +0100 From: Matthew Seaman To: taxman Message-ID: <20030418072239.GB50571@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , taxman , freebsd-questions@freebsd.org References: <200304172241.08776.taxman@acd.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Content-Disposition: inline In-Reply-To: <200304172241.08776.taxman@acd.net> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: freebsd-questions@freebsd.org Subject: Re: fetch starts over X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 07:22:57 -0000 --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 17, 2003 at 10:41:08PM -0400, taxman wrote: >=20 > Hi all, > =09 > I'm sure this is known, but it seems fixable. When trying to fetch a=20 > distfile, if it fails, then fetch overwrites it and starts from the begin= ing. >=20 > Receiving gcc-core-3.1.1.tar.bz2 (10213865 bytes): 39% (ETA 41:01) ) > 4000592 bytes transferred in 1584.6 seconds (2.47 kBps) > fetch: gcc-core-3.1.1.tar.bz2 appears to be truncated: 4000592/10213865 b= ytes > >> Attempting to fetch from=20 > ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-3.= 1.1/. > Receiving gcc-core-3.1.1.tar.bz2 (10213865 bytes): 1% (ETA 01:17:34) > 108544 bytes transferred in 49.5 seconds (2.14 kBps) > fetch: transfer interrupted >=20 > A little painful on a connection that slow!=20 >=20 > It seems it wouldn't just be as simple as using -r or else that would hav= e=20 > already been done. Or am I missing something? Is it that easy, or is th= ere=20 > another way to fix it? >=20 > Anyway to set that would I just set FETCH_CMD=3D /usr/bin/fetch -r in=20 > /etc/make.conf? Patches to allow re-fetching a truncated download went into bsd.port.mk just yesterday courtesy of Kris Kennaway: see http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D438860+0+current/freebsd= -ports Re-cvsup your ports, and set the FETCH_REGET variable for the number of times you want the ports make system to retry the fetch. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+n6e/dtESqEQa7a0RApRLAKCVP4h5F4OmhqqiUeNP/r7Xy0mNzwCgm9gO 7GKD/8Pq1fWDXkT4ImZMLNw= =o00T -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a--