Firefox 71 build hangs in Ubuntu while compiling style

I'm following these directions: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build/Linux_and_MacOS_build_preparation

I'm running a 64 bit Ubuntu 19.10 VM in Virtualbox.  It has 2 GB of RAM, 4 GB of swap and over 400 GB free disk.  After running ./mach build it goes along compiling happily for about 50 minutes until it gets to this point:

0:16.81 toolkit/library/rust/force-cargo-library-build
 0:33.85    Compiling style v0.0.1 (/home/michele/mozilla-central/servo/components/style)
^Cmach interrupted by signal or user action. Stopping.

and hangs (or at least stops for over three hours before I had to ctrl-C out of it.)  CPU goes to 100% and the disk activity light is on solid.  I have installed all the prerequisites in the build guide.  Any idea what's going on here?
0
mdenber
1/5/2020 10:30:52 PM
mozilla.dev.builds 1746 articles. 0 followers. Post Follow

2 Replies
12 Views

Similar Articles

[PageSpeed] 55

I think it's just a very memory-intensive crate to compile, the disk
activity and the slowness is likely due to swapping. Try giving your
VM 4 GB of RAM if possible, should work better like that.

Cheers,
Botond

On Sun, Jan 5, 2020 at 5:35 PM <mdenber@gmail.com> wrote:
>
> I'm following these directions: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build/Linux_and_MacOS_build_preparation
>
> I'm running a 64 bit Ubuntu 19.10 VM in Virtualbox.  It has 2 GB of RAM, 4 GB of swap and over 400 GB free disk.  After running ./mach build it goes along compiling happily for about 50 minutes until it gets to this point:
>
> 0:16.81 toolkit/library/rust/force-cargo-library-build
>  0:33.85    Compiling style v0.0.1 (/home/michele/mozilla-central/servo/components/style)
> ^Cmach interrupted by signal or user action. Stopping.
>
> and hangs (or at least stops for over three hours before I had to ctrl-C out of it.)  CPU goes to 100% and the disk activity light is on solid.  I have installed all the prerequisites in the build guide.  Any idea what's going on here?
> _______________________________________________
> dev-builds mailing list
> dev-builds@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-builds
0
Botond
1/5/2020 10:38:29 PM
Thanks - that was all it was.  I increased the VM from one CPU to two, RAM =
from 2 GB to 2.5 GB (the host only has 4 so I didn't want to take too much)=
 and the disk from 40 GB to 200 GB.  Running ./mach build again it only too=
k another 13 minutes before completing successfully.  This is on a Pentium =
G4400 dual core @ 3.3 GHz.
0
mdenber
1/6/2020 8:44:01 PM
Reply: