[Python-modules-team] Bug#841421: python-opcua: FTBFS (build hangs)
Santiago Vila
sanvila at debian.org
Thu Oct 20 12:10:58 UTC 2016
Package: src:python-opcua
Version: 0.10.17-3
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 --buildsystem=pybuild --with python2,python3
dh_testdir -i -O--buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config
running config
I: pybuild base:184: python3.5 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
[... snipped ...]
File "/<<PKGBUILDDIR>>/tests/tests_history.py", line 29, in start_server_and_client
cls.srv.start()
File "./opcua/server/server.py", line 274, in start
self.bserver.start()
File "./opcua/server/binary_server_asyncio.py", line 97, in start
self._server = self.loop.run_coro_and_wait(coro)
File "./opcua/common/utils.py", line 189, in run_coro_and_wait
return task.result()
File "/usr/lib/python2.7/dist-packages/trollius/futures.py", line 285, in result
compat.reraise(type(self._exception), self._exception, exc_tb)
File "/usr/lib/python2.7/dist-packages/trollius/tasks.py", line 259, in _step
result = coro.send(value)
File "/usr/lib/python2.7/dist-packages/trollius/base_events.py", line 861, in create_server
% (sa, err.strerror.lower()))
error: [Errno 98] error while attempting to bind on address ('127.0.0.1', 48530): address already in use
======================================================================
ERROR: setUpClass (tests_server.TestServer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/tests_server.py", line 34, in setUpClass
self.srv.start()
File "./opcua/server/server.py", line 274, in start
self.bserver.start()
File "./opcua/server/binary_server_asyncio.py", line 97, in start
self._server = self.loop.run_coro_and_wait(coro)
File "./opcua/common/utils.py", line 189, in run_coro_and_wait
return task.result()
File "/usr/lib/python2.7/dist-packages/trollius/futures.py", line 285, in result
compat.reraise(type(self._exception), self._exception, exc_tb)
File "/usr/lib/python2.7/dist-packages/trollius/tasks.py", line 259, in _step
result = coro.send(value)
File "/usr/lib/python2.7/dist-packages/trollius/base_events.py", line 874, in create_server
sock.listen(backlog)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use
----------------------------------------------------------------------
Ran 59 tests in 13.396s
FAILED (errors=5, skipped=8)
cryptography is not installed, use of crypto disabled
cryptography is not installed, use of crypto disabled
WARNING: CRYPTO NOT AVAILABLE, CRYPTO TESTS DISABLED!!
make: *** wait: No child processes. Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
make[1]: *** wait: No child processes. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes. Stop.
E: Build killed with signal TERM after 60 minutes of inactivity
--------------------------------------------------------------------------------
The relevant part of the build log is included above.
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.
If you could not reproduce this using sbuild on a single CPU virtual machine (as I did),
please do not downgrade or mark as unreproducible, I would then consider giving you access
to a virtual machine on which I can reproduce it so that you can as well.
(In such case, please contact me off-list for details).
Thanks.
More information about the Python-modules-team
mailing list