Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63322 - [pyenv] error installing python 3.7.3

Attached to Project: Community Packages
Opened by Diego Abad (perilla) - Tuesday, 30 July 2019, 15:42 GMT
Last edited by Antonio Rojas (arojas) - Monday, 14 October 2019, 09:15 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

pyenv error when try to install python 3.7.3

seems to be related with openssl version,
because socket module fail to compile

Additional info:
* package version(s): pyenv 1.2.13
* config and/or log files etc.
* link to upstream bug report, if any

Important section of log:
building '_socket' extension
gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wno-cast-function-type -Werror=implicit-function-declaration -I./Include -I. -I/usr/local/include -I/tmp/python-build.20190730102248.31948/Python-3.7.3/Include -I/tmp/python-build.20190730102248.31948/Python-3.7.3 -c /tmp/python-build.20190730102248.31948/Python-3.7.3/Modules/socketmodule.c -o build/temp.linux-x86_64-3.7/tmp/python-build.20190730102248.31948/Python-3.7.3/Modules/socketmodule.o

during GIMPLE pass: wrestrict
En la función ‘sock_bind’:
en pp_format, en pretty-print.c:1393
2919 | sock_bind(PySocketSockObject *s, PyObject *addro)
| ^~~~~~~~~
Por favor, envíe un informe completo de errores,
con el código preprocesado si es apropiado.
Véase <https://bugs.archlinux.org/> para instrucciones.


Steps to reproduce:
sudo pacman -S pyenv

pyenv install 3.7.3


This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 14 October 2019, 09:15 GMT
Reason for closing:  Works for me
Comment by Diego Abad (perilla) - Tuesday, 30 July 2019, 15:43 GMT
Log file
Comment by cesar Agusto (cesar_augusto) - Monday, 19 August 2019, 15:14 GMT
hi folks, I present the same problem but with 3.6.8 version.

Last 10 log lines:
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/tmp/python-build.20190819092803.5210/Python-3.6.9/Lib/ensurepip/__init__.py", line 27, in _run_pip
import pip._internal
File "/tmp/tmpul_iarnv/pip-18.1-py2.py3-none-any.whl/pip/_internal/__init__.py", line 19, in <module>
File "/tmp/tmpul_iarnv/pip-18.1-py2.py3-none-any.whl/pip/_vendor/urllib3/__init__.py", line 8, in <module>
File "/tmp/tmpul_iarnv/pip-18.1-py2.py3-none-any.whl/pip/_vendor/urllib3/connectionpool.py", line 7, in <module>
File "/tmp/python-build.20190819092803.5210/Python-3.6.9/Lib/socket.py", line 49, in <module>
import _socket
ModuleNotFoundError: No module named '_socket'
Comment by David Runge (dvzrv) - Sunday, 08 September 2019, 21:39 GMT
I can't reproduce this. I just successfully built 3.7.3
Comment by Diego Abad (perilla) - Thursday, 19 September 2019, 13:19 GMT
Same bug is reported on pyenv github page

https://github.com/pyenv/pyenv/issues/1384
Comment by Diego Abad (perilla) - Monday, 07 October 2019, 10:14 GMT
It works again

Loading...