Source: haskell-network-multicast
Version: 0.0.7-2
Severity: serious

After rebuilding this package from source, it fails to work:

Prelude Network.Multicast> multicastReceiver "224.0.0.99" 9999
*** Exception: user error (Network.Socket.setSocketOption: socket option
ReusePort unsupported on this system)

This is apparently because linux-libc-dev has started defining
SO_REUSEPORT, which makes the code go off and try to do something
that the kernel or libc doesn't actually support.

I have filed this bug upstream too:
https://github.com/audreyt/network-multicast/issues/5

I have tested this patch:

- #ifdef SO_REUSEPORT
+ #if defined(SO_REUSEPORT) && ! defined (__linux__)

I would have just uploaded the fix myself, but it tends to take me 1
hour to do anything with packages that use darcs, and I do not currently
have a spare hour.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.10-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to