From owner-freebsd-ports@FreeBSD.ORG Tue Jun 26 23:02:57 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C37F216A469 for ; Tue, 26 Jun 2007 23:02:57 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id AE87413C45D for ; Tue, 26 Jun 2007 23:02:57 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 78D181CC044; Tue, 26 Jun 2007 16:02:57 -0700 (PDT) Date: Tue, 26 Jun 2007 16:02:57 -0700 From: Jeremy Chadwick To: Jason Harper Message-ID: <20070626230257.GA26026@eos.sc1.parodius.com> Mail-Followup-To: Jason Harper , ache@FreeBSD.org, ports@FreeBSD.org References: <4681890E.90801@pcappliancerepair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4681890E.90801@pcappliancerepair.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: ports@FreeBSD.org, ache@FreeBSD.org Subject: Re: FreeBSD Port: unrar-3.70,4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 23:02:57 -0000 On Tue, Jun 26, 2007 at 04:45:50PM -0500, Jason Harper wrote: > I am attempting to use the tree to load the port unrar. When it failed, I > downloaded the port and tried to make it manually. The website > (http://www.freebsd.org/cgi/ports.cgi?query=unrar&stype=all) is showing the > latest release of this software to be unrar-3.70,4 > . However, the internals > of the make file seem to be pointing to fileunrarsrc-3.7.6.tar.gz. The > following were my two load attempts: > > ---------------------------------------------------- > root@point1:/usr/src/unrar>pkg_add -r unrar > Error: FTP Unable to get > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/unrar.tgz: > File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch > 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/unrar.tgz' > by URL > ---------------------------------------------------- One can tell from the above the following things: * You're using cvsweb intelligently, but not heeding the release tags. You are looking at HEAD, not at RELEASE_4_EOL. See below for what that is, but here's the URL: http://www.freebsd.org/cgi/cvsweb.cgi/ports/archivers/unrar/Makefile?only_with_tag=RELEASE_4_EOL * You're running FreeBSD 4.9, which is no longer supported (and not to mention is very old even in comparison to 4.11). * You continue to update your ports tree using a ports cvsup file that contains tag=. on a 4.x box, which is a bad idea. There *will* be breakage, and more and more ports under tag=. are having their 4.x support removed. You will find many of them do not build, and even portions of the ports tree infrastructure to fail or break or behave in odd ways. Your options are: - Migrate your boxes to RELENG_6. - Use tag=RELEASE_4_EOL and re-cvsup promptly. You will probably also need to clean up leftover files in /usr/sup (if you use cvsup) or /var/db/sup/ports-all (if you use csup). Before doing the cvsup/csup you may also need to rm -fr /usr/ports and start fresh. If you choose the second option, you will not have the "latest ports" -- yes, that is one of the drawbacks. But the RELEASE_4_EOL tag was made at the final point where all ports worked on 4.x, and any succeeding updates were not guaranteed to work. Case in point. * The FTP masters do not have a package for unrar-3.7.6 on 4.9-RELEASE and never will (see above). I can tell you from the one 4.x box we still have that the last guaranteed working version of unrar for 4.x is 3.60. Here is the appropriate $FreeBSD CVS tag from ports/archivers/Makefile, for tag=RELEASE_4_EOL: # $FreeBSD: ports/archivers/unrar/Makefile,v 1.46 2006/08/17 01:46:32 ache Exp $ Compare this to tag=., which is: # $FreeBSD: ports/archivers/unrar/Makefile,v 1.55 2007/06/19 10:28:40 sat Exp $ > fetch: RARunrarsrc-3.7.6.tar.gz: No such file or directory > >> Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. > fetch: > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/unrarsrc-3.7.6.tar.gz: > File unavailable (e.g., file not found, no access) This is because the FTP masters do not have the sourceball yet. It will be taken care of in time. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |