Problem in Building Firefox (Ubuntu 19.04)

Hello, I was trying to build Firefox code base using the instructions menti=
oned here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide=
/Build_Instructions/Simple_Firefox_build/Linux_and_MacOS_build_preparation
When I run python bootstrap.py, after downloading many things and lots of l=
ines of text it gives me an error: Could not find a toolchain build named `=
lucetc`. I'm already struggling with this error for a few days and somehow =
managed to install lucetc on my system (I confirmed it by running lucetc --=
version on terminal). But after trying to run the bootstrap script again th=
e same error came again, now I don't have any clue what to do to remove the=
 error and continue building Firefox and start contributing. Any kind of he=
lp / suggestions are appreciated.
Thanks in advance :)

My pc specs:
OS: 64 bit Ubuntu 19.04
RAM: 8GB
Processor: i7
0
sanchit
1/13/2020 11:08:37 AM
mozilla.dev.builds 1759 articles. 0 followers. Post Follow

2 Replies
1494 Views

Similar Articles

[PageSpeed] 36

Also sprach sanchit.arora.2002@gmail.com wrote:

> When I run python bootstrap.py, after downloading many things and lots =
of lines of text it gives me an error: Could not find a toolchain build =
named `lucetc`.

This seems to be a recent regression in mach:
https://bugzilla.mozilla.org/show_bug.cgi?id=3D1608753

There is a workaround suggested in the bug, but your mileage may vary if =
you haven=E2=80=99t run bootstrap before.=
0
Andreas
1/13/2020 11:15:40 AM
On Monday, January 13, 2020 at 4:45:54 PM UTC+5:30, Andreas Tolfsen wrote:
> Also sprach sanchit.arora.2002@gmail.com wrote:
>=20
> > When I run python bootstrap.py, after downloading many things and lots =
of lines of text it gives me an error: Could not find a toolchain build nam=
ed `lucetc`.
>=20
> This seems to be a recent regression in mach:
> https://bugzilla.mozilla.org/show_bug.cgi?id=3D1608753
>=20
> There is a workaround suggested in the bug, but your mileage may vary if =
you haven=E2=80=99t run bootstrap before.


First of all, Thanks for a quick reply!
"Sorry to disturb you again but do you mean this:
Bug 1608724 suggests a workaround: in python/mozboot/mozboot/bootstrap.py, =
uncomment the call to ensure_lucetc_packages. Works for me, though I've bui=
lt only the JS shell afterwards, not the whole of Firefox."
So will it be all fine if I continue by commenting that line considering th=
at I'm gonna build whole Firefox?
Also, is Mozilla active on their irc channel? I tried to ask the doubt in #=
introduction but no reply...
0
sanchit
1/13/2020 1:53:23 PM
Reply: