Date: Fri, 24 Sep 2004 09:28:14 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Kyle Mott <kyle@xraided.net> Cc: freebsd-ports@freebsd.org Subject: Re: Bus Error in protsdb.rb updating INDEX.db Message-ID: <20040924082814.GD8309@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <000801c4a1fb$3eaf36f0$150ba8c0@kyle> References: <200409041154.53129.steve@howes-macnaghten.com> <000801c4a1fb$3eaf36f0$150ba8c0@kyle>
next in thread | previous in thread | raw e-mail | index | archive | help
--xJK8B5Wah2CMJs8h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 23, 2004 at 10:56:32PM -0700, Kyle Mott wrote: >=20 > I still seem to be having this problem, yet I have tried both Method #1 > and Method #2 listed below. I couldn't find 'portindexdb' to try Method > #0 out. Is my only option to cvsup + buildworld? >=20 > root@smith:/usr/ports# rm INDEX.db > root@smith:/usr/ports# inplace rl /usr/ports/INDEX-5 > root@smith:/usr/ports# portsdb -fUu > Updating the ports index ... Generating INDEX.tmp - please wait.. Done. > done > [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11735 port > entries found > .........1000.........2000.........3000.........4000.........5000....... > ..6000.........7000.........8000..../usr/local/lib/ruby/site_ruby/1.8/po > rtsdb.rb:587: [BUG] Bus Error > ruby 1.8.2 (2004-07-29) [i386-freebsd4] >=20 > Abort (core dumped)=20 > =20 A fix for this problem was committed to RELENG_4 and RELENG_5 a few days ago, HEAD some days before that -- so, yes cvsup and buildworld to the head of one of those branches will fix things. I don't think there are any plans to commit it to any other branches though. Failing that, and now that portindex has been withdrawn, the only other way to get past the problem is to configure portupgrade to use a different hashing function. The simplest way to do that is just to set an environment variable: # setenv PORTS_DBDRIVER bdb1_hash There are several variations on that -- different DB drivers, using pkgtools.conf to put the settings into the environment etc., but those have been covered on this and other FreeBSD lists and you should have no trouble searching the archives for them. Cheers, Matthew --=20 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 --xJK8B5Wah2CMJs8h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBU9qeiD657aJF7eIRAn3QAJ9krwh/DHhZ35U1s0SXaz/1v1QrcwCfd3fS 54hDxBL3xYCNd+ms/8bz6is= =UwvD -----END PGP SIGNATURE----- --xJK8B5Wah2CMJs8h--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040924082814.GD8309>