Package: libnet-snmp-perl
Version: 5.2.0-1
Severity: important
Socket6.pm 0.20 introduced the following change
* Socket6.pm: Make the AF_INET6 and PF_INET6 exports optional.
They are exported from Socket on 5.10.0, and it contlicts with
Socket6.
This leads to the following errors when using Net::SNMP::Transport::UDP6 or
Net::SNMP::Transport::TCP6
[EMAIL PROTECTED]:~$ perl -e 'use Net::SNMP::Transport::TCP6'
"PF_INET6" is not exported by the Socket6 module
Can't continue after import errors at
/usr/share/perl5/Net/SNMP/Transport/TCP6.pm line 24
BEGIN failed--compilation aborted at
//usr/share/perl5/Net/SNMP/Transport/TCP6.pm line 27.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
The fix is pretty easy, but I'm not sure how to make it version-dependant:
In /usr/share/perl5/Net/SNMP/Transport/TCP6.pm and
/usr/share/perl5/Net/SNMP/Transport/UDP6.pm
* remove PF_INET6 from the list "use Socket6 0.19 qw( ... )"
* add "use Socket qw( PF_INET6 );"
There might be another better fix (it says "optional" in the ChangeLog after
all).
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.14
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libnet-snmp-perl depends on:
ii perl 5.10.0-11 Larry Wall's Practical Extraction
libnet-snmp-perl recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]