I've started portmaster yesterday to upgrade my ports, but I've encountered for the first time errors while upgrading. Well, I guess there's always a first time for everything, but till now I was not able to fix the issue, so I'm asking you for help

If you are using perl 5.8 or later, Encode::CN and Encode::TW will
automatically load the extra encodings for you, so there's no need to
explicitly write use Encode::HanExtra if you are using one of them already.

So I changed the lines to Encode::CN and Encode::TW, but that doesn't help either. Seems that the patching of the files is not being done correctly.

I had to patch the files manually and then start the building again, but after some time it fails again, complaining about errors like below:

What happens if you run '/usr/local/bin/xml2po' ? Mine was left in an odd state due to the upgrade to python2.6. I had to upgrade the gnome-doc-utils port manually to get xml2po to use the correct version of python.