Stop enabling parallel job support in setuptools. It is full of bugs, upstream does not address bug reports and it is not really well tested anyway. On top of that, bugs often cause miscompilations rather than explicit failures.
Bug: https://bugs.gentoo.org/907718 Bug: https://bugs.gentoo.org/967476 Bug: https://github.com/pypa/setuptools/issues/3942 Signed-off-by: Michał Górny <[email protected]> --- eclass/distutils-r1.eclass | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 5980cc47e5f74..413b74b010dc9 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1288,14 +1288,15 @@ distutils-r1_python_compile() { # we are appending a dynamic component so that # distutils-r1_python_compile can be called multiple # times and don't end up combining resulting packages + # + # we are no longer adding "parallel" since it is causing too many + # issues, including silent miscompilations, and upstream doesn't + # address any bugs mkdir -p "${BUILD_DIR}" || die local -x DIST_EXTRA_CONFIG="${BUILD_DIR}/extra-setup.cfg" cat > "${DIST_EXTRA_CONFIG}" <<-EOF || die [build] build_base = ${BUILD_DIR}/build${#DISTUTILS_WHEELS[@]} - - [build_ext] - parallel = $(makeopts_jobs "${MAKEOPTS} ${*}") EOF if [[ ${DISTUTILS_ALLOW_WHEEL_REUSE} ]]; then
