My recent world update upgraded portage to the 2.1.2_pre1 version and then yielded a broken mozilla-thunderbird emerge. For the simplicity's sake: # emerge -avu mozilla-thunderbird These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] mail-client/mozilla-thunderbird-1.5.0.7 [1.5.0.5] USE="crypt gnome ipv6 xinerama -debug -ldap -xprint" LINGUAS="pl%* -bg% -ca% -cs% -da% -de% -el% -en_GB% -es% -es_AR% -es_ES% -eu% -fi% -fr% -ga% -ga_IE% -gu_IN% -he% -hu% -it% -ja% -ko% -lt% -mk% -nb% -nb_NO% -nl% -pa_IN% -pt_BR% -ru% -sk% -sl% -sv% -sv_SE% -tr% -zh_CN%" 0 kB ... >>> Source compiled. >>> Test phase [not enabled]: mail-client/mozilla-thunderbird-1.5.0.7 >>> Install mozilla-thunderbird-1.5.0.7 into /var/tmp/portage/mozilla-thunderbird-1.5.0.7/image/ category mail-client /usr/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.5.0.7.ebuild: line 180: xpi_install: command not found * Setting default locale to pl ... sed: can't read /var/tmp/portage/mozilla-thunderbird-1.5.0.7/image//usr/lib/mozilla-thunderbird/defaults/pref/thunderbird.js: No such file or directory sed: can't read /var/tmp/portage/mozilla-thunderbird-1.5.0.7/image//usr/lib/mozilla-thunderbird/defaults/pref/thunderbird-l10n.js: No such file or di [ !! ] !!! ERROR: mail-client/mozilla-thunderbird-1.5.0.7 failed. Call stack: ebuild.sh, line 1546: Called dyn_install ebuild.sh, line 1020: Called src_install mozilla-thunderbird-1.5.0.7.ebuild, line 189: Called die !!! sed failed to change locale Here's some more info: # grep xpi_install /usr/portage/eclass/* /usr/portage/eclass/mozextension.eclass:xpi_install() { /usr/portage/eclass/mozextension.eclass: # You must tell xpi_install which xpi to use # grep mozextension /usr/portage/eclass/* /usr/portage/eclass/mozextension.eclass:# $Header: /var/cvsroot/gentoo-x86/eclass/mozextension.eclass,v 1.2 2006/01/08 23:29:20 vivo Exp $ I thought that some other eclasses inherit the mozextension, but it doesn't seem to be the case. I added the eclass to the ebuild manually, made a digest and the package is currently compiling ATM. So I don't know for sure if it works (but it should, obviously). Probably a correction to this ebuild and maybe some other mozilla-* packages that support LINGUAS variable should be done.
*** This bug has been marked as a duplicate of 147829 ***
*** Bug 148010 has been marked as a duplicate of this bug. ***