From owner-freebsd-questions@FreeBSD.ORG Mon Oct 11 17:06:43 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 AB08E16A4CE for ; Mon, 11 Oct 2004 17:06:43 +0000 (GMT) Received: from unsane.co.uk (unsane.co.uk [82.152.23.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BCD443D39 for ; Mon, 11 Oct 2004 17:06:43 +0000 (GMT) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (localhost [127.0.0.1]) by unsane.co.uk (8.12.11/8.12.10) with ESMTP id i9BH76n2001820; Mon, 11 Oct 2004 18:07:06 +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 i9BH76vI001817; Mon, 11 Oct 2004 18:07:06 +0100 (BST) (envelope-from jhary@unsane.co.uk) Date: Mon, 11 Oct 2004 18:07:06 +0100 (BST) From: Vince Hoffman To: Matthew Seaman In-Reply-To: <20041011170021.GA73181@happy-idiot-talk.infracaninophile.co.uk> Message-ID: <20041011180340.I749@unsane.co.uk> References: <20041011143307.Q94319@unsane.co.uk> <20041011170021.GA73181@happy-idiot-talk.infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: portupgrade problem 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: Mon, 11 Oct 2004 17:06:43 -0000 On Mon, 11 Oct 2004, Matthew Seaman wrote: > On Mon, Oct 11, 2004 at 04:05:17PM +0100, Vince Hoffman wrote: >> Hi all, >> Got a port upgrade problem here, ruby is dumping core during a >> portsdb -uU (and thus any time it tries to update the portsdb. <> >> >> any suggestions welcome > > Gawd. Not this *again*. Did you try searhing the web at all? > > http://freebsd.rambler.ru/srch?words=%5BBUG%5D+Bus+Error+%3E+ruby+1.8.2+%282004-07-29%29+%5Bi386-freebsd5%5D+solution&set=freebsd Doh no, since i try and read as much of -questions and -current I thought I would have caught it on the lists ;) Thanks for the help (again) Vince > > Anyhow, a work-around is to: > > % setenv PORTS_DBDRIVER=bdb1_hash > > and then do all your portupgrade stuff as usual. > > 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=1.5&r2=1.7 > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH UK >