[PKG-Openstack-devel] Bug#840035: websockify: FTBFS on non-Linux: TCP_KEEPCNT unusable

Aaron M. Ucko amu at alum.mit.edu
Fri Oct 7 19:41:15 UTC 2016


Source: websockify
Version: 0.8.0+dfsg1-3
Severity: important
Justification: fails to build from source (but built successfully in the past)

Builds of websockify for kFreeBSD and the Hurd have been failing;
kFreeBSD builds fail with

  ======================================================================
  ERROR: test_socket_set_keepalive_options (test_websocket.WebSocketServerTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/«BUILDDIR»/websockify-0.8.0+dfsg1/tests/test_websocket.py", line 325, in test_socket_set_keepalive_options
      tcp_keepintvl=keepintvl)
    File "/«BUILDDIR»/websockify-0.8.0+dfsg1/websockify/websocket.py", line 726, in socket
      sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPCNT,
  AttributeError: 'module' object has no attribute 'TCP_KEEPCNT'

and Hurd builds fail with

  ======================================================================
  ERROR: test_socket_set_keepalive_options (test_websocket.WebSocketServerTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<BUILDDIR>>/websockify-0.8.0+dfsg1/tests/test_websocket.py", line 325, in test_socket_set_keepalive_options
      tcp_keepintvl=keepintvl)
    File "/<<BUILDDIR>>/websockify-0.8.0+dfsg1/websockify/websocket.py", line 727, in socket
      tcp_keepcnt)
    File "/usr/lib/python2.7/socket.py", line 228, in meth
      return getattr(self._sock,name)(*args)
  error: [Errno 1073741866] Protocol not available

Could you please accommodate these architectures?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Openstack-devel mailing list