[Pkg-freeipa-devel] Bug#833000: python-kdcproxy: FTBFS: TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'

Chris West (Faux) solo-debianbugs at goeswhere.com
Sat Jul 30 17:12:24 UTC 2016


Source: python-kdcproxy
Version: 0.3.2-3
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build without networking (policy 4.9), and has an exciting
secondary failure.



Using base prefix '/usr'
New python executable in /root/python-kdcproxy-0.3.2/.tox/py35/bin/python3.5
Also creating executable in /root/python-kdcproxy-0.3.2/.tox/py35/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /root/python-kdcprox...x/py35/bin/python3.5 - setuptools pkg_resources pip wheel:
  Collecting setuptools
Exception:
Traceback (most recent call last):
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/connection.py", line 142, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 67, in create_connection
    for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
  File "/usr/lib/python3.5/socket.py", line 732, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 578, in urlopen
    chunked=chunked)
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 351, in _make_request
    self._validate_conn(conn)
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 816, in _validate_conn
    conn.connect()
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/connection.py", line 254, in connect
    conn = self._new_conn()
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/connection.py", line 151, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f3d7802b7b8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

...
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/requests-2.10.0-py2.py3-none-any.whl/requests/adapters.py", line 403, in send
    timeout=timeout
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 623, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/root/python-kdcproxy-0.3.2/.tox/py35/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 236, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
----------------------------------------

...
___________________________________ summary ____________________________________
ERROR:   py27: InvocationError: /usr/bin/python3 -m virtualenv --system-site-packages --python /usr/bin/python2.7 py27 (see /root/python-kdcproxy-0.3.2/.tox/py27/log/py27-0.log)
ERROR:   py35: InvocationError: /usr/bin/python3 -m virtualenv --system-site-packages --python /usr/bin/python3.5 py35 (see /root/python-kdcproxy-0.3.2/.tox/py35/log/py35-0.log)
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: Leaving directory '/root/python-kdcproxy-0.3.2'
make[1]: *** [override_dh_auto_test] Error 1
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Full build log:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-kdcproxy.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the Pkg-freeipa-devel mailing list