From owner-freebsd-questions@FreeBSD.ORG Tue Oct 12 12:36:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F86B16A4CE for ; Tue, 12 Oct 2004 12:36:17 +0000 (GMT) Received: from unsane.co.uk (unsane.co.uk [82.152.23.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6047F43D46 for ; Tue, 12 Oct 2004 12:36:16 +0000 (GMT) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (localhost [127.0.0.1]) by unsane.co.uk (8.13.1/8.12.10) with ESMTP id i9CCacOq070387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Oct 2004 13:36:38 +0100 (BST) (envelope-from jhary@unsane.co.uk) Received: from localhost (jhary@localhost) by unsane.co.uk (8.13.1/8.12.10/Submit) with ESMTP id i9CCacK4070384; Tue, 12 Oct 2004 13:36:38 +0100 (BST) (envelope-from jhary@unsane.co.uk) Date: Tue, 12 Oct 2004 13:36:37 +0100 (BST) From: Vince Hoffman To: Petre Bandac In-Reply-To: <20041012141604.2d05c055@xxl.rdsbv.ro> Message-ID: <20041012133147.D749@unsane.co.uk> References: <20041012141604.2d05c055@xxl.rdsbv.ro> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: portversion error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 12:36:17 -0000 On Tue, 12 Oct 2004, Petre Bandac wrote: > xxl# portversion | grep "<" > [Failed `Inappropriate file type or format'] [Updating the portsdb > in /usr/ports ... - 11731 port entries found > .........1000.........2000.........3000.........4000.........5000...... > ...6000.........7000.........8000..../usr/local/lib/ruby/site_ruby/1.8/ > portsdb.rb:587: [BUG] Bus Error > ruby 1.8.1 (2004-05-02) [i386-freebsd5] > > Abort (core dumped) > xxl# I asked this umm yesterday i think. so i quote >Gawd. Not this *again*. Did you try searhing the web at all? > > >http://freebsd.rambler.ru/srch?old_q=3D%5BBUG%5D+Bus+Error+%3E+ruby+1.8.%3D2+%282004-07-29%29+%5Bi386-freebsd5%5D+solution&words=%5BBUG%5D+Bus+Error+%3E+ruby+1.8.%3D2+%282004-07-29%29+%5Bi386-freebsd5%5D+solution&set=freebsdB >Anyhow, a work-around is to: > % setenv PORTS_DBDRIVER=3Dbdb1_hash >and then do all your portupgrade stuff as usual. =20 >The problem is with the bdb1_btree functions in the base system. A >fix has been committed to HEAD, RELENG_4 and RELENG_5. It won't be >applied to RELENG_5_2, so either you're going to have to extract the >patch yourself and apply it manually, or you can upgrade to one of the >5.3-BETAs. >http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/db/btree/bt_split.c.= >diff?r1=3D1.5&r2=3D1.7 Vince (with thanks to Mathew Seaman ;) > > > how can I fix that ? > > -- > Login: petre Name: Petre Bandac > Directory: /home/petre Shell: /usr/local/bin/zsh > On since Tue Oct 12 09:21 (EEST) on ttyv0, idle 4:54 (messages off) > New mail received Mon May 24 19:09 2004 (EEST) > Unread since Tue Feb 17 12:31 2004 (EET) > No Plan. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >