commit:     8e8d98d11d8b67a0051647bcf41fc942b0ed1686
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  3 12:47:14 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar  3 12:54:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8d98d1

dev-lang/python: Disable vfork() to workaround sandbox bug

Bug: https://bugs.gentoo.org/774054
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{python-3.10.0_alpha6.ebuild => python-3.10.0_alpha6-r1.ebuild}  | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-lang/python/python-3.10.0_alpha6.ebuild 
b/dev-lang/python/python-3.10.0_alpha6-r1.ebuild
similarity index 98%
rename from dev-lang/python/python-3.10.0_alpha6.ebuild
rename to dev-lang/python/python-3.10.0_alpha6-r1.ebuild
index d059b8bfc60..3a12d55912e 100644
--- a/dev-lang/python/python-3.10.0_alpha6.ebuild
+++ b/dev-lang/python/python-3.10.0_alpha6-r1.ebuild
@@ -168,6 +168,11 @@ src_configure() {
                # a chance for users rebuilding python before glibc
                ac_cv_header_stropts_h=no
 
+               # disable use of vfork() for subprocess spawning as it is broken
+               # inside sandbox
+               # https://bugs.gentoo.org/774054
+               ac_cv_func_vfork=no
+
                --enable-shared
                --without-static-libpython
                $(use_enable ipv6)

Reply via email to