diff options
author | Sam James <sam@gentoo.org> | 2023-07-28 09:20:02 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-28 09:20:03 +0100 |
commit | 86035d3667a85f92aa5e6596fdd8cf5815e4b47b (patch) | |
tree | 89355210f92e0cddf13004d8fa400e26d58ad7b7 /dev-python/libvirt-python | |
parent | media-sound/flac123: Stabilize 2.1.0 ppc64, #911377 (diff) | |
download | gentoo-86035d3667a85f92aa5e6596fdd8cf5815e4b47b.tar.gz gentoo-86035d3667a85f92aa5e6596fdd8cf5815e4b47b.tar.bz2 gentoo-86035d3667a85f92aa5e6596fdd8cf5815e4b47b.zip |
dev-python/libvirt-python: set -j1 to avoid setuptools breakage
May ICE when building w/ GCC LTO or even be miscompiled (even w/o LTO).
Bug: https://bugs.gentoo.org/856835
Closes: https://bugs.gentoo.org/907718
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/libvirt-python')
4 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild b/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild index fe14e6470ebc..4599a8486639 100644 --- a/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild @@ -48,6 +48,11 @@ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc distutils_enable_tests pytest +python_compile() { + # setuptools is broken for C extensions, bug #907718 + distutils-r1_python_compile -j1 +} + python_install_all() { if use examples; then dodoc -r examples diff --git a/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild index 06d6ac3e59a1..4dc14f64cd44 100644 --- a/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9.4.0.ebuild @@ -48,6 +48,11 @@ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc distutils_enable_tests pytest +python_compile() { + # setuptools is broken for C extensions, bug #907718 + distutils-r1_python_compile -j1 +} + python_install_all() { if use examples; then dodoc -r examples diff --git a/dev-python/libvirt-python/libvirt-python-9.5.0.ebuild b/dev-python/libvirt-python/libvirt-python-9.5.0.ebuild index 05f6d3d4098b..662ee97a63ae 100644 --- a/dev-python/libvirt-python/libvirt-python-9.5.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9.5.0.ebuild @@ -48,6 +48,11 @@ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc distutils_enable_tests pytest +python_compile() { + # setuptools is broken for C extensions, bug #907718 + distutils-r1_python_compile -j1 +} + python_install_all() { if use examples; then dodoc -r examples diff --git a/dev-python/libvirt-python/libvirt-python-9999.ebuild b/dev-python/libvirt-python/libvirt-python-9999.ebuild index 3c2e065275c8..fbbffef66a1e 100644 --- a/dev-python/libvirt-python/libvirt-python-9999.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9999.ebuild @@ -48,6 +48,11 @@ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc distutils_enable_tests pytest +python_compile() { + # setuptools is broken for C extensions, bug #907718 + distutils-r1_python_compile -j1 +} + python_install_all() { if use examples; then dodoc -r examples |