Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147829

Summary: mozilla-thunderbird-1.5.0.7 emerge failed
Product: Gentoo Security Reporter: Matteo Spreafico <matteo>
Component: VulnerabilitiesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: critical CC: askwar, aurelien.francillon, billie, crusaderky, ekutay, gentoo-bugs, gentoo.bug, gnu.groups, gustavoz, hkbst, ikelos, jlp.bugs, kamensky.fb, lorenzo, me, Michael.Gaber, netbox253, nik, pacho, redhatter, sanchan, siryes, sonix, vltg0903
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 147653    
Attachments:
Description Flags
emerge --info
none
1.5.0.7 ebuild patch
none
this one.
none
(final?) patch none

Description Matteo Spreafico 2006-09-16 10:26:52 UTC
>>> 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 it ...
sed: impossibile leggere /var/tmp/portage/mozilla-thunderbird-1.5.0.7/image//usr/lib64/mozilla-thunderbird/defaults/pref/thunderbird.js: No such file or directory
sed: impossibile leggere /var/tmp/portage/mozilla-thunderbird-1.5.0.7/image//usr/lib64/mozilla-thunderbird/defaults/pref/thunderbird-l10n.js: No such file or directory                                 [ !! ]

!!! 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
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Matteo Spreafico 2006-09-16 10:27:54 UTC
Created attachment 97165 [details]
emerge --info
Comment 2 Alexander M. Turek 2006-09-16 11:20:49 UTC
Same here.

>>> Install mozilla-thunderbird-1.5.0.7 into /var/tmp/portage/mozilla-thunderbird-1.5.0.7/image/ category mail-client
/home/portage/tree/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.5.0.7.ebuild: line 180: xpi_install: command not found
 * Setting default locale to de ...
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 directory                                                               [ !! ]

!!! 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
!!! If you need support, post the topmost build error, and the call stack if relevant.

# emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r6 i686)
=================================================================
System uname: 2.6.17-suspend2-r6 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 16 Sep 2006 17:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -pipe"
DISTDIR="/home/portage/tree/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="de_DE.UTF-8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/home/portage/tree/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/portage/tree"
PORTDIR_OVERLAY="/home/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 audiofile bash-completion berkdb bitmap-fonts bzip2 cairo cdda cddb cdr cjk cli crypt curl dbus dlloader dri dvd dvdr elibc_glibc emboss encode esd fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kernel_linux libg++ linguas_de linguas_en mmx mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre php png ppds pppd qt3 qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia vorbis win32codecs wmf xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Fab 2006-09-16 13:33:07 UTC
Created attachment 97177 [details, diff]
1.5.0.7 ebuild patch

Same here.
I think this little patch should fix this.
Currently trying to rebuild thunderbird with it.
Comment 4 Fab 2006-09-16 13:42:30 UTC
Created attachment 97178 [details, diff]
this one.

Oups... wrong patch.
Comment 5 FieldySnuts 2006-09-16 17:24:28 UTC
I am not seeing these problems, and I simply wanted to attach info from a working system. Let me know if you need other details.

Portage 2.1.2_pre1 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.3.6-r4, 2.6.17.11-ifc i686)
=================================================================
System uname: 2.6.17.11-ifc i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 16 Sep 2006 16:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 alsa apache2 apm berkdb bitmap-fonts bzip2 cdr chroot cli crypt dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode ffmpeg flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 hal imlib input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jpeg kde kdeenablefinal kernel_linux libg++ libwww linguas_en mad mikmod mmx motif mp3 mpeg ncurses network nls ogg opengl oss pam pcre pdflib perl png pppd pwdb python qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl theora tiff truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon vorbis xml xml2 xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Fred Röhner 2006-09-17 02:16:24 UTC
the bug depends on LINGUAS: with other then "en" the emerge runs into problems during install phase.
Comment 7 Walter Meinl 2006-09-17 02:38:22 UTC
(In reply to comment #5)
> LINGUAS="en"

That's the difference. As you don't have a non-en-lingua the ebuild won't go thru internationalization using an if loop.
1) The ebuild must inherit the mozextension.eclass otherwise you see in comment#0 line 180: xpi_install: command not found
2) the patch in comment#4 finds the right tb-files to be changed by sed
3) after adding the mozextension.eclass to inherit I observed that in src_unpack cd ${S} has to be moved from after unpack ${A} to the patchset section otherwise we' re not in the correct directory and the patches fail
With these steps I have a running German Thunderbird
Comment 8 Fab 2006-09-17 02:54:19 UTC
4) to fix the following warning when unpacking :

unpack thunderbird-fr-1.5.0.7.xpi: file format not recognized. Ignoring.

Maybe change :

 unpack ${A}

by :

 unpack thunderbird-${PV}-source.tar.bz2 ${P}-patches-${PVER}.tar.bz2

in src_unpack() (see firefox ebuild)
Comment 9 Fab 2006-09-17 03:18:22 UTC
Created attachment 97220 [details, diff]
(final?) patch

Patch which include every comment.
Comment 10 Fab 2006-09-17 04:30:02 UTC
Patch works fine here.
Thunderbird 1.5.0.7 compiled, installed and localized.
Please update the ebuild. This fix also bug #147888.
Thanks.
Comment 11 Beuss 2006-09-17 05:48:26 UTC
Works here too
Comment 12 Alexander Skwar 2006-09-17 06:33:03 UTC
*** Bug 147888 has been marked as a duplicate of this bug. ***
Comment 13 Alexander Skwar 2006-09-17 10:12:18 UTC
"(final?) patch" also works for me with LINGUAS=de.
Comment 14 Alexander M. Turek 2006-09-17 10:17:50 UTC
I was able to emerge Thunderbird 1.5.0.7 successfully with LINGUAS="de en" on x86 using Fabrice's Patch. Maybe someone who has the power to do so could push a patched ebuild into portage? :-)
Comment 15 FieldySnuts 2006-09-17 10:18:58 UTC
...Trying to remove myself from CC for the *third* time, sorry for spam... seems i'm not being removed.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 10:46:56 UTC
*** Bug 147964 has been marked as a duplicate of this bug. ***
Comment 17 Wiktor Wandachowicz 2006-09-17 11:00:04 UTC
One more thing that I've noticed. If there was additional "die" in the
src_unpack(), after a call to xpi_unpack:

xpi_unpack thunderbird-${X}-${PV}.xpi || die "Cannot unpack language pack"

that could make a graceful exit point and would have saved me 20+ minutes of
waiting for compile to finish only to see it fail.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-09-18 01:16:12 UTC
*** Bug 148023 has been marked as a duplicate of this bug. ***
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-09-18 01:24:56 UTC
*** Bug 148010 has been marked as a duplicate of this bug. ***
Comment 20 Maxxer 2006-09-18 05:22:00 UTC
the final patch worked for me 
(amd64 unstable)
Comment 21 Marijn Schouten (RETIRED) gentoo-dev 2006-09-19 05:44:20 UTC
Would someone fix this or at least change the component to security. 1.5.0.7 is a fucking security fix
http://www.mozilla.org/projects/security/known-vulnerabilities.html#thunderbird1.5.0.7
Comment 22 Jouni Rinne 2006-09-19 11:39:31 UTC
Patched version works with LINGUAS=fi, too. Hurry up, this patch needs to be in portage ASAP
Comment 23 Jurek Bartuszek (RETIRED) gentoo-dev 2006-09-20 07:07:39 UTC
Maybe someone should change the priority or severity of this bug?
Comment 24 Jurek Bartuszek (RETIRED) gentoo-dev 2006-09-20 13:40:14 UTC
Oh, I forgot to mention. Of course, this patch works great for me. It's already landed in my overlay. Hope someone will commit this into the tree ASAP.
Comment 25 Fab 2006-09-21 01:20:00 UTC
Add last dev who worked on that ebuild (redhatter) to the CC list.
Maybe he could do something.
Comment 26 Sandro Bonazzola (RETIRED) gentoo-dev 2006-09-21 11:57:15 UTC
I can confirm the bug, the patch seems to work fine. Please, commit as soon as possible, since 1.5.0.7 is a security fix.
Comment 27 vltg0903 2006-09-21 12:48:12 UTC
Added gustavoz to cc list. Since he marked thunderbird-1.5.0.7 stable on sparc, he should know about this bug.
Comment 28 Martin Doucha 2006-09-22 08:23:05 UTC
Just a quick question: Why does emerge return 0 status even when thunderbird merge failed and it exited with error? It breaks my world update script.
Comment 29 Stuart Longland (RETIRED) gentoo-dev 2006-09-22 16:45:03 UTC
Okay, I've applied the patch into my local portage tree, and I'm compiling now.

