Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2004 20:44:32 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Brian Astill <bastill@adam.com.au>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: portsdb -Uu and new mirror
Message-ID:  <20040402044432.GA77835@xor.obsecurity.org>
In-Reply-To: <200404021328.46235.bastill@adam.com.au>
References:  <200404012250.01301.bastill@adam.com.au> <20040401220607.GA73937@xor.obsecurity.org> <200404021328.46235.bastill@adam.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--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):
> <snip>
> > > 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040402044432.GA77835>