Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem in Building Firefox (Ubuntu 19.04)

23 views
Skip to first unread message

sanchit.a...@gmail.com

unread,
Jan 13, 2020, 6:08:38 AM1/13/20
to
Hello, I was trying to build Firefox code base using the instructions mentioned 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 lines 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 the 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 help / suggestions are appreciated.
Thanks in advance :)

My pc specs:
OS: 64 bit Ubuntu 19.04
RAM: 8GB
Processor: i7

Andreas Tolfsen

unread,
Jan 13, 2020, 6:15:54 AM1/13/20
to sanchit.a...@gmail.com, dev-b...@lists.mozilla.org

Also sprach sanchit.a...@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=1608753

There is a workaround suggested in the bug, but your mileage may vary if you haven’t run bootstrap before.

sanchit.a...@gmail.com

unread,
Jan 13, 2020, 8:53:24 AM1/13/20
to
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 built only the JS shell afterwards, not the whole of Firefox."
So will it be all fine if I continue by commenting that line considering that 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 new messages