[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#975782: python-x2go: FTBFS: NameError: name 'AF_INET' is not defined



Source: python-x2go
Version: 0.6.1.3-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201125 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -b html -d build/doctrees  -a -E source build/html
> Running Sphinx v3.3.1
> <frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
> <frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
> <frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
> <frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
> <frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
> <frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
> <frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
> <frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
> 
> Configuration error:
> There is a programmable error in your configuration file:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/sphinx/config.py", line 319, in eval_config_file
>     execfile_(filename, namespace)
>   File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 89, in execfile_
>     exec(code, _globals)
>   File "/<<PKGBUILDDIR>>/docs/source/conf.py", line 22, in <module>
>     import x2go
>   File "/<<PKGBUILDDIR>>/x2go/__init__.py", line 42, in <module>
>     monkey.patch_all()
>   File "/usr/lib/python3/dist-packages/gevent/monkey.py", line 986, in patch_all
>     patch_ssl(_warnings=_warnings, _first_time=first_time)
>   File "/usr/lib/python3/dist-packages/gevent/monkey.py", line 178, in ignores
>     return func(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/gevent/monkey.py", line 756, in patch_ssl
>     gevent_mod, _ = _patch_module('ssl', _warnings=_warnings)
>   File "/usr/lib/python3/dist-packages/gevent/monkey.py", line 347, in _patch_module
>     gevent_module = getattr(__import__('gevent.' + name), name)
>   File "/usr/lib/python3/dist-packages/gevent/ssl.py", line 32, in <module>
>     from gevent import _ssl3 as _source # pragma: no cover
>   File "/usr/lib/python3/dist-packages/gevent/_ssl3.py", line 159, in <module>
>     class SSLSocket(socket):
>   File "/usr/lib/python3/dist-packages/gevent/_ssl3.py", line 173, in SSLSocket
>     family=AF_INET, type=SOCK_STREAM, proto=0, fileno=None,
> NameError: name 'AF_INET' is not defined
> 
> make[2]: *** [Makefile:53: html] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/11/25/python-x2go_0.6.1.3-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: