On Tue, 06 Oct 2015 12:33:29 +0200 Svante Signell <svante.sign...@gmail.com> wrote: > tags 799235 patch > usertag 799235 hurd > user debian-h...@lists.debian.org > thanks > > Source: zeromq3 > Version: 4.0.5+dfsg-3 > Severity: important > Justification: fails to build from source > > Hello, > > The attached patch adds support for zeromq3 on GNU/Hurd. Two tests > fails causing ssh to hang and crashes a translator in a hurd terminal: > test_pair_ipc and test_reqrep_ipc. Partial problems with these tests > are that option SO_ERROR is not yet supported for gsetsockopt() on > Hurd. > > Investigation is ongoing. This is reflected in tests/Makefile.am which > excludes these tests. > > Are these tests crucial for rsyslog to work correctly with czmq?
Hi, The problem is that SO_ERROR is used by ZMQ to check the status of an asynchronous socket connect() [1]. If that is not available, you would need to write a patch to implement an alternative method to check for errors, which would probably be a non-trivial task. Kind regards, Luca Boccassi [1] https://github.com/zeromq/libzmq/blob/master/src/tcp_connecter.cpp line 343 https://github.com/zeromq/libzmq/blob/master/src/socks_connecter.cpp line 395 https://github.com/zeromq/libzmq/blob/master/src/tipc_connecter.cpp line 246 https://github.com/zeromq/libzmq/blob/master/src/ipc_connecter.cpp line 254