apparent (but undeclared) dep on libiconv, which is masked Making all in po make[2]: Entering directory `/mnt/huge/tmp/portage/xchat-1.8.9/work/xchat-1.8.9/po' file=./`echo ca | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ca.po /usr/bin/msgfmt: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory make[2]: *** [ca.gmo] Error 127 make[2]: Leaving directory `/mnt/huge/tmp/portage/xchat-1.8.9/work/xchat-1.8.9/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/huge/tmp/portage/xchat-1.8.9/work/xchat-1.8.9' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 73, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/net-irc/xchat/xchat-1.8.9.ebuild .
This is an issue of removing libiconv, but not reinstalling glibc. it seems you need to rebuild gettext and glibc in order to get this fixed. The issue is that the version you have of /usr/bin/msgfmt is built when libiconv was installed, then you removed it, and msgfmt still links to libiconv.so Reolution: emerge glibc + gettext again.