pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53349 (www/firefox fails with high -j values)



* On 2018-07-08 at 18:05 BST, John Klos wrote:

> The following reply was made to PR pkg/53349; it has been noted by GNATS.
> 
> From: John Klos <john%ziaspace.com@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: pkg/53349 (www/firefox fails with high -j values)
> Date: Sun, 8 Jul 2018 17:01:47 +0000 (UTC)
> 
>  > Over to Firefox maintainer.
>  > Although the problem is probably that you are running out of memory.
>  
>  The machine has 32 gigs of memory.
>  
>  I will try to recreate so I can provide more information.

Note that by default cargo (the rust package manager that is used to
build parts of firefox) will use as many jobs as you have CPUs, so if
you have a large number of CPUs compared to memory this may cause OOM
failures.

I fixed this for rust itself in

  https://github.com/NetBSD/pkgsrc/commit/397302f904f7bb09c510c9deddb5f1e49434d568

but we may want to add that to the environment for any package which
uses rust.

This might not be the issue here, but it's worth pointing out.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index