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

Bug 328987

Summary: sys-devel/icecream: compile jobs don't get distributed anymore after upgrading to glibc-2.11.2
Product: Gentoo Linux Reporter: Thomas Elste <info>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Elste 2010-07-19 18:41:24 UTC
After upgrading to glibc-2.11.2 the distribution of compile jobs in a cluster of machines using icecream doesn't work anymore. All jobs are compiled on the local machine only.

Reproducible: Always

Steps to Reproduce:
1. Setup icecream (f.e. http://dev.gentoo.org/~rane/icecream.xml)
2. If not already done, upgrade to latest stable glibc
2. Try to compile something using icecream (f.e. kernel: PATH=/usr/lib/icecc/bin:$PATH make -j20 all

Actual Results:  
Watch as everything gets compiled on the local machine only and no speed up is achieved.

Expected Results:  
Compile jobs are distributed to all other (compatible) machines participating in the icecream cluster.

After some searching around I think I was able to figure out what's broken. The reason for icecream to stop working seems to be the last glibc update (sys-libs/glibc-2.11.2 on my machine). At some point in generating the icecream native environment tarball the icecream client calls "icecc --build-native" which calls /usr/lib/icecc/icecc-create-env which calls ldconfig which fails silently. Stracing the responsible ldconfig call revealed that it couldn't access some auxiliary cache file in /var/cache/ldconfig.

A quick workaround is, to add the path var/cache/ldconfig to the environment, which is created by the script. But there is probably a better solution.
For example ldconfig has an --ignore-aux-cache switch, which changes .... nothing in my case. Ldconfig seems to be ignoring it completely.
Other distributions have a patch included, to ignore ldconfig failures. I've tried this, too. But then I get compile errors from remote machines about missing libraries.
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2010-07-19 18:46:38 UTC

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