app-admin/keepassx-0.3.1 fails to emerge when FEATURES has "distcc" I tested on both x86 and amd64. When FEATURES="-distcc" was used, everything worked correctly. Reproducible: Always Steps to Reproduce: 1. emerge app-admin/keepassx-0.3.1 2. 3. Actual Results: * Processing qmake keepass.pro ... [ ok ] cc1: error: ../build/keepassx: No such file or directory cc1: error: ../build/keepassx: No such file or directory cc1: error: ../build/keepassx: No such file or directory distcc[8530] ERROR: compile crypto/aes_modes.c on two.local failed make[1]: *** [../build/aes_modes.o] Error 1 make[1]: *** Waiting for unfinished jobs.... distcc[8528] ERROR: compile crypto/aescrypt.c on one.local failed make[1]: *** [../build/aescrypt.o] Error 1 distcc[8534] ERROR: compile crypto/aestab.c on four.local failed make[1]: *** [../build/aestab.o] Error 1 make: *** [sub-src-make_default] Error 2 * * ERROR: app-admin/keepassx-0.3.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2585: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-admin/keepassx-0.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/keepassx-0.3.1/temp/environment'. *
Created attachment 163964 [details] build.log for keepassx-0.3.3 with FEATURES="distcc" MAKEOPTS="-j1" This was requested in bug 235742 by a developer
I've added this temporary workaround to the ebuild: --- keepassx-0.3.3.ebuild 14 Aug 2008 21:36:28 -0000 1.1 +++ keepassx-0.3.3.ebuild 29 Aug 2008 20:27:43 -0000 @@ -29,6 +29,7 @@ cd "${S}" use debug && myconf="DEBUG=1" eqmake4 ${PN}.pro PREFIX="${D}/usr" ${myconf} || die "eqmake4 failed" + PATH=${PATH#/usr/lib/distcc/bin:} # workaround for bug #214327 emake || die "emake failed" }
I am confirming that the workaround in comment 2 works for me.
The addition of the pch USE flag in 0.4.0_beta1 makes the distcc workaround unnecessary. I tested almost identical code with 0.3.4 and it worked.
Closing this bug as a duplicate of bug 294490. It is technically not a dupe but bug 294490 will fix this one based on comment #4 Thanks. *** This bug has been marked as a duplicate of bug 294490 ***