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

Bug 22416

Summary: sun-j2sdk-1.4.1-r1 fails if MAKEOPTS="-j"
Product: Gentoo Linux Reporter: Omkhar Arasaratnam <iamroot>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: jstubbs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Omkhar Arasaratnam 2003-06-07 16:42:43 UTC
If MAKEOPTS="-j" the make will fail (not the lack of any number after j indicating spawn maximum jobs)

Reproducible: Always
Steps to Reproduce:
1.set MAKEOPTS="-j"
2.emerge package
3.fails
Actual Results:  
see above

Expected Results:  
emerge
Comment 1 SpanKY gentoo-dev 2003-11-19 11:20:20 UTC
a better way to filter out the job flag (than using the sed script you have now) might be this:
MAKEOPTS=" ${MAKEOPTS} "
MAKEOPTS="${MAKEOPTS/ -j? /}"
MAKEOPTS="${MAKEOPTS/ -j /}"
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-01-12 22:31:11 UTC
How exactly does the build fail? If it's due to memory constraints, then this bug is invalid. If it fails when x in "make -jx" is over a certain number then that should be filtered out. Unfortunately I can't test either as I don't have that much RAM..
Comment 3 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-17 21:46:39 UTC
Haven't been able to replicate this, asking for a testrequest or I will just mark this bug as cant fix ;p