From owner-freebsd-ports@FreeBSD.ORG Fri Feb 27 09:16:57 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 173A316A4CE for ; Fri, 27 Feb 2004 09:16:57 -0800 (PST) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB16743D1D for ; Fri, 27 Feb 2004 09:16:56 -0800 (PST) (envelope-from tillman@seekingfire.com) Received: by mail.seekingfire.com (Postfix, from userid 500) id 815AFAE1; Fri, 27 Feb 2004 11:16:56 -0600 (CST) Date: Fri, 27 Feb 2004 11:16:56 -0600 From: Tillman Hodgson To: FreeBSD-Ports Message-ID: <20040227171656.GJ87391@seekingfire.com> References: <20040227163743.GF87391@seekingfire.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-GPG-Key-ID: 828AFC7B X-GPG-Fingerprint: 5584 14BA C9EB 1524 0E68 F543 0F0A 7FBC 828A FC7B X-GPG-Key: http://www.seekingfire.com/gpg_key.asc X-Urban-Legend: There is lots of hidden information in headers User-Agent: Mutt/1.5.6i Subject: Re: Ruby 1.6.8.2003.10.15_1 publicity X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 17:16:57 -0000 On Fri, Feb 27, 2004 at 12:08:53PM -0500, Garance A Drosihn wrote: > At 10:37 AM -0600 2/27/04, Tillman Hodgson wrote: > >Howdy folks, > > > >This morning I portupgraded two servers to ruby-1.6.8.2003.10.15_1 > >from ruby-1.6.8.2003.10.15). Since then, ruby appears to have died: > > > ># portversion -v > >-bash: /usr/local/sbin/portversion: /usr/local/bin/ruby: bad > >interpreter: No such file or directory > > > >Yet `pkg_info ruby-1.6.8.2003.10.15_1` shows that the package is installed. > > I have not looked into this, but one of my friends says the basic > problem is that RUBY_DEFAULT_VER has changed, and thus the ruby 1.6 > port only installs /usr/local/bin/ruby16, and does not also install > /usr/local/bin/ruby > > One quick fix for this would be to make a symlink from the missing > file to the installed file. I'm sure it isn't the most perfect fix, > but it's the quickest! :-) The commit message (copy at http://www.freshports.org/lang/ruby16/) shows what seems to be a proper way to fix it. At least, it worked on the 1st server that I tried it on (though it's a bit of a lengthy process on slower CPUs). I'm more concerned about the publicity ... this is likely to bite a *lot* of portupgrade users, and a commit message isn't the first place I'd expect casual FreeBSD users to look ;-) -T -- Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon?