Package: libsocket6-perl
Version: 0.20-1 
Severity: important

Using Net::SNMP with IPv6 I got the following error:

  ERROR: UDP/IPv6 support unavailable ("PF_INET6" is not exported by the 
Socket6 module
Can't continue after import errors at 
/usr/share/perl5/Net/SNMP/Transport/UDP6.pm line 24
BEGIN failed--compilation aborted at 
/usr/share/perl5/Net/SNMP/Transport/UDP6.pm line 27.
Compilation failed in require at (eval 9) line 3.
)

This is a known bug and already fixed in the upstream source Socket6-0.22:
2008-08-18  Hajimu UMEMOTO  <[EMAIL PROTECTED]>
        * Socket6.pm: Bump version number to 0.22.
        * Socket6.pm: Make AF_INET6 check actually work.


--- /usr/lib/perl5/Socket6.pm   2008-02-16 04:51:35.000000000 +0100
+++ Socket6.pm  2008-11-12 10:11:07.000000000 +0100
@@ -1 +1 @@
-# Copyright (C) 2000-2005 Hajimu UMEMOTO <[EMAIL PROTECTED]>.
+# Copyright (C) 2000-2008 Hajimu UMEMOTO <[EMAIL PROTECTED]>.
@@ -34 +34 @@
-# $Id: Socket6.pm,v 1.39 2008/02/16 03:51:35 ume Exp $
+# $Id: Socket6.pm,v 1.42 2008/08/17 18:25:07 ume Exp $
@@ -39 +39 @@
-$VERSION = "0.20";
+$VERSION = "0.22";
@@ -270,2 +270,2 @@
-push @EXPORT, qw(AF_INET6) unless defined Socket::AF_INET6;
-push @EXPORT, qw(PF_INET6) unless defined Socket::PF_INET6;
+push @EXPORT, qw(AF_INET6) unless defined eval {Socket::AF_INET6()};
+push @EXPORT, qw(PF_INET6) unless defined eval {Socket::PF_INET6()};




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to