Date: Thu, 23 Sep 2004 22:56:32 -0700 From: "Kyle Mott" <kyle@xraided.net> To: "'Steve Hodgson'" <steve@howes-macnaghten.com>, <freebsd-ports@freebsd.org> Cc: ports@freebsd.org Subject: RE: Bus Error in protsdb.rb updating INDEX.db Message-ID: <000801c4a1fb$3eaf36f0$150ba8c0@kyle> In-Reply-To: <200409041154.53129.steve@howes-macnaghten.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? 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] Abort (core dumped) -Kyle Mott > -----Original Message----- > From: owner-freebsd-ports@freebsd.org [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Steve Hodgson > Sent: Saturday, September 04, 2004 3:55 AM > To: freebsd-ports@freebsd.org > Cc: ports@freebsd.org; Michael Edenfield; Dan Finn > Subject: Re: Bus Error in protsdb.rb updating INDEX.db > > On Friday 03 September 2004 23:06, Michael Edenfield wrote: > > * Dan Finn <dhrider@gmail.com> [040903 18:04]: > > > How do you tell ruby to skip that line? That might be at least a > > > usable hack for some of us until this is fixed. > > After installing sysutils/portindex, have a look > in /usr/local/share/doc/portindex/README.txt > > Looks like this is all old news > > Quote>> > > Possible problems with portsdb -u > ================================= > > If portsdb -u fails because of bug in Ruby, delete incorrectly > created INDEX.db file and reorder lines in INDEX file. Ruby is sensitive > to order of lines in INDEX file. With index generated by original > make index procedure Ruby can still crash, but less likely. > > #Method 0 > Use portindexdb program. Works fast and nicely. Of course, categories > are not generated, so if you are using in ignore by category feature > in pkgtools.conf.... > > #Method 1 > Use script like this: > > `` > sort < INDEX-5 > INDEX-5.sorted > mv INDEX-5.sorted INDEX-5 > `` > > #Method 2 > Or you can install ports textproc/rl and misc/inplace. Then use > `` > inplace rl /usr/ports/INDEX-5 [Rest of message truncated]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c4a1fb$3eaf36f0$150ba8c0>