Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 163449

Summary: firefox-2.0.0.1-r2 failes parallel make w/ distcc
Product: Gentoo Linux Reporter: Christoph Brill (egore) (RESIGNED) <egore>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christoph Brill (egore) (RESIGNED) 2007-01-23 16:16:12 UTC
I'm trying to compile firefox 2.0.0.1-r2 on a rather slow machine using distcc. My distcc config has the hosts:
"powermachine mediummachine localhost"
and
MAKEOPTS="-j7"

Normally, this works flawless. But Firefox seems to set MAKEOPTS to "-j1" and therefore my "powermachine" completely(!) compiles Firefox for my slow machine. The problem with that: my "powermachine" must compile all firefoxes in the network ... and is at it's limits ... while the other computers are sleeping (ok, they are sending the files to "powermachine", but thats it, no compiling at all)

To make a long story short:
If an ebuild sets MAKEOPTS="-j1" explicitely, it has to disable FEATURES="distcc" to avoid that localhost is idling around.

Reproducible: Always

Steps to Reproduce:
1. distcc-config "machine1 localhost"
2. FEATURES="distcc" emerge mozilla-firefox
3. DISTCC_DIR=/var/tmp/portage/.distcc distccmon-text 5
   -> all compilation on machine1
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 20:29:24 UTC

*** This bug has been marked as a duplicate of bug 135420 ***