From owner-freebsd-ports@FreeBSD.ORG Sun Feb 29 22:37:47 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 0CA0E16A4CE for ; Sun, 29 Feb 2004 22:37:47 -0800 (PST) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83EB543D41 for ; Sun, 29 Feb 2004 22:37:46 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.121.140] (port=50667 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.23:1) id 1Axh3g-00079V-RF; Mon, 01 Mar 2004 14:37:44 +0800 Received: from localhost (localhost [127.0.0.1]) by chihiro.leafy.idv.tw (Postfix) with ESMTP id 1647F211; Mon, 1 Mar 2004 14:37:44 +0800 (CST) Received: from chihiro.leafy.idv.tw ([127.0.0.1]) by localhost (chihiro.leafy.idv.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02055-05; Mon, 1 Mar 2004 14:37:42 +0800 (CST) Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000) id ABABB20A; Mon, 1 Mar 2004 14:37:42 +0800 (CST) Date: Mon, 1 Mar 2004 14:37:42 +0800 From: leafy To: Randy Bush Message-ID: <20040301063742.GA94592@chihiro.leafy.idv.tw> Mail-Followup-To: Randy Bush , freebsd-ports@freebsd.org References: <20040301062953.6E28F43D2F@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20040301062953.6E28F43D2F@mx1.FreeBSD.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at leafy.idv.tw cc: freebsd-ports@freebsd.org Subject: Re: portupgrade portupgrade ... 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: Mon, 01 Mar 2004 06:37:47 -0000 On Sun, Feb 29, 2004 at 10:29:52PM -0800, Randy Bush wrote: > this evening's -current and ports > > so let's try libxine again > > roam.psg.com:/usr/src# portupgrade multimedia/libxine > -bash: /usr/local/sbin/portupgrade: /usr/local/bin/ruby: bad interpreter: No such file or directory This is from freebsd.kde.org, which in turn is taken from the last commit message for bsd.ruby.mk [2004-02-26] Ruby 1.8 Upgrade and Portupgrade It looks like the default ruby has finally been upgraded to 1.8 for FreeBSD on i386. More than one person has reported on #kde-freebsd that using portupgrade (which relies on ruby) to effect this upgrade on ruby has resulted in "strange things happening". So it loooks like it would be best to follow the maintainer's advice: If you...want to keep ruby 1.6 as default, please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf. Otherwise, please run the following series of commands to migrate to ruby 1.8: Reinstall portupgrade manually (and ruby 1.8 will be installed) pkg_delete portupgrade-\* cd /usr/ports/sysutils/portupgrade; make install clean Reinstall everything that depends on ruby 1.6 (to use ruby 1.8) portupgrade -fr lang/ruby16 Reinstall ruby 1.8 (because the previous step kills symlinks) portupgrade -f lang/ruby18 Deinstall ruby 1.6 stuff (if you are paranoi[d]) pkg_deinstall -ri lang/ruby16 -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming