If LINGUAS is set to anything other than "en", firefox-bin-3.6.9 fails to install because the ebuild uses an incorrect xpi directory: # LINGUAS="en ru" emerge firefox-bin [...] >>> Install firefox-bin-3.6.9 into /var/tmp/portage/www-client/firefox-bin-3.6.9/image/ category www-client /var/tmp/portage/www-client/firefox-bin-3.6.9/temp/environment: line 3172: cd: /var/tmp/portage/www-client/firefox-bin-3.6.9/work/firefox-3.6.9-ru.xpi: No such file or directory sed: can't read /var/tmp/portage/www-client/firefox-bin-3.6.9/work/firefox-3.6.9-ru.xpi/install.rdf: No such file or directory * ERROR: www-client/firefox-bin-3.6.9 failed: * failed to determine extension id * The solution is to change line 123 in the ebuild from [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P/-bin/}-${X}.xpi" to [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P/-bin/}-${X}"
Created attachment 246418 [details] ebuild that correctly installs language pack xpis I'm attaching an ebuild that incorporates the above fix to correctly install language pack xpis.
*** Bug 336415 has been marked as a duplicate of this bug. ***
This was already fixed. Please re-sync your portage-tree and try again.
Forget my previous post. The dupe is not the same problem and this bug is actually still unfixed...
+ 08 Sep 2010; Lars Wendler <polynomial-c@gentoo.org> + firefox-bin-3.6.9.ebuild: + Fixed installing the language files. Thanks to Alexandre Rostovtsev for + reporting this in bug #336412