Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 181722
Alias:
Product:
Component:
Status: RESOLVED
Resolution: UPSTREAM
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Jiresjö <slaugther@linux.nu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 181722 depends on: Show dependency tree
Bug 181722 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-12 09:11 0000
Parallel builds of mozilla firefox is disabled due to bug 135420
(http://bugs.gentoo.org/show_bug.cgi?id=135420) which says leave it disabled
till upstream fix it properly and closed Upstream.Upstream on the other hand
supports parallel builds in places like
http://webtools.mozilla.org/build/config.cgi and
http://developer.mozilla.org/en/docs/Mozilla_Build_FAQ.

Personally i became aware of the problem when i built mozilla firefox for my
slower u60 using my larger e4500 and it took alot of time which made me look at
processes and noticing make was running with make -j10 -j1 restricting build to
serial. Removing -j1 from ebuild and redigesting resulted in alot shorter build
and no obvious problems. Following times where obtained with time emerge
mozilla-firefox

Emergetime -j10
real    69m8.115s
user    172m0.190s
sys     93m1.840s

Emergetime restricted to -j1
real    185m52.092s
user    169m10.240s
sys     18m40.440s

The later also has slight filecache advantage. Attempting to build with -j9 now
just to see if uneven -j values crashes it. So far so good

I would like that either the restriction is removed or a local use-flag is
introduced to work around it. If restriction is removed a warning could be
added that parallel builds can fail on this piece of software.

Reproducible: Always

Steps to Reproduce:
1. Set MAKEOPTS="-jX" where X>1
2. emerge mozilla-firefox


Actual Results:  
mozilla-firefox is built with -j1

Expected Results:  
mozilla-firefox is built with -jX

------- Comment #1 From Raúl Porcel 2007-06-13 10:36:52 0000 -------
I'm looking into it.

------- Comment #2 From Raúl Porcel 2007-06-13 13:53:41 0000 -------
This is fixed on:
www-client/mozilla-firefox-2.0.0.4
mail-client/mozilla-thunderbird-2.0.0.0
net-libs/xulrunner-1.8.1.4
app-office/mozilla-sunbird-0.3.1
www-client/seamonkey-1.1.2

------- Comment #3 From Arfrever Frehtes Taifersar Arahesis 2007-06-14 18:14:15 0000 -------
(In reply to comment #2)
> This is fixed on:
> net-libs/xulrunner-1.8.1.4

This isn't fixed on net-libs/xulrunner-1.8.1.4 :) .

------- Comment #4 From Raúl Porcel 2007-06-15 10:24:03 0000 -------
(In reply to comment #3)
> (In reply to comment #2)
> > This is fixed on:
> > net-libs/xulrunner-1.8.1.4
> 
> This isn't fixed on net-libs/xulrunner-1.8.1.4 :) .
> 

I tested it but i didn't commit it, thanks for reminding me, fixed.

------- Comment #5 From Christian Marie (RETIRED) 2007-07-23 08:14:01 0000 -------
It seems upstream hasn't really fixed this as it's causing the same problems it
did before, I'm reverting these changes to resolve bug 182929.

------- Comment #6 From Ian Stakenvicius 2007-08-29 18:57:24 0000 -------
The mozilla build process has its own 'MOZ_MAKE_FLAGS' in client.mk, I'm
wondering if parallel building works better if MAKEOPTS is migrated to
MOZ_MAKE_FLAGS (ie, with an 'export MOZ_MAKE_FLAGS="${MAKEOPTS}"' the same way
MOZ_CO_PROJECT and such are set) ?

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug