Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147964 - mail-client/mozilla-thunderbird-1.5.0.7 ebuild is missing mozextension eclass
Summary: mail-client/mozilla-thunderbird-1.5.0.7 ebuild is missing mozextension eclass
Status: RESOLVED DUPLICATE of bug 147829
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 10:43 UTC by Wiktor Wandachowicz
Modified: 2006-09-18 01:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wiktor Wandachowicz 2006-09-17 10:43:12 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 10:46:56 UTC

*** This bug has been marked as a duplicate of 147829 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-18 01:24:07 UTC
*** Bug 148010 has been marked as a duplicate of this bug. ***