The culprit is this stanza in pkg_postinst(): if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] then einfo "Installing Catalogs..." ... else ewarn "install-catalog not found! Something went wrong!" die fi
*** Bug 116757 has been marked as a duplicate of this bug. ***
This required some changes in sgml-common's ebuild and the install-catalog script, which hopefully take into account multiple $ROOT values correctly now. Please re-sync your trees and re-emerge sgml-common to test it. Thanks. agaffney, I would be glad to hear how it goes in your case using the installer.
I ended up switching to chroot'ing before running each 'ebuild' step simply because I figured I would run into this problem with many other packages. I'd rather take the slight speed hit of chroot'ing 4 times per package than filing a ton of bugs for proper ROOT support :P