A dependency in the make file for flex must be overlooked, parallelized builds via "-jX" and distcc are failing. Builds fine with 'MAKEOPTS="" emerge flex' My setup is extreme though, I am running distcc over 15 "volunteer" systems and a parallel make setting of "-j31" -- its a bit excessive since it seems very few compilations have enough independent compiles to fan out this far. Reproducible: Always Steps to Reproduce: 1. MAKEOPTS="-jX" emerge flex (set X large, probably >8 will do -- can't test it right now because system is busy compiling everything else) 2. Should see compile barf with "command not found" or something like that 3. MAKEOPTS="" emerge flex (this works fine) Actual Results: Looks like it tries to run one of the programs its building after compiling it, but there is a race condition with the distributed compile. Expected Results: Must be a missing dependency in the makefile -- simple bandaid would be to disable distcc builds in the ebuild (I'm new to gentoo, I don't know how that is done yet) Was merging flex as part of an 'emerge system' during an install -- problem is solely with parallelized compilation, works just fine if serialized. No other parallel problems with 'emerge system' though.
this is an issue for base-system, check /your/ ebuilds. a good technique is to force MAKEOPTS='-j1' and DISTCC_HOSTS='localhost'
this has been 'fixed' in portage