Your message dated Sun, 19 May 2013 16:03:49 +0000
with message-id <[email protected]>
and subject line Bug#628804: fixed in libsnmp-session-perl 1.13-1.1
has caused the Debian Bug report #628804,
regarding libsnmp-session-perl: Warnings from SNMP_Session.pm
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
628804: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628804
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libnet-snmp-perl
Version: 6.0.1-1
Severity: normal
Tags: patch

After each mrtg run I get the following warnings from cron by mail:

Constant subroutine SNMP_Session::AF_INET6 redefined at 
/usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/share/perl5/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::AF_INET6 () vs none at 
/usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/share/perl5/SNMP_Session.pm line 149
Constant subroutine SNMP_Session::PF_INET6 redefined at 
/usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/share/perl5/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::PF_INET6 () vs none at 
/usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/share/perl5/SNMP_Session.pm line 149
Constant subroutine SNMPv1_Session::AF_INET6 redefined at 
/usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/share/perl5/SNMP_Session.pm line 608
Prototype mismatch: sub SNMPv1_Session::AF_INET6 () vs none at 
/usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/share/perl5/SNMP_Session.pm line 608
Constant subroutine SNMPv1_Session::PF_INET6 redefined at 
/usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/share/perl5/SNMP_Session.pm line 608
Prototype mismatch: sub SNMPv1_Session::PF_INET6 () vs none at 
/usr/share/perl/5.12/Exporter.pm line 64.
 at /usr/share/perl5/SNMP_Session.pm line 608

The problem is also reported at
https://bugs.gentoo.org/321701
which leads to
http://oss.oetiker.ch/mrtg-trac/ticket/45
(but not in CPAN RT, AFAICS).

The patch from the mrtg trac seems to work fine; attached as a proper patch.


Cheers,
gregor
        

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (101, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libnet-snmp-perl depends on:
ii  perl                          5.12.3-7   Larry Wall's Practical Extraction 

libnet-snmp-perl recommends no packages.

Versions of packages libnet-snmp-perl suggests:
ii  libcrypt-des-perl            2.05-2+b2   Perl DES encryption module
ii  libdigest-hmac-perl          1.02+dfsg-1 module for creating standard messa
ii  libdigest-sha1-perl          2.13-1+b1   NIST SHA-1 message digest algorith
ii  libio-socket-inet6-perl      2.65-1.1    Object interface for AF_INET6 doma

-- no debconf information
--- SNMP_Session.pm.orig	2011-06-01 15:48:06.000000000 +0200
+++ SNMP_Session.pm	2011-06-01 15:56:19.000000000 +0200
@@ -146,7 +146,7 @@
 
     if (eval {local $SIG{__DIE__};require Socket6;} &&
        eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) {
-	import Socket6;
+	Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo));
 	$ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1")));
 	$SNMP_Session::ipv6available = 1;
     }
@@ -605,7 +605,7 @@
 BEGIN {
     if($SNMP_Session::ipv6available) {
 	import IO::Socket::INET6;
-	import Socket6;
+	Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo));
     }
 }
 

--- End Message ---
--- Begin Message ---
Source: libsnmp-session-perl
Source-Version: 1.13-1.1

We believe that the bug you reported is fixed in the latest version of
libsnmp-session-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated libsnmp-session-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 18 May 2013 13:06:58 +0200
Source: libsnmp-session-perl
Binary: libsnmp-session-perl
Architecture: source all
Version: 1.13-1.1
Distribution: unstable
Urgency: low
Maintainer: Jochen Friedrich <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Description: 
 libsnmp-session-perl - Perl support for accessing SNMP-aware devices
Closes: 628804
Changes: 
 libsnmp-session-perl (1.13-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix "Warnings from SNMP_Session.pm":
     apply modified patch from upstream bug tracker at
     https://code.google.com/p/snmp-session/issues/detail?id=5
     (Closes: #628804)
     Thanks also to Geoff Crompton who came up with the same patch.
     This should also fix mrtg's #629331.
Checksums-Sha1: 
 01a9e8210e76d0a6a7157a6c18f8769fa1d58a8e 1791 libsnmp-session-perl_1.13-1.1.dsc
 ba1ad464ceaf0c2fa725ce15216db848c737e86a 4962 
libsnmp-session-perl_1.13-1.1.diff.gz
 4afd6052fff8fd81ddb53078ed71eb4b35e7c10c 74452 
libsnmp-session-perl_1.13-1.1_all.deb
Checksums-Sha256: 
 985c0e4f155e6163e5a3583827ac48d76b06eeb127a8ceb8d02af7ec8e13ddaf 1791 
libsnmp-session-perl_1.13-1.1.dsc
 5b95531c87f703a6978f686e145caa09d43906195a5912b976662e6ec60ba1f9 4962 
libsnmp-session-perl_1.13-1.1.diff.gz
 86bf264c2dae24ed8596e8d82021ff6e899e1ac7727c1caff8c25ef17033f2ff 74452 
libsnmp-session-perl_1.13-1.1_all.deb
Files: 
 312f6bc5167dcc431a31e35d715d85a2 1791 perl extra 
libsnmp-session-perl_1.13-1.1.dsc
 a753d1f6a7b061a5be37c278179ffbab 4962 perl extra 
libsnmp-session-perl_1.13-1.1.diff.gz
 ad21a9d50a8b48b167e0638916438335 74452 perl extra 
libsnmp-session-perl_1.13-1.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRl2DtAAoJELs6aAGGSaoGHT0P/31iPckZZONTW5LCYQJKP4ti
9rUbrpA9AdGoeR6G24ANCcQYHzPQJyl0eqU+zem6NWF4P4IdofMNIKByJTjO33fX
++N9o9XI0C7xcG45KHVYQ0wd+k50iNiXHov1SRARrAIa/OSogGCD1ib+2wHHaxJW
h/5WXWE2ph3HAieZ+pttom6K8pqCD/oQfL82PVmZtSbkELWbkny3ryRp3oUP+yYc
L/T3sKUecQzcbUJORjl6LAiXKr2PNWruXZGcp/gKkrfv2raPImMqk69fVCtSLN6Y
+2KUre+U5FPNBxVJ/v15GcJANoDdKrt25FnB30OcdLFCfRZQ+euSpZP1MTBmgVRE
29awQ5qTP/zcM7mK0gNoVs3CHloKXIOApcIeJOhKyxdVo+GCeLgXBk9t4DgXlkVG
IHyfzB4pdXdFbp3oEhWp9K3MhdL7yTI8PEzDFlZtYDMCP0ULs1pcII6riVLu2mLc
IeOWZd+1P+keZjt+0kRgpI/riMgZTZsINy7AyX5Ho+nwfqDqTpw9ovkNd6Ev+HzJ
IQ/Zr5nEyJuWULhJ2nZppbT2ETZZgqTvx/OjmChpWrQjZl7WuErOetDOgjoVoF+d
TWVazbcMqQDGoVHouzTzqgGIzhV1Mj2mFTeBVZFBfbaASPNq+azw+V7yoYse2k5/
fNI6Q/ebmkqitIhFzNgv
=6nmg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to