Package: python-eventlet Version: 0.26.1-4 Severity: serious Tags: ftbfs Justification: fails to build from source
The package fails to build because of a failing test, which seeks the `/etc/resolv.conf` file to be present, which may not be the case always. The same build failure is also seen in the Reproducible Builds ``` 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 326, in eval_config_file execfile_(filename, namespace) File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 88, in execfile_ exec(code, _globals) File "/build/1st/python-eventlet-0.26.1/doc/conf.py", line 52, in <module> import eventlet File "/build/1st/python-eventlet-0.26.1/eventlet/__init__.py", line 10, in <module> from eventlet import convenience File "/build/1st/python-eventlet-0.26.1/eventlet/convenience.py", line 7, in <module> from eventlet.green import socket File "/build/1st/python-eventlet-0.26.1/eventlet/green/socket.py", line 21, in <module> from eventlet.support import greendns File "/build/1st/python-eventlet-0.26.1/eventlet/support/greendns.py", line 408, in <module> resolver = ResolverProxy(hosts_resolver=HostsResolver()) File "/build/1st/python-eventlet-0.26.1/eventlet/support/greendns.py", line 322, in __init__ self.clear() File "/build/1st/python-eventlet-0.26.1/eventlet/support/greendns.py", line 325, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) File "/usr/lib/python3/dist-packages/dns/resolver.py", line 695, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3/dist-packages/dns/resolver.py", line 781, in read_resolv_conf raise NoResolverConfiguration dns.resolver.NoResolverConfiguration: Resolver configuration could not be read or specified no nameservers. make[1]: *** [debian/rules:11: override_dh_sphinxdoc] Error 2 make[1]: Leaving directory '/build/1st/python-eventlet-0.26.1' make: *** [debian/rules:8: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem ``` -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (990, 'unstable'), (990, 'testing'), (500, 'stable-updates'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_USER Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python-eventlet depends on: ii netbase 6.2 pn python <none> pn python-enum34 <none> pn python-greenlet <none> python-eventlet recommends no packages. Versions of packages python-eventlet suggests: pn python-eventlet-doc <none>