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 :-) > > Fussy-fussy! :-) > > The lines I have added look like this:
> MASTER_SITE_BACKUP?=\ > # 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 > 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
pgp00000.pgp
Description: PGP signature