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

Bug 564746

Summary: dev-java/icedtea-3.0.0_pre06 dying due to distcc
Product: Gentoo Linux Reporter: Alex Ford <gordion42>
Component: [OLD] JavaAssignee: Andrew John Hughes <gnu_andrew>
Status: RESOLVED FIXED    
Severity: normal CC: java
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-java/icedtea-3.0.0_pre06 failed build.log

Description Alex Ford 2015-11-03 03:00:10 UTC
Attempting to emerge icedtea-3.0.0_pre06 (the latest in the 'java' overlay at the time of writing) will result in the ./configure script complaining that distcc "does not seem to be the recommended GCC compiler," followed by an unsuccessful emerge. See build.log for details.

Reproducible: Always

Steps to Reproduce:
1. Set up sys-devel/distcc
2. Activate the "java" Overlay using layman or another tool
3. Enable the unstable flag for your arch
4. Attempt to emerge dev-java/icedtea-3.0.0_pre06
Actual Results:  
./configure exited unsuccessfully due to distcc not being gcc

Expected Results:  
I expected ./configure to ignore the "improper" compiler and continue with the "generate a test C program" to ensure compliance.
Comment 1 Alex Ford 2015-11-03 03:00:31 UTC
Created attachment 415970 [details]
dev-java/icedtea-3.0.0_pre06 failed build.log
Comment 2 James Le Cuirot gentoo-dev 2015-11-03 10:47:03 UTC
While I think that icedtea should allow this, especially given that it already has special treatment for ccache, I don't think it will make much difference to the build time. Most of the time is spent running javac, which distcc doesn't handle. Even if it could, if you have jbootstrap enabled (which you should) then it will use the freshly built javac for the latter half of the build anyway. This is much like gcc, which bootstraps first and then rebuilds from that result.
Comment 3 Andrew John Hughes 2015-12-08 03:08:14 UTC
This is fixed in the upcoming pre07.