Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2006 13:49:49 -0500 (EST)
From:      William Denton <wtd@pobox.com>
To:        Jack Raats <jack@jarasoft.net>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>, FreeBSD Stable <freebsd-stable@FreeBSD.org>
Subject:   Re: Errors after upgrading to new portupgrade
Message-ID:  <Pine.BSF.4.63.0601021340280.47094@as2.dm.egate.net>
In-Reply-To: <001801c60f75$585a21d0$9700000a@jarasoft.net>
References:  <001801c60f75$585a21d0$9700000a@jarasoft.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 January 2006, Jack Raats wrote:

> /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:89:in `<<': failed to allocate memory (NoMemoryError)
>        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:89:in `trace'
>        from /usr/local/sbin/portupgrade:723:in `do_upgrade'
>        from /usr/local/sbin/portupgrade:696:in `main'
>        from /usr/local/sbin/portupgrade:693:in `each'
>        from /usr/local/sbin/portupgrade:693:in `main'
>        from /usr/local/sbin/portupgrade:208:in `initialize'
>        from /usr/local/sbin/portupgrade:208:in `new'
>        from /usr/local/sbin/portupgrade:208:in `main'
>        from /usr/local/sbin/portupgrade:1893
>
> Anyone know how to cure this error?

I had this too, on 6.0-STABLE (to which I upgraded from 5 on Saturday 
without any trouble).  I recompiled all my ruby ports (which took a long 
time because because it kept saying the pkgdb was in the wrong format and 
would rebuild it every time I added or removed something, I guess because 
of the ruby-bdb1 and ruby-bdb4 ports going and coming), then reinstalled 
portupgrade, and that did it.

My /var/db/ports/portupgrade/options now looks like:

   # This file is auto-generated by 'make config'.
   # No user-servicable parts inside!
   # Options for portupgrade-2.0.0_1,1
   _OPTIONS_READ=portupgrade-2.0.0_1,1
   WITH_BDB4=true

This is just me stumbling around without a clue, but it worked.

Bill
-- 
William Denton : Toronto, Canada : www.miskatonic.org : www.frbr.org



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