Is portsdb/portupgrade broken?

Michael Abbott michael at araneidae.co.uk
Sun Nov 7 16:53:43 GMT 2004


Recently I am unable to use portupgrade: there seems to be some problem 
with the ports index building step which regularly core dumps:

$ sudo portsdb -fu
[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11910 port 
entries found 
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000....../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: 
[BUG] Segmentation fault
ruby 1.8.2 (2004-07-29) [i386-freebsd4]

Abort trap (core dumped)
$

I have tried manually deinstalling ruby and portupgrade and reinstalling 
directly for ports, but this doesn't seem to have made any difference. 
Here are the versions I have:

$ pkg_info -I 'ruby*' 'port*'
portaudit-0.5.9     Checks installed ports against a list of security vulnerabi
portupgrade-20040701_3 FreeBSD ports/packages administration and management tool s
ruby-1.8.2.p2_1     An object-oriented interpreted scripting language
ruby18-bdb1-0.2.2   Ruby interface to Berkeley DB revision 1.8x with full featu
$

I'm pretty up to date with my ports tree, and I've tried several times 
this weekend, so if it is a problem with the ports tree it seems pretty 
persistent.  Running `portsdb -U` seems to be fine (though very slow).

Any ideas for investigating any further?




More information about the Ukfreebsd mailing list