Looks like ruby is the culprit. I did have problems while installing portupgrade from the ports tree. Portupgrade stopped with an error saying something is wrong in Openssl and I should install it with WITH_OPENSSL_BASE. So I typed in make install clean -DWITH_OPENSSL_BASE and it installed fine. Then I wanted to upgrade the portsdatabase with portsdb -u, but it resulted in the above error. What to do now? Should I reinstall ruby18? Should I load a patch (how do I do that)? Help me!