Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2004 14:54:08 -0700
From:      Dan Finn <dhrider@gmail.com>
To:        ports@freebsd.org
Subject:   Re: Bus Error in protsdb.rb updating INDEX.db
Message-ID:  <89ceee7040903145446527510@mail.gmail.com>
In-Reply-To: <20040903214843.GA42378@wombat.jungle>
References:  <20040903214843.GA42378@wombat.jungle>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


On Fri, 3 Sep 2004 17:48:44 -0400, Michael Edenfield <kutulu@kutulu.org> wrote:
> I've been working on the INDEX.db building problem people seem to be
> having, and have at least managed to track down the problem.  It's this
> line in the INDEX-5 file (wrapping ahead):
> 
> Origin:8465:databases/py-bsddb3
> Port Info:8465:py23-bsddb3-4.2.4|/usr/ports/databases/py-bsddb3|/usr/local|Python extension module for BerkeleyDB 3 and 4|/usr/ports/databases/py-bsddb3/pkg-descr|perky@FreeBSD.org|databases python|db41-4.1.25_2 python-2.3.4_2|db41-4.1.25_2 python-2.3.4_2|http://pybsddb.sourceforge.net/
> 
> I haven't figured out why this line break, but trying to do:
> 
> origin = port_info.origin
> @db[origin] = port_info
> 
> is what's causing the bus error.  Coincidentally, I can print origin and
> portinfo, as you can see above, but can't assign to it.  If I have ruby
> skip that line in the index file, it keeps right on going and finishes
> with no problems.
> 
> I'm going to keep working on this, but perhaps a more experienced ruby
> guru can see what's wrong here...
> 
> 
> 
>



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