From owner-freebsd-questions@FreeBSD.ORG Thu Apr 1 20:44:43 2004 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 50C6E16A4CE for ; Thu, 1 Apr 2004 20:44:43 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 242B143D31 for ; Thu, 1 Apr 2004 20:44:43 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (5e8b5f762be4f3c8dfc497bc3f31688a@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i324hRR8014719; Thu, 1 Apr 2004 20:43:28 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EC87B53850; Thu, 1 Apr 2004 20:44:32 -0800 (PST) Date: Thu, 1 Apr 2004 20:44:32 -0800 From: Kris Kennaway To: Brian Astill Message-ID: <20040402044432.GA77835@xor.obsecurity.org> References: <200404012250.01301.bastill@adam.com.au> <20040401220607.GA73937@xor.obsecurity.org> <200404021328.46235.bastill@adam.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <200404021328.46235.bastill@adam.com.au> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: portsdb -Uu and new mirror 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, 02 Apr 2004 04:44:43 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 02, 2004 at 01:28:46PM +0930, Brian Astill wrote: > On Fri, 2 Apr 2004 07:36 am, Kris Kennaway wrote: > > On Thu, Apr 01, 2004 at 10:50:01PM +0930, Brian Astill wrote: > > > My ISP now stores "all" the FBSD ports and sources > > > > > > #portsdb -Uu > > > Updating the ports index ...make: don't know how to make > > > //ftp.filearena.net/pub/FreeBSD/ports/distfiles//(continuing): > > > > and so on ad infinitum (well nearly :-) ) until: > > > > > > failed to generate INDEX! > > > /usr/local/lib/ruby/site_ruby/1.6/portsdb.rb:210:in `update': index > > > generation error (PortsDB::IndexFileError) > > > from /usr/local/sbin/portsdb:154:in `main' > > > from /usr/local/sbin/portsdb:66:in `initialize' > > > from /usr/local/sbin/portsdb:66:in `new' > > > from /usr/local/sbin/portsdb:66:in `main' > > > from /usr/local/sbin/portsdb:205 > > > > > > OK, so I have rebuilt the ports index files by commenting out the > > > offending references to filearena in /etc/make.conf BUT I need to > > > uncomment them again to take advantage of my ISP's collection of > > > distfiles. > > > > Sounds like you have something incorrect in make.conf, but you forgot > > to include it so we can't be sure :-) >=20 > Fussy-fussy! :-) >=20 > The lines I have added look like this: > MASTER_SITE_BACKUP?=3D\ > # ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ > # > # If you want your port fetches to check the above site first (before > # the MASTER_SITES specified in the port Makefiles), uncomment the > # line below. You can also change the right side to point to wherever > # you want=20 > ftp://ftp.filearena.net/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ There are two errors there. Probably what you intended was for MASTER_SITE_BACKUP to be set to ftp://ftp.filearena.net/..., but comments are not ignored when doing line continuations, so the variable is set to the literal next line, and the ftp:// becomes a syntax error. Kris --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAbO+wWry0BWjoQKURAknEAJ4l2bOwfqbYe9ZRn7OQNIiQWeDDvgCgnSUI vn1yjckgMewAaB6lkroMiKw= =raxc -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--