Open Bug 1402564 Opened 7 years ago Updated 2 years ago

Remove --enable-ui-locale option from configure

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: fabrixx2, Unassigned)

Details

Attachments

(1 file)

Attached file buildlog.txt
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/50.0
Build ID: 20170628195406

Steps to reproduce:

Building Firefox latest trunk in Arch Linux


Actual results:

processing /home/fabrixx/Scrivania/gecko-dev/netwerk/locales/jar.mn
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/fabrixx/Scrivania/gecko-dev/python/mozbuild/mozbuild/action/jar_maker.py", line 17, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/home/fabrixx/Scrivania/gecko-dev/python/mozbuild/mozbuild/action/jar_maker.py", line 13, in main
    return mozbuild.jar.main(args)
  File "/home/fabrixx/Scrivania/gecko-dev/python/mozbuild/mozbuild/jar.py", line 597, in main
    jm.makeJar(infile, options.d)
  File "/home/fabrixx/Scrivania/gecko-dev/python/mozbuild/mozbuild/jar.py", line 333, in makeJar
    self.processJarSection(info, jardir)
  File "/home/fabrixx/Scrivania/gecko-dev/python/mozbuild/mozbuild/jar.py", line 388, in processJarSection
    self._processEntryLine(e, outHelper, jf)
  File "/home/fabrixx/Scrivania/gecko-dev/python/mozbuild/mozbuild/jar.py", line 441, in _processEntryLine
    for _srcdir in src_base:
TypeError: 'NoneType' object is not iterable
make[5]: *** [/home/fabrixx/Scrivania/gecko-dev/config/rules.mk:1274: libs] Error 1
Component: Untriaged → Build Config
Product: Firefox → Core
Could we please have more detailed steps to reproduce? Namely could you please provide the Mercurial revision and the mozconfig being used?
Flags: needinfo?(fabrixx2)
fixed removing locales fro mozconfig.


$ mkdir l10n
$ cd l10n
$ hg clone http://hg.mozilla.org/l10n-central/it



Removing this from mozconfig:
ac_add_options --with-l10n-base=/home/fabrixx/l10n 
ac_add_options --enable-ui-locale=it 
mk_add_options MOZ_CO_LOCALES="it"
ac_add_options --enable-ui-locale=it

compile finish without error.

With latest nightly i've no broblems with this settings.

Firefox 20170924161055
Flags: needinfo?(fabrixx2)
We don't support locale builds anymore, but only repacks for l10n.

Let's remove the option from configure.

Not sure if there's a way to do that with a constructive error message that tells people using this option to do a full en-US and a repack instead.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: 'NoneType' object is not iterable → Remove --enable-ui-locale option from configure
Product: Core → Firefox Build System

the same to you , how to fix?

Try removing localization from the mozconfig. You can use the language pack to locate the build from firefox
https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/linux-x86_64/xpi/

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: