[ac-updates-security] mozilla-thunderbird 1.5.0.2 from HEAD to AC-branch - STBR

Marek Guevara Braun marek.guevara at atm.com.pl
Thu May 4 13:57:10 CEST 2006


Elan Ruusamäe wrote:
> this is unrelated to arch, but worth to know.

Without glibc-localedb-all output is also different (still pl_PL locales)

> $ sh -x /usr/bin/mozilla-thunderbird -mail
> + MOZILLA_FIVE_HOME=/usr/lib64/mozilla-thunderbird
> + MOZARGS=
> + /usr/bin/locale
> + grep ^LC_MESSAGES=
> + sed -e s|LC_MESSAGES=||g -e s|"||g
> + MOZLOCALE=en_US.UTF-8
> + echo
> + tr :
> + echo en_US.UTF-8
> + sed -e s|_\([^.]*\).*|-\1|g
> + eval MOZLANG=en-US
> + MOZLANG=en-US
> + [ -f /usr/lib64/mozilla-thunderbird/chrome/en-US.jar ]
> + MOZARGS=-UILocale en-US
> + break
> + [ -z -UILocale en-US ]
> + [ -n -UILocale en-US ]
> + THUNDERBIRD=/usr/lib64/mozilla-thunderbird/thunderbird -UILocale en-US
> + [ -mail == -remote ]
> + /usr/lib64/mozilla-thunderbird/thunderbird -UILocale en-US -remote ping()
> + 2>&1
> + PING=+ > /dev/null
> + [ -n + > /dev/null  ]
> + /usr/lib64/mozilla-thunderbird/thunderbird -UILocale en-US -mail
> Warning: unrecognized command line flag -UILocale
> Warning: unrecognized command line flag -mail

$ sh -x /usr/bin/mozilla-thunderbird -mail
+ MOZILLA_FIVE_HOME=/usr/lib/mozilla-thunderbird
+ MOZARGS=
+ /usr/bin/locale
+ grep ^LC_MESSAGES=
+ sed -e s|LC_MESSAGES=||g -e s|"||g
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or
directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file
or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or
directory
+ MOZLOCALE=pl_PL
+ echo
+ tr :
+ echo pl_PL
+ sed -e s|_\([^.]*\).*|-\1|g
+ eval MOZLANG=pl-PL
+ MOZLANG=pl-PL
+ [ -f /usr/lib/mozilla-thunderbird/chrome/pl-PL.jar ]
+ [ -z  ]
+ echo
+ tr :
+ echo pl_PL
+ sed -e s|_.*||g
+ eval MOZLANG=pl
+ MOZLANG=pl
+ echo /usr/lib/mozilla-thunderbird/chrome/pl*.jar
+ sed s/\s.*//g
+ LANGFILE=/usr/lib/mozilla-thunderbird/chrome/pl*.jar
+ [ -f /usr/lib/mozilla-thunderbird/chrome/pl*.jar ]
+ [ -n  ]
+ THUNDERBIRD=/usr/lib/mozilla-thunderbird/thunderbird
+ [ -mail == -remote ]
+ /usr/lib/mozilla-thunderbird/thunderbird -remote ping()
+ 2>&1
+ PING=+ > /dev/null

(thunderbird-bin:6567): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
+ [ -n + > /dev/null

(thunderbird-bin:6567): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale. ]
+ /usr/lib/mozilla-thunderbird/thunderbird -mail

(thunderbird-bin:6576): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

