Upgrading from 1.0 to -r2 and from -r2 to -r3 is causing problems. When the old instance is unmerged, here's a snippet of the output: /xpcom <<< dir /usr/lib/MozillaFirefox/chrome/inspector/content/inspector/jsutil /system <<< dir /usr/lib/MozillaFirefox/chrome/inspector/content/inspector/jsutil /rdf <<< dir /usr/lib/MozillaFirefox/chrome/inspector/content/inspector/jsutil/events <<< dir /usr/lib/MozillaFirefox/chrome/inspector/content/inspector/jsutil <<< dir /usr/lib/MozillaFirefox/chrome/inspector/content/inspector/extensions <<< dir /usr/lib/MozillaFirefox/chrome/inspector/content/inspector <<< dir /usr/lib/MozillaFirefox/chrome/inspector/content <<< dir /usr/lib/MozillaFirefox/chrome/inspector <<< dir /usr/lib/MozillaFirefox/chrome/help/skin/classic/help <<< dir /usr/lib/MozillaFirefox/chrome/help/skin/classic <<< dir /usr/lib/MozillaFirefox/chrome/help/skin <<< dir /usr/lib/MozillaFirefox/chrome/help/locale/en-US/help <<< dir /usr/lib/MozillaFirefox/chrome/help/locale/en-US <<< dir /usr/lib/MozillaFirefox/chrome/help/locale <<< dir /usr/lib/MozillaFirefox/chrome/help/content/help <<< dir /usr/lib/MozillaFirefox/chrome/help/content <<< dir /usr/lib/MozillaFirefox/chrome/help <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/pippki <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/pipnss <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/passwordmgr <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/necko <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/mozapps/xpinstall <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/mozapps/update <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/mozapps/profile <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/mozapps/plugins <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/mozapps/extensions <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/mozapps/downloads <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/mozapps <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global/xpinstall <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global/xml <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global/webservices <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global/security <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global/layout <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global/history <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global/dom <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global-region <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global-platform/win <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global-platform/unix <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global-platform/mac <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global-platform <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/global <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/cookie <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/browser/sidebar <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/browser/pref <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/browser/migration <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/browser/history <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/browser/cookieviewer <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/browser/bookmarks <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/browser-region <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale/browser <<< dir /usr/lib/MozillaFirefox/chrome/en-US/locale <<< dir /usr/lib/MozillaFirefox/chrome/en-US <<< dir /usr/lib/MozillaFirefox/chrome/embed-sample/skin/classic/embed <<< dir /usr/lib/MozillaFirefox/chrome/embed-sample/skin/classic <<< dir /usr/lib/MozillaFirefox/chrome/embed-sample/skin <<< dir /usr/lib/MozillaFirefox/chrome/embed-sample/locale/en-US/embed <<< dir /usr/lib/MozillaFirefox/chrome/embed-sample/locale/en-US <<< dir /usr/lib/MozillaFirefox/chrome/embed-sample/locale <<< dir /usr/lib/MozillaFirefox/chrome/embed-sample/content/embed <<< dir /usr/lib/MozillaFirefox/chrome/embed-sample/content <<< dir /usr/lib/MozillaFirefox/chrome/embed-sample <<< dir /usr/lib/MozillaFirefox/chrome/comm/content/xbl-marquee <<< dir /usr/lib/MozillaFirefox/chrome/comm/content/necko <<< dir /usr/lib/MozillaFirefox/chrome/comm/content/cookie <<< dir /usr/lib/MozillaFirefox/chrome/comm/content/communicator <<< dir /usr/lib/MozillaFirefox/chrome/comm/content/autoconfig <<< dir /usr/lib/MozillaFirefox/chrome/comm/content <<< dir /usr/lib/MozillaFirefox/chrome/comm <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/mozapps/xpins tall <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/mozapps/updat e <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/mozapps/share d <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/mozapps/profi le <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/mozapps/pref <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/mozapps/plugins <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/mozapps/exten sions <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/mozapps/downloads <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/mozapps<<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/tree <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/toolba r <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/throbber <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/scrollbar <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/radio <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/menu <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/icons <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/consol e <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/checkb ox <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/arrow <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global/alerts <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/global <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/communicator/cookie <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/communicator <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/browser/pref <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/browser/bookmarks <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic/browser <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin/classic <<< dir /usr/lib/MozillaFirefox/chrome/classic/skin <<< dir /usr/lib/MozillaFirefox/chrome/classic <<< dir /usr/lib/MozillaFirefox/chrome/browser/content/browser/pref <<< dir /usr/lib/MozillaFirefox/chrome/browser/content/browser/migration <<< dir /usr/lib/MozillaFirefox/chrome/browser/content/browser/history <<< dir /usr/lib/MozillaFirefox/chrome/browser/content/browser/cookieview er <<< dir /usr/lib/MozillaFirefox/chrome/browser/content/browser/bookmarks <<< dir /usr/lib/MozillaFirefox/chrome/browser/content/browser-region <<< dir /usr/lib/MozillaFirefox/chrome/browser/content/browser <<< dir /usr/lib/MozillaFirefox/chrome/browser/content <<< dir /usr/lib/MozillaFirefox/chrome/browser There's more above it, but my logs don't go that far. The browser still launches, but of course, the default theme file is gone and I'm sure there are some more issues. If I unmerge firefox first, then the emerge goes smoothly. qpkg -f mozilla-firefox shows the chrome files even on a faulty merge. Reproducible: Always Steps to Reproduce: 1. emerge =mozilla-firefox-r2 2. emerge -u mozilla-firefox Actual Results: The /usr/lib/MozillaFirefox/chrome directory gets deleted. Expected Results: Not get deleted. Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.6 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam fbcon foomaticdb fortran gdbm gif gnome gpm gtk gtk2 hal imlib javascript jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nptl oggvorbis opengl pam pdflib perl png python quicktime readline sdl slang spell sse ssl tcpd tiff truetype userlocales x86 xft xml2 xosd xv zlib"
Sorry, I forgot to mention that I've been using manually modified ebuilds in my overlay. The only difference between the two is that I add a --enable-official-branding line to the configuration section. I can't understand why this could cause any problems like this because the other files stay intact, but please let me know if I shouldn't do this. If you need me to test some specific combination of upgrading (modified->modified or normal->normal) I'll be glad to.
Resolving invalid myself, I should have never posted this here. Sorry.