lang/ruby19 distfile not found (ruby-1.9.3-p484.tar.bz2)

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Jan 7 08:35:00 UTC 2014


On 07/01/2014 07:53, Matthew Pounsett wrote:
> While building ports-mgmt/portupgrade, I'm trying to build ruby19 on 
> a new system (9.2-RELEASE), portsnapped up to five minutes ago. I'm
> unable to find ruby-1.9.3-p484.tar.bz2 on any of the FreeBSD mirrors
> that ports tries.
> 
> I thought this might be a new development (recently updated port, 
> not enough time for the distfile to make it everywhere) except that
> the Makefile shows the last update as 2013-12-13 02:17:30Z. I also
> don't see anything recent about it in gnats[1], so I have to assume
> this has been broken for a few weeks.
> 
> This is my make.conf .. otherwise this is a pristine system.
> # cat /etc/make.conf 
> WITHOUT_X11=yes

That's spelled:

OPTIONS_UNSET=	X11

nowadays.

> It shouldn't matter, but this box is v6-only (hence a few "network 
> not reachable" and timeout errors for some fetch attempts). I've
> FTP'd into a handful of the v6 enabled hosts and manually looked for
> the distfile, just to verify that I should be able to reach it
> somewhere via v6.

Unfortunately, the ports tree is not able to make any guarantees about
usability on an IPv6 only system.  Which is pretty sad given that IPv6
has been around for so many years and is so obviously the only feasible
way forward given the exhaustion of the IPv4 address space.

However, it used to be that you could get the distfiles from the cache
on the IPv6 enabled ftp.freebsd.org, where they were stored for the
benefit of the old package building systems.

There has been a switch to the new package building setup behind
pkg.freebsd.org.  Older style pkg_tools packages should still be being
produced for the supported 8.x and 9.x systems where pkgng is not the
default, but I believe the building system even for those has been
extensively revised.  I'm not sure this still involves caching all the
distfiles in the same way.  I could be wrong though.

If you can't rely on ftp.freebsd.org then you'ld have to turn to the
original master sites, and there's simply no way to find IPv6 enabled
sites for all possible distfiles.

On an IPv4 enabled system, there's no problem:

lucid-nonsense:...ports/lang/ruby19:# make fetch
===>  License BSD2CLAUSE RUBY accepted by the user
===>   ruby19-1.9.3.484,1 depends on file: /usr/local/sbin/pkg - found
=> ruby-1.9.3-p484.tar.bz2 doesn't seem to exist in
/usr/ports/distfiles/ruby.
=> Attempting to fetch
ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.bz2
ruby-1.9.3-p484.tar.bz2                       100% of 9806 kB  913 kBps
00m11s
===> Fetching all distfiles required by ruby19-1.9.3.484,1 for building

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140107/056b635c/attachment.sig>


More information about the freebsd-ports mailing list