portupgrade

手邊某台機器升級 perl 以後爛掉, 其實主要原因是因為 portupgrade 有點問題.

在機器上面裝了一堆 ports 軟體以後, 現在用 portupgrade 時有時會跳出這個:

/usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:61:in `push”: failed to allocate memory (NoMemoryError)
from /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:61:in `shellwords”
from /usr/local/sbin/portupgrade:1162:in `get_pkgname”
from /usr/local/sbin/portupgrade:1147:in `check_pkgname”
from /usr/local/sbin/portupgrade:933:in `upgrade_pkg”
from /usr/local/sbin/portupgrade:756:in `do_upgrade”
from /usr/local/sbin/portupgrade:691:in `main”
from /usr/local/sbin/portupgrade:688:in `each”
from /usr/local/sbin/portupgrade:688: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:1869

目前還找不到解法, 所以我得想辦法一個一個慢慢找 dependency, 然後一個一個重新安裝.
我也不知道該不該 report 回去給 core team. orz

很悲慘啊… T_T