Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 13:36:37 +0100 (BST)
From:      Vince Hoffman <jhary@unsane.co.uk>
To:        Petre Bandac <petre@kgb.ro>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portversion error
Message-ID:  <20041012133147.D749@unsane.co.uk>
In-Reply-To: <20041012141604.2d05c055@xxl.rdsbv.ro>
References:  <20041012141604.2d05c055@xxl.rdsbv.ro>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 12 Oct 2004, Petre Bandac wrote:

> xxl# portversion | grep "<"
> [Failed `Inappropriate file type or format'] [Updating the portsdb
> <format:bdb1_btree> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041012133147.D749>