thunderbird building error

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
0
shakedgreenfeld
1/4/2018 9:43:10 AM
mozilla.dev.builds 1703 articles. 0 followers. Post Follow

1 Replies
35 Views

Similar Articles

[PageSpeed] 56

--089e0826eb3402292f0561f805b8
Content-Type: text/plain; charset="UTF-8"

On Thu, Jan 4, 2018 at 2:45 AM <shakedgreenfeld@gmail.com> 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

--089e0826eb3402292f0561f805b8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Thu, Jan 4,=
 2018 at 2:45 AM &lt;<a href=3D"mailto:shakedgreenfeld@gmail.com">shakedgre=
enfeld@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
=C2=A00:03.37=C2=A0 =C2=A0 =C2=A0raise ConfigureError(&#39;Option `%s` alre=
ady defined&#39; % option.option)<br>
=C2=A00:03.37 mozbuild.configure.ConfigureError: Option `--enable-ldap` alr=
eady defined<br></blockquote><div><br></div><div>This is a result of having=
 incompatible versions of comm-central and mozilla-central. Specifically, y=
our mozilla-central repository is too old.</div><div><br></div><div>-- Tom<=
br></div></div></div>

--089e0826eb3402292f0561f805b8--
0
Tom
1/4/2018 7:05:37 PM
Reply: