[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#769493: mod-gnutls: FTBFS on non-Linux arches



Package: mod-gnutls
Version: 0.6-1.2
Severity: important

Hi,

mod-gnutls 0.6 added support for a monkeysphere validation agent (MSVA)
which depends on Linux-specific feature SO_PEERCRED.

Whereas mod-gnutls previously built on kfreebsd it now fails with:

test-suite.log:
| MONKEYSPHERE_VALIDATION_AGENT_SOCKET=http://127.0.0.1:9933;
| export MONKEYSPHERE_VALIDATION_AGENT_SOCKET;
| TESTING: initial MSVA verification
| Your vendor has not defined Socket macro SO_PEERCRED, used at /usr/share/perl5/Crypt/Monkeysphere/MSVA.pm line 197
| 500 Server closed connection without sending any data back
| make: *** [all] Error 100

Crypt/Monkeysphere/MSVA.pm:
197     my $peercred = $sock->sockopt(SO_PEERCRED) or die "could not get SO_PEERCRED info";

Perhaps this test and/or this feature are easily disabled when
DEB_HOST_ARCH_OS!=linux?

Thanks.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: