thunderbird building error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

thunderbird building error

shakedgreenfeld
Hey, I am trying to rebuild Thunderbird in my machine. but for some reason I started to get the following error:
      0:00.51 /usr/bin/make -f client.mk -s configure
 0:00.69 cd /home/shaked/comm-central/obj-x86_64-pc-linux-gnu
 0:00.69 /home/shaked/comm-central/configure
 0:01.53 Reexecuting in the virtualenv
 0:02.01 Adding configure options from /home/shaked/comm-central/mozconfig
 0:02.01   --enable-application=mail
 0:02.01 checking for vcs source checkout... hg
 0:02.79 checking for a shell... /bin/sh
 0:02.92 checking for host system type... x86_64-pc-linux-gnu
 0:02.92 checking for target system type... x86_64-pc-linux-gnu
 0:03.12 checking for a shell... /bin/sh
 0:03.23 checking for host system type... x86_64-pc-linux-gnu
 0:03.23 checking for target system type... x86_64-pc-linux-gnu
 0:03.35 Traceback (most recent call last):
 0:03.36   File "/home/shaked/comm-central/configure.py", line 32, in <module>
 0:03.36     sys.exit(main(sys.argv))
 0:03.36   File "/home/shaked/comm-central/configure.py", line 24, in main
 0:03.36     sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
 0:03.36   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 399, in run
 0:03.36     self.include_file(path)
 0:03.36   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 390, in include_file
 0:03.36     exec_(code, self)
 0:03.36   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/util.py", line 59, in exec_
 0:03.36     exec(object, globals, locals)
 0:03.36   File "/home/shaked/comm-central/moz.configure", line 7, in <module>
 0:03.36     include('mozilla/moz.configure')
 0:03.36   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 694, in include_impl
 0:03.36     self.include_file(what)
 0:03.36   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 390, in include_file
 0:03.36     exec_(code, self)
 0:03.36   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/util.py", line 59, in exec_
 0:03.36     exec(object, globals, locals)
 0:03.36   File "/home/shaked/comm-central/mozilla/moz.configure", line 540, in <module>
 0:03.36     include('build/moz.configure/old.configure')
 0:03.36   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 694, in include_impl
 0:03.36     self.include_file(what)
 0:03.36   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 390, in include_file
 0:03.37     exec_(code, self)
 0:03.37   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/util.py", line 59, in exec_
 0:03.37     exec(object, globals, locals)
 0:03.37   File "/home/shaked/comm-central/mozilla/build/moz.configure/old.configure", line 299, in <module>
 0:03.37     '--enable-incomplete-external-linkage',
 0:03.37   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 735, in wrapper
 0:03.37     ret = template(*args, **kwargs)
 0:03.37   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 1002, in wrapped
 0:03.37     return new_func(*args, **kwargs)
 0:03.37   File "/home/shaked/comm-central/mozilla/build/moz.configure/old.configure", line 159, in old_configure_options
 0:03.37     option(opt, nargs='*', help='Help missing for old configure options')
 0:03.37   File "/home/shaked/comm-central/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 617, in option_impl
 0:03.37     raise ConfigureError('Option `%s` already defined' % option.option)
 0:03.37 mozbuild.configure.ConfigureError: Option `--enable-ldap` already defined
 0:03.45 *** Fix above errors and then restart with\
 0:03.45                "/usr/bin/make -f client.mk build"
 0:03.45 client.mk:360: recipe for target 'configure' failed
 0:03.45 make: *** [configure] Error 1


my mozconfig file looks as follow:

ac_add_options --enable-application=mail
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: thunderbird building error

mozilla
On Thu, Jan 4, 2018 at 2:45 AM <[hidden email]> wrote:
 0:03.37     raise ConfigureError('Option `%s` already defined' % option.option)
 0:03.37 mozbuild.configure.ConfigureError: Option `--enable-ldap` already defined

This is a result of having incompatible versions of comm-central and mozilla-central. Specifically, your mozilla-central repository is too old.

-- Tom

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds