commit:     91cc96f4ef5489dcf33724b5c3c615b59b7f5047
Author:     Alexei Colin <acolin <AT> isi <DOT> edu>
AuthorDate: Thu May 28 18:23:49 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri May 29 06:22:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=91cc96f4

bootstrap-prefix.sh: exclude pip from Python build #715974

Pip is not needed but it fails to build due to lack of pyexpat,
which generates a non-fatal error during boostrap of stage1:

    ModuleNotFoundError: No module named 'pyexpat'
    make: *** [Makefile:1102: install] Error 1
    ??? Python failed to install *sigh* continuing anyway
    * Python bootstrapped

Closes: https://bugs.gentoo.org/715974
Signed-off-by: Alexei Colin <acolin <AT> isi.edu>
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index c50aaa9fd9..42f66eb9bb 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1076,6 +1076,7 @@ bootstrap_python() {
        PKG_CONFIG= \
        econf \
                --with-system-ffi \
+               --without-ensurepip \
                --disable-ipv6 \
                --disable-shared \
                --libdir="${ROOT}"/tmp/usr/lib \

Reply via email to