Closed Bug 385796 Opened 17 years ago Closed 17 years ago

Building with en_US.utf8 locale results in error when enable-ui-locale option is set

Categories

(Thunderbird :: Build Config, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mozilla_bugs, Unassigned)

Details

User-Agent:       Opera/9.20 (X11; Linux x86_64; U; en)
Build Identifier: thunderbird-2.0.0.4-source

When I try to build on Ubuntu 7.04 x86_64 using --enable-ui-locale=en_US.utf8 I get the following error when compiling:

+++ making chrome /home/mike/Desktop/mozilla/obj-x86_64-unknown-linux-gnu/netwerk/locales  => ../../dist/bin/chrome/en_US.utf8.jar
error: file '/home/mike/Desktop/mozilla/../l10n/en_US.utf8/netwerk/necko.properties' doesn't exist at /home/mike/Desktop/mozilla/config/make-jars.pl line 443, <STDIN> line 4.
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/mike/Desktop/mozilla/obj-x86_64-unknown-linux-gnu/netwerk/locales'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/mike/Desktop/mozilla/obj-x86_64-unknown-linux-gnu/netwerk'
make[2]: *** [tier_9] Error 2
make[2]: Leaving directory `/home/mike/Desktop/mozilla/obj-x86_64-unknown-linux-gnu'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/mike/Desktop/mozilla/obj-x86_64-unknown-linux-gnu'
make: *** [build] Error 2
mike@mike:~/Desktop/mozilla$

Reproducible: Always

Steps to Reproduce:
1.
2.
3.



Here is my .mozconfig:

. $topsrcdir/mail/config/mozconfig
#
# See http://www.mozilla.org/build/ for build instructions.
#

# Options for client.mk.
mk_add_options MOZ_CO_PROJECT=suite
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
mk_add_options MOZ_CO_DATE="25 Jun 2007 12:01 PDT"

# Options for 'configure' (same as command-line options).
ac_add_options --enable-application=mail
ac_add_options --enable-startup-notification
ac_add_options --enable-ui-locale=en_US.utf8
ac_add_options --enable-official-branding
ac_add_options --enable-pango
ac_add_options --enable-debug
ac_add_options --enable-extensions=default,lightning


When I comment out the enable-ui-locale option, it builds.

Here is the result of locale -a on my system:

mike@mike:~/Desktop/mozilla$ locale -a
C
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX

As you can see, I have en_US.utf8 installed.
Wrong sort of locale: --enable-ui-locale is looking for one of http://lxr.mozilla.org/l10n-mozilla1.8/source/ for translations of Mozilla-specific UI strings and URLs and prefs.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.