I ran into a number of problems when upgrading mozilla to v1.6 (see http://bugzilla.mozilla.org/show_bug.cgi?id=234590) which appeared to involve the mozilla component registry. I solved the problems by unmerging mozilla and manually deleting the _entire_ mozilla home (/usr/lib/mozilla) prior to re-emerging it, and most of the problems I ran into were solved. I note that the component registry wasn't removed in the unmerge, which I would assume it should be. Perhaps this should be advised or required for gentoo ebuilds of mozilla prior to the actual build. I note that this advice is offered _after_ the build, w. regard to the contents of /usr/lib/mozilla/include, however at that point, the previous version is generally auto-unmerged anyway.
Brad, what do you think about this? pkg_preinst() { rm -rf /usr/lib/mozilla } It would solve a lot of problems, I think. In theory, everything in /usr/lib/mozilla *should* be removed when a newer/older version of mozilla is installed, it's just leftover because portage doesn't know to remove it.
Of course it should be ${ROOT}/usr/lib/mozilla
Okay, I've applied this change in mozilla-firefox-0.8-r3 and mozilla-1.7_rc1