asdf-community / asdf-python

Python plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
661 stars 56 forks source link

Error install python 3.7.3 in Kubuntu 22.04 #151

Open myzxzrus opened 1 year ago

myzxzrus commented 1 year ago

When installing python 3.7.3, I get an error:

python-build 3.7.3 /home/user/.asdf/installs/python/3.7.3
Downloading Python-3.7.3.tar.xz...
-> https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz
Installing Python-3.7.3...

BUILD FAILED (Ubuntu 22.04 using python-build 2.3.12-16-gc8daaa39)

Inspect or clean up the working tree at /tmp/python-build.20230210211154.63840
Results logged to /tmp/python-build.20230210211154.63840.log

Last 10 log lines:
if test "xupgrade" != "xno"  ; then \
        case upgrade in \
                upgrade) ensurepip="--upgrade" ;; \
                install|*) ensurepip="" ;; \
        esac; \
        LD_LIBRARY_PATH=/tmp/python-build.20230210211154.63840/Python-3.7.3 ./python -E -m ensurepip \
                $ensurepip --root=/ ; \
fi
Segmentation fault (core dumped)
make: *** [Makefile:1130: install] Ошибка 139

when installing python 3.7.4 , everything is fine. asdf has been updated to a stable version.

OS:
Linux myzxzrus-home 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

SHELL:
GNU bash, версия 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
Лицензия GPLv3+: GNU GPL версии 3 или более поздней <http://gnu.org/licenses/gpl.html>

Это свободное программное обеспечение. Вы можете изменять и распространять его.
НИКАКАЯ ГАРАНТИЯ не предоставляется в пределах, допускаемых законом.

ASDF VERSION:
v0.11.1-27c8a10

ASDF ENVIRONMENT VARIABLES:
ASDF_DIR=/home/myzxzrus/.asdf

ASDF INSTALLED PLUGINS:
nodejs                       https://github.com/asdf-vm/asdf-nodejs.git master 65441d3
python                       https://github.com/danhper/asdf-python.git master 8505457