Date: Sun, 12 Sep 2004 10:10:44 +0100 (BST) From: Jan Grant <Jan.Grant@bristol.ac.uk> To: Dan Swartzendruber <dswartz@druber.com> Cc: Erwan David <Erwan.David@trusted-logic.fr> Subject: Re: Re: portsdb -Uu results in coredump Message-ID: <Pine.GSO.4.61.0409121009010.20443@mail.ilrt.bris.ac.uk> In-Reply-To: <6.1.2.0.2.20040910143012.021fd068@127.0.0.1> References: <413BC4CD.5090201@hamla.org> <200409061239.36859.doconnor@gsoft.com.au> <6.1.2.0.2.20040910143012.021fd068@127.0.0.1>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Sep 2004, Dan Swartzendruber wrote: > At 02:43 AM 9/9/2004, Erwan David wrote: > > Le Mon 6/09/2004, Daniel O'Connor disait > > > On Mon, 6 Sep 2004 11:30, Sahil Tandon wrote: > > > > After a cvsup yesterday, I get this after trying to portsdb -Uu: > > > > > > > > Updating the ports index ... Generating INDEX.tmp - please wait.. Done. > > > > done > > > > [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11736 port > > > > entries found > > > > > > .........1000.........2000.........3000.........4000.........5000.........6 > > > >000.........7000.........8000..../usr/local/lib/ruby/site_ruby/1.8/port > > sdb.r > > > >b:587: [BUG] Bus Error > > > > ruby 1.8.2 (2004-07-29) [i386-freebsd4] > > > > > > > > I tried removing the ports directory and rebuilding (cvsup'ing) > > > > entirely, but the error remains. What's the problem? > > > > > > You need to upgrade ruby18.. > > > > > > Try > > > pkg_delete -f ruby-1.8\* > > > cd /usr/ports/lang/ruby18 > > > make install > > > > I got same problem with an up to date ruby 1.8 > > > > a make fetchindex in /usr/ports solved the problem. > > it didn't for me, unfortunately :( > > > -su-2.05b# pwd > /usr/ports > -su-2.05b# make fetchindex > Receiving INDEX-5 (5873261 bytes): 100% (ETA 00:00) > 5873261 bytes transferred in 133.9 seconds (42.83 kBps) > -su-2.05b# sync > -su-2.05b# portsdb -Uu > Updating the ports index ... Generating INDEX.tmp - please wait..Warning: > Duplicate INDEX entry: mod_jk2-apache2-2.0.2 > Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 > Done. > done > [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11734 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.2 (2004-07-29) [i386-freebsd5] > > Abort trap (core dumped) Solutions (well, workarounds) to this exist. For example, add this line to /usr/local/etc/pkgtools.conf: ENV['PORTS_DBDRIVER'] ||= 'bdb1_hash' and the bug isn't tickled. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Axioms speak louder than words.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.61.0409121009010.20443>