portupgrade, portsdb -U failing, ruby dumping core

Jeff Hinrichs jlh at cox.net
Fri Sep 3 20:20:44 PDT 2004


Dan Finn wrote:

> [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby
> [Failed `Inappropriate file type or format'] [Updating the portsdb
> <format:bdb1_btree> in /usr/ports ... - 11725 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.1 (2004-05-02) [i386-freebsd5]
> 
> Abort trap (core dumped)
> 
> Any ideas what could be causing this?  I recently installed portindex
> and have been using that to generate indexes after reading someone
> suggestion on one of the fbsd mailing lists.  I don't think I have
> made any other changes recently.

I just sup'd and then portsversion produced this:

[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11734 port 
entries found 
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000....

where it is just sitting, so I pulled out top and see:

   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
21110 root      64   0 12540K 12068K RUN     10:53 99.02% 99.02% ruby18

Something is getting it stuck in a loop, it runs then explodes with the 
Bus Error.

No gnome, no kde, this is on a 4.10 box that had been merrily running 
and sup'ing nightly.

Hope someone figures this out....  Is their a debug switch for portsdb??

-Jeff



More information about the freebsd-questions mailing list