Problem with portupgrade & ruby

Manfred Antar null at pozo.com
Mon Oct 13 09:09:57 PDT 2003


At 08:37 AM 10/13/2003, Sergey Matveychuk wrote:
>Peter Ulrich Kruppa wrote:
>>pukruppa# portupgrade -R gnome2
>>[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 321
>>packages found (-9 +17)
>>(...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:469:in `each':
>>negative allocation size (or too big) (NoMemoryError)
>>        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:469:in
>>`select'
>
>try 'pkgdb -fu' to fix it.
>
>-- 
>Sem.

I'm seeing the same thing here.
It worked fine yesterday !!!
I can't think of any thing I've changed :

Connecting to cvsup10.FreeBSD.org
Connected to cvsup10.FreeBSD.org
Server software version: SNAP_16_1e
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection ports-all/cvs
 Checkout ports/INDEX-5
Shutting down connection to server
Finished successfully
(ports)5165}pkgdb -fu       
--->  Updating the pkgdb
[Rebuilding the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 728 packages found (-0 +728) ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ done]
(ports)5166}portupgrade -iav
--->  Session started at: Mon, 13 Oct 2003 09:04:26 -0700
--->  Session ended at: Mon, 13 Oct 2003 09:06:23 -0700 (consumed 00:01:57)
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in `deorigin': failed to convert nil into String (PkgDB::DBError)
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in `sort_build'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in `sort_build!'
        from /usr/local/sbin/portupgrade:674:in `main'
        from /usr/local/sbin/portupgrade:207:in `initialize'
        from /usr/local/sbin/portupgrade:207:in `new'
        from /usr/local/sbin/portupgrade:207:in `main'
        from /usr/local/sbin/portupgrade:1846

Maybe it's the Index-5 file

==================================
||      null at pozo.com           ||
||      Ph. (415) 681-6235      ||
================================== 



More information about the freebsd-ports mailing list