> $ sh -x /usr/bin/mozilla-thunderbird -compose
> + MOZILLA_FIVE_HOME=/usr/lib64/mozilla-thunderbird
> + MOZARGS=
> + /usr/bin/locale
> + grep ^LC_MESSAGES=
> + sed -e s|LC_MESSAGES=||g -e s|"||g
> + MOZLOCALE=en_US.UTF-8
> + echo
> + tr :
> + echo en_US.UTF-8
> + sed -e s|_\([^.]*\).*|-\1|g
> + eval MOZLANG=en-US
> + MOZLANG=en-US
> + [ -f /usr/lib64/mozilla-thunderbird/chrome/en-US.jar ]
> + MOZARGS=-UILocale en-US
> + break
> + [ -z -UILocale en-US ]
> + [ -n -UILocale en-US ]
> + THUNDERBIRD=/usr/lib64/mozilla-thunderbird/thunderbird -UILocale en-US
> + [ -compose == -remote ]
> + /usr/lib64/mozilla-thunderbird/thunderbird -UILocale en-US -remote ping()
> + 2>&1
> + PING=+ > /dev/null
> + [ -n + > /dev/null  ]
> + /usr/lib64/mozilla-thunderbird/thunderbird -UILocale en-US -compose
> Warning: unrecognized command line flag -UILocale
> Hash Manager Error : 1
> Error - could not open affix description file /usr/lib64/mozilla-thunderbird/components/myspell/en-US.aff
> Failure loading aff file /usr/lib64/mozilla-thunderbird/components/myspell/en-US.aff

$ sh -x /usr/bin/mozilla-thunderbird -compose
+ MOZILLA_FIVE_HOME=/usr/lib/mozilla-thunderbird
+ MOZARGS=
+ /usr/bin/locale
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or
directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file
or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or
directory
+ grep ^LC_MESSAGES=
+ sed -e s|LC_MESSAGES=||g -e s|"||g
+ MOZLOCALE=pl_PL
+ echo
+ tr :
+ echo pl_PL
+ sed -e s|_\([^.]*\).*|-\1|g
+ eval MOZLANG=pl-PL
+ MOZLANG=pl-PL
+ [ -f /usr/lib/mozilla-thunderbird/chrome/pl-PL.jar ]
+ [ -z  ]
+ echo
+ tr :
+ echo pl_PL
+ sed -e s|_.*||g
+ eval MOZLANG=pl
+ MOZLANG=pl
+ echo /usr/lib/mozilla-thunderbird/chrome/pl*.jar
+ sed s/\s.*//g
+ LANGFILE=/usr/lib/mozilla-thunderbird/chrome/pl*.jar
+ [ -f /usr/lib/mozilla-thunderbird/chrome/pl*.jar ]
+ [ -n  ]
+ THUNDERBIRD=/usr/lib/mozilla-thunderbird/thunderbird
+ [ -compose == -remote ]
+ /usr/lib/mozilla-thunderbird/thunderbird -remote ping()
+ 2>&1
+ PING=+ > /dev/null

(thunderbird-bin:6528): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
+ [ -n + > /dev/null

(thunderbird-bin:6528): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale. ]
+ /usr/lib/mozilla-thunderbird/thunderbird -compose

(thunderbird-bin:6537): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.


###
Now we can use en_US.UTF-8 locales:

$ LANG=en_US.UTF-8 sh -x /usr/bin/mozilla-thunderbird -mail
+ MOZILLA_FIVE_HOME=/usr/lib/mozilla-thunderbird
+ MOZARGS=
+ /usr/bin/locale
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or
directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file
or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or
directory
+ grep ^LC_MESSAGES=
+ sed -e s|LC_MESSAGES=||g -e s|"||g
+ MOZLOCALE=en_US.UTF-8
+ echo
+ tr :
+ echo en_US.UTF-8
+ sed -e s|_\([^.]*\).*|-\1|g
+ eval MOZLANG=en-US
+ MOZLANG=en-US
+ [ -f /usr/lib/mozilla-thunderbird/chrome/en-US.jar ]
+ MOZARGS=-UILocale en-US
+ break
+ [ -z -UILocale en-US ]
+ [ -n -UILocale en-US ]
+ THUNDERBIRD=/usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US
+ [ -mail == -remote ]
+ /usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US -remote ping()
+ 2>&1
+ PING=+ > /dev/null

(thunderbird-bin:6597): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
+ [ -n + > /dev/null

(thunderbird-bin:6597): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale. ]
+ /usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US -mail

