The configure script of net-libs/nodejs-0.12.6 contains the following Python code proc = subprocess.Popen(shlex.split(CC) + ['-dumpversion'], stdout=subprocess.PIPE) version = tuple(map(int, proc.communicate()[0].split('.'))) This fails if the version string contains non-digits like (here) 5.2.0-alpha20150630 A possible fix is to replace the computation of the version tuple by version = proc.communicate()[0].split('.') version[2]= version[2].split('-')[0] version = tuple(map(int, version))
Can you attach the full build.log and config.log too.
Thanks. emerge --info would be great. I'll have a look at fixing this upstream once I have more info.