I shall apply the patch into the tree if it works here.  It's worth noting the original ebuild worked fine on my desktop PC.

My `emerge --info` details are below for a reference:
Portage 2.1-r2 (hardened/x86/2.6, gcc-vanilla, glibc-2.3.6-r4, 2.6.16-hardened-r3-beast i686)
=================================================================
System uname: 2.6.16-hardened-r3-beast i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1, 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks fixpackages metadata-transfer nostrip sfperms strict"
GENTOO_MIRRORS="http://www/portage http://qube/pub/gentoo http://mirror.aarnet.edu.au/pub/gentoo ftp://ftp.planetmirror.com/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo/ http://ftp.swin.edu.au/gentoo/"
LC_ALL="en_AU.utf8"
LINGUAS="en en_AU en_GB"
MAKEOPTS="-j8"
PKGDIR="/home/portage/packages/ia32/i686"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/home/portage/overlays/local /home/portage/overlays/kde-live /home/portage/overlays/geoman"
SYNC="rsync://www/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi alsa amr apache2 asf audiofile avahi berkdb bidi bl bookmarks bzip2 cairo caps cddb cdparanoia cjk cpudetection crypt cups curl dbus dga divx dlloader doc dri dts dv dvb dvd dvdread ecc encode esd exif expat fam fame fbcon ffmpeg flac fpx gd gdbm ggi gif gimpprint glut gmedia gmp gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal hardened howl-compat idea idn ieee1394 imagemagick imap imlib ipv6 jack java javascript jbig jpeg jpeg2k junit kde kerberos kqemu lcms ldap libcaca libvisual libwww lirc live lm_sensors lzo mad matroska mdnsresponder-compat mikmod mjpeg mmap mmx mng modplug mono mozcalendar mozdevelop mozilla mozsvg mp3 mp4 mpeg musepack musicbrainz mysql nas ncurses network nls nptl ogg openal openexr opengl pam pcre pda pdf perl pic png povray python qt qt3 qt4 quicktime readline real rtc samba scanner sdk sdl smartcard smp speex spell sqlite srt sse sse2 ssl svg tcltk tcpd tetex theora threads tidy tiff toolbar transcode truetype unicode usb userlocales v4l v4l2 vcd vidix visualisation vorbis win32codecs wmf wmp wxwindows x264 x86 xanim xine xml xml2 xmms xorg xprint xv xvid xvmc zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_summa input_devices_acecad input_devices_jamstudio kernel_linux linguas_en linguas_en_AU linguas_en_GB userland_GNU video_cards_radeon video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 30 Marko Steinberger 2006-09-22 17:11:48 UTC
Did you try other entries than "en en_AU en_GB" for Linguas as well? The problem seems to appear only when using non-english ones.
Comment 31 Stuart Longland (RETIRED) gentoo-dev 2006-09-22 18:29:40 UTC
(In reply to comment #30)
> Did you try other entries than "en en_AU en_GB" for Linguas as well? The
> problem seems to appear only when using non-english ones.
> 

I'm just about to try that now... I don't see a reason why the non-English ones should be any different though.

[ebuild   R   ] mail-client/mozilla-thunderbird-1.5.0.7  LINGUAS="bg* ca* cs* da* de* el* es_AR* es_ES* eu* fi* fr* ga_IE* gu_IN* he* hu* it* ja* ko* lt* mk* nb_NO* nl* pa_IN* pl* pt_BR* ru* sk* sl* sv_SE* tr* zh_CN*"
^^ But I'll give it a try and report back. :-)
Comment 32 Stuart Longland (RETIRED) gentoo-dev 2006-09-22 19:15:01 UTC
(In reply to comment #31)
> (In reply to comment #30)
> > Did you try other entries than "en en_AU en_GB" for Linguas as well? The
> > problem seems to appear only when using non-english ones.
> > 
> 
> I'm just about to try that now... I don't see a reason why the non-English ones
> should be any different though.
> 
> [ebuild   R   ] mail-client/mozilla-thunderbird-1.5.0.7  LINGUAS="bg* ca* cs*
> da* de* el* es_AR* es_ES* eu* fi* fr* ga_IE* gu_IN* he* hu* it* ja* ko* lt* mk*
> nb_NO* nl* pa_IN* pl* pt_BR* ru* sk* sl* sv_SE* tr* zh_CN*"
> ^^ But I'll give it a try and report back. :-)

This works.  On completion of the build and restarting Thunderbird, I had all the language packs listed in the Extensions pane.  I'm not sure how to switch between them though, but they seem to be all present and accounted for.

Thus, I'm committing this updated ebuild, and resolving this bug.  Feel free to re-open if people strike further issues.

Thanks for reporting. :-)
Comment 33 Mike Auty (RETIRED) gentoo-dev 2006-09-23 01:25:08 UTC
I realize the bug's fixed now, but just to add more information, I found that I couldn't compile it if my LINGUAS was set to "en_GB en", but that I could if it was set to "en en_GB".  I dunno if that helps explain what was going on.  Anyway, thanks for the fix!  5:)
Comment 34 Alexander M. Turek 2006-09-24 02:41:58 UTC
(In reply to comment #32)
> This works.  On completion of the build and restarting Thunderbird, I had all
> the language packs listed in the Extensions pane.  I'm not sure how to switch
> between them though, but they seem to be all present and accounted for.

You can try this extension for switching between locales:

https://addons.mozilla.org/thunderbird/356/
Comment 35 Stuart Longland (RETIRED) gentoo-dev 2006-09-25 05:29:30 UTC
(In reply to comment #34)
> (In reply to comment #32)
> > This works.  On completion of the build and restarting Thunderbird, I had all
> > the language packs listed in the Extensions pane.  I'm not sure how to switch
> > between them though, but they seem to be all present and accounted for.
> 
> You can try this extension for switching between locales:
> 
> https://addons.mozilla.org/thunderbird/356/

Yeah, after tinkering with the startup script, I discovered how to switch locales:

Usage: /usr/lib/mozilla-thunderbird/thunderbird-bin [ options ... ] [URL]
       where options include:

X11 options
        --display=DISPLAY               X display to use
        --sync          Make X calls synchronous
        --no-xshm               Don't use X shared memory extension
        --xim-preedit=STYLE
        --xim-status=STYLE
        --g-fatal-warnings              Make all warnings fatal

Mozilla options
        -height <value>         Set height of startup window to <value>.
        -h or -help             Print this message.
        -width <value>          Set width of startup window to <value>.
        -v or -version          Print Thunderbird version.
        -P <profile>            Start with <profile>.
        -ProfileManager         Start with profile manager.
        -UILocale <locale>              Start with <locale> resources as UI Locale.
        -contentLocale <locale>         Start with <locale> resources as content Locale.
  -jsconsole           Open the JavaScript console.
  -addressbook         Open the address book at startup.
  -compose             Compose a mail or news message.
  -mail                Open the mail folder view.
  -options             Open the options dialog.
  -news                Open the news client.

^^ The --UILocale argument is used to select the language pack at runtime, e.g. de, jp, ga-IE (those are the ones I tried).