(thunderbird-bin:6608): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.


###

$ LANG=en_US.UTF-8 sh -x /usr/bin/mozilla-thunderbird -compose
+ MOZILLA_FIVE_HOME=/usr/lib/mozilla-thunderbird
+ MOZARGS=
+ /usr/bin/locale
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or
directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file
or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or
directory
+ grep ^LC_MESSAGES=
+ sed -e s|LC_MESSAGES=||g -e s|"||g
+ MOZLOCALE=en_US.UTF-8
+ echo
+ tr :
+ echo en_US.UTF-8
+ sed -e s|_\([^.]*\).*|-\1|g
+ eval MOZLANG=en-US
+ MOZLANG=en-US
+ [ -f /usr/lib/mozilla-thunderbird/chrome/en-US.jar ]
+ MOZARGS=-UILocale en-US
+ break
+ [ -z -UILocale en-US ]
+ [ -n -UILocale en-US ]
+ THUNDERBIRD=/usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US
+ [ -compose == -remote ]
+ /usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US -remote ping()
+ 2>&1
+ PING=+ > /dev/null

(thunderbird-bin:6630): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
+ [ -n + > /dev/null

(thunderbird-bin:6630): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale. ]
+ /usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US -compose

(thunderbird-bin:6641): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.


###
And then install back glibc-localedb-all-2.3.6-5:

$ LANG=en_US.UTF-8 sh -x /usr/bin/mozilla-thunderbird -mail
+ MOZILLA_FIVE_HOME=/usr/lib/mozilla-thunderbird
+ MOZARGS=
+ /usr/bin/locale
+ grep ^LC_MESSAGES=
+ sed -e s|LC_MESSAGES=||g -e s|"||g
+ MOZLOCALE=en_US.UTF-8
+ echo
+ tr :
+ echo en_US.UTF-8
+ sed -e s|_\([^.]*\).*|-\1|g
+ eval MOZLANG=en-US
+ MOZLANG=en-US
+ [ -f /usr/lib/mozilla-thunderbird/chrome/en-US.jar ]
+ MOZARGS=-UILocale en-US
+ break
+ [ -z -UILocale en-US ]
+ [ -n -UILocale en-US ]
+ THUNDERBIRD=/usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US
+ [ -mail == -remote ]
+ /usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US -remote ping()
+ 2>&1
+ PING=+ > /dev/null
+ [ -n + > /dev/null  ]
+ /usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US -mail


###
$ LANG=en_US.UTF-8 sh -x /usr/bin/mozilla-thunderbird -compose
+ MOZILLA_FIVE_HOME=/usr/lib/mozilla-thunderbird
+ MOZARGS=
+ /usr/bin/locale
+ grep ^LC_MESSAGES=
+ sed -e s|LC_MESSAGES=||g -e s|"||g
+ MOZLOCALE=en_US.UTF-8
+ echo
+ tr :
+ echo en_US.UTF-8
+ sed -e s|_\([^.]*\).*|-\1|g
+ eval MOZLANG=en-US
+ MOZLANG=en-US
+ [ -f /usr/lib/mozilla-thunderbird/chrome/en-US.jar ]
+ MOZARGS=-UILocale en-US
+ break
+ [ -z -UILocale en-US ]
+ [ -n -UILocale en-US ]
+ THUNDERBIRD=/usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US
+ [ -compose == -remote ]
+ /usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US -remote ping()
+ 2>&1
+ PING=+ > /dev/null
+ [ -n + > /dev/null  ]
+ /usr/lib/mozilla-thunderbird/thunderbird -UILocale en-US -compose

Cheers,
Marek

PS. Have you got glibc-localedb-all installed? Do you use rpm provided
/usr/bin/mozilla-thunderbird script or the one from your website?

PS2. I will reinstall mozilla-thunderbird to check the update extensions
hangup - I have had it too.


More information about the pld-devel-en mailing list