[Pkg-haskell-maintainers] Bug#720714: will no longer work once rebuilt with linux-libc-dev 3.10.5
Joey Hess
joeyh at debian.org
Sat Aug 24 18:13:40 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20130824/cf02e33b/attachment.sig>
More information about the Pkg-haskell-maintainers
mailing list