From owner-freebsd-stable@FreeBSD.ORG Sun Sep 12 09:10:57 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A9B816A4CE for ; Sun, 12 Sep 2004 09:10:57 +0000 (GMT) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF55F43D49 for ; Sun, 12 Sep 2004 09:10:56 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.34) id 1C6QNk-0007ln-GY; Sun, 12 Sep 2004 10:10:49 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 4.34) id 1C6QNg-00065J-Pe; Sun, 12 Sep 2004 10:10:45 +0100 Date: Sun, 12 Sep 2004 10:10:44 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Dan Swartzendruber In-Reply-To: <6.1.2.0.2.20040910143012.021fd068@127.0.0.1> Message-ID: References: <413BC4CD.5090201@hamla.org> <200409061239.36859.doconnor@gsoft.com.au> <6.1.2.0.2.20040910143012.021fd068@127.0.0.1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant X-Spam-Score: 0.0 X-Spam-Level: / cc: freebsd-stable@freebsd.org cc: Erwan David Subject: Re: Re: portsdb -Uu results in coredump X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2004 09:10:57 -0000 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 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 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.