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/libvirt-python-9999.ebuild | |
| parent | f5c80d9a702ec6d9dff7759be585a7e6fdedcb66 (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/libvirt-python-9999.ebuild')
| -rw-r--r-- | dev-python/libvirt-python/libvirt-python-9999.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
