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

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



Control: reassign -1 src:python-gevent
Version: 1.4.0-1.2

Hi all,

On  Mi 25 Nov 2020 21:05:12 CET, Lucas Nussbaum wrote:

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.


I just looked into this issue and found that the problem is in python3-gevent.

I have come up with a patch and will do an NMU upload (with 5-days delay) to fix this.

@python-gevent maintainer: Please let me know, if I shall cancel the upload (we are in NMU hell anyway already, so maybe it is ok...).

Greets,
Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgpffcmXdGCmH.pgp
Description: Digitale PGP-Signatur


Reply to: