Package: src:fabric
Version: 1.13.1-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,sphinxdoc --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config 
running config
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric

[... snipped ...]

copying fabric/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric
copying fabric/colors.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric
copying fabric/job_queue.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric/contrib
copying fabric/contrib/django.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric/contrib
copying fabric/contrib/console.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric/contrib
copying fabric/contrib/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric/contrib
copying fabric/contrib/files.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric/contrib
copying fabric/contrib/project.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/fabric/contrib
   dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; 
python2.7 -m nose tests
.............................................................................................................................................................................................................................................................Traceback
 (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/Python26SocketServer.py", 
line 561, in process_request_thread
    self.finish_request(request, client_address)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/Python26SocketServer.py", 
line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/Python26SocketServer.py", 
line 631, in __init__
    self.handle()
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/server.py", line 
361, in handle
    if self.sudo_prompt and not self.sudo_password():
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/server.py", line 
426, in sudo_password
    self.channel.send(env.sudo_prompt)
  File "/usr/lib/python2.7/dist-packages/paramiko/channel.py", line 715, in send
    return self._send(s, m)
  File "/usr/lib/python2.7/dist-packages/paramiko/channel.py", line 1075, in 
_send
    raise socket.error('Socket is closed')
error: Socket is closed
..Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/Python26SocketServer.py", 
line 561, in process_request_thread
    self.finish_request(request, client_address)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/Python26SocketServer.py", 
line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/Python26SocketServer.py", 
line 631, in __init__
    self.handle()
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/server.py", line 
361, in handle
    if self.sudo_prompt and not self.sudo_password():
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/server.py", line 
426, in sudo_password
    self.channel.send(env.sudo_prompt)
  File "/usr/lib/python2.7/dist-packages/paramiko/channel.py", line 715, in send
    return self._send(s, m)
  File "/usr/lib/python2.7/dist-packages/paramiko/channel.py", line 1075, in 
_send
    raise socket.error('Socket is closed')
error: Socket is closed
.....................................................
E: Build killed with signal TERM after 60 minutes of inactivity
--------------------------------------------------------------------------------

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

https://people.debian.org/~sanvila/build-logs/fabric/

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the page for this package.

The bug should be reproducible with sbuild on a single CPU virtual machine.
It always fail for me (I tried 10 times in different autobuilders), and
it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/fabric.html

Thanks.

Reply via email to