>FreeBSD 5.2.1-RELEASE-p9
>При обновлении базы данных портов
>#portsdb -Uu
>Updating the ports index ... Generating INDEX.tmp - please wait.. Done.
>done
>[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11723 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.2 (2004-07-29) [i386-freebsd5]
>
>Аварийное завершение (core dumped)
>ruby18 после этого жрет все ресурсы.
>Может кто встречался с таким
>P.S. В поиске был то что нашел не помогло. Да и там
>было Segmentation fault
less /usr/ports/UPDATING
или
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/UPDATING (там смотришь revision или download), например:
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/UPDATING?rev=1.69&content-type=text/x-cvsweb-markup
И имеешь следующее:
~~~~~~~~~~~~~~~~~~~
20040226:
AFFECTS: i386 users of ruby and portupgrade
Change the default version of ruby to 1.8 for i386.
If you are a ruby developer and want to keep ruby 1.6 as default,
please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.
Otherwise, please run the following series of commands to migrate to
ruby 1.8:
1) Reinstall portupgrade manually (and as a result ruby 1.8 will be
installed):
pkg_delete portupgrade-\*
(cd /usr/ports/sysutils/portupgrade; make install clean)
2) Reinstall everything that depends on ruby 1.6 to use ruby 1.8
instead:
portupgrade -fr lang/ruby16
3) Reinstall ruby 1.8 (because the previous step kills symlinks):
portupgrade -f lang/ruby18
4) Deinstall ruby 1.6 stuff (if you are paranoia):
pkg_deinstall -ri lang/ruby16
5) If the above commands do now work somehow and portupgrade starts
causing LoadError, please reinstall portupgrade manually again.
Whenever you get confused, you can always deinstall portupgrade
and all the ruby stuff (run "pkg_delete -r ruby-\*") and
reinstall portupgrade as a last resort.