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

Bug 54200

Summary: mod_php-4.3.6-r2 fails compile for parallel make
Product: Gentoo Linux Reporter: Rick Warner <rick>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 1.4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rick Warner 2004-06-17 06:49:48 UTC
Hello,
	I kept gettings failures building mod_php-4.3.6-r2.  My setup used distcc and a MAKEOPTS of -j9 (nothing like an office full of distcc enabled gentoo boxes).  I got errors on dba.c, line 111, about IS_AVRAY being undefined.  The errors continued when I tried emerging with FEATURES="-distcc".  However, when I eliminated the MAKEOPTS, it built just fine.

Reproducible: Always
Steps to Reproduce:
1.Have a high -j# for MAKEOPTS, possibly with distcc in use as well
2.emerge mod_php-4.3.6-r2
3.

Actual Results:  
emerge failed with compile error on dba.c, line 111 about undefined reference 
to IS_AVRAY. 

Expected Results:  
Ebuild would work.  If parallel builds are not supported by the package, the 
options for it should be filtered out. 

I doubt this is needed, but I can provide if necessary.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-17 18:39:23 UTC
what's your 'emerge info' output?
i can't reproduce this with MAKEOPTS=-j20 on an 8-way P4 Xeon system.

it takes a real-world time 1m31s to compile mod_php on it ;-).
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-27 16:45:22 UTC
no response from user.