"What’s New In Python 3.5" document https://docs.python.org/3.5/whatsnew/3.5.html#distutils says: "distutils Both the build and build_ext commands now accept a -j option to enable parallel building of extension modules." However ebuilds of sci-libs/scipy have this broken logic: python_compile() { ${EPYTHON} tools/cythonize.py || die distutils-r1_python_compile \ $(usex python_targets_python3_5 "" "-j $(makeopts_jobs)") \ ${SCIPY_FCONFIG} } When python_targets_python3_5 is enabled, "-j $(makeopts_jobs)" is not passed for any version of Python. When python_targets_python3_5 is disabled, "-j $(makeopts_jobs)" is passed for all versions of Python, which might include Python 2.7 or 3.4 whose Distutils does not support -j option. The correct behavior would be to check, inside python_compile() function, if version of Python to be used during current invocation of python_compile() is >=3.5.
see also https://bugs.gentoo.org/573148
*** This bug has been marked as a duplicate of bug 614464 ***