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.
Created attachment 239419 [details] strace log of the failing ldconfig call from in icecc-create-env
*** Bug 328987 has been marked as a duplicate of this bug. ***
*** Bug 328989 has been marked as a duplicate of this bug. ***
Created attachment 239423 [details, diff] Workaround, adding var/cache/ldconfig to icecream environment To try, copy to file dir and add epatch "${FILESDIR}/${PN}-ldconfig-auxcache.patch" to icecream ebuild.
I installed icecream-0.9.6 today, and it appears to be working again. Might as well close this bug since that release fixes this.
Thanks for headsup, closing since i removed all other versions. Please open new bugs if you find any issues with current icecream :)