FS#17692 - [mrtg] complaining about Exporter.pm

Attached to Project: Arch Linux
Opened by Mark (voidzero) - Sunday, 03 January 2010, 09:47 GMT
Last edited by Giovanni Scafora (giovanni) - Thursday, 30 September 2010, 09:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
mrtg 2.16.2-2 gives the following warnings:

% env LANG=C /usr/bin/mrtg /home/mrtg/cfg/mrtg.cfg --logging /var/log/mrtg.log
Constant subroutine SNMP_Session::AF_INET6 redefined at /usr/share/perl5/core_perl/Exporter.pm line 67.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::AF_INET6 () vs none at /usr/share/perl5/core_perl/Exporter.pm line 67.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Constant subroutine SNMP_Session::PF_INET6 redefined at /usr/share/perl5/core_perl/Exporter.pm line 67.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::PF_INET6 () vs none at /usr/share/perl5/core_perl/Exporter.pm line 67.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Constant subroutine SNMPv1_Session::AF_INET6 redefined at /usr/share/perl5/core_perl/Exporter.pm line 67.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Prototype mismatch: sub SNMPv1_Session::AF_INET6 () vs none at /usr/share/perl5/core_perl/Exporter.pm line 67.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Constant subroutine SNMPv1_Session::PF_INET6 redefined at /usr/share/perl5/core_perl/Exporter.pm line 67.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Prototype mismatch: sub SNMPv1_Session::PF_INET6 () vs none at /usr/share/perl5/core_perl/Exporter.pm line 67.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604

I don't know exactly what this means, but I found a bugreport on the Mandriva bugtracker:
https://qa.mandriva.com/show_bug.cgi?id=55027

And on Nabble there is a fix for openbsd.
http://old.nabble.com/Net%3A%3ASNMP%2C-SNMP_Session%3A%3AAF_INET6-redefined-td26771548.html#a26771548



This task depends upon

Closed by  Giovanni Scafora (giovanni)
Thursday, 30 September 2010, 09:23 GMT
Reason for closing:  Not a bug
Comment by Mark (voidzero) - Wednesday, 21 April 2010, 19:26 GMT
If it's not a bug then how can it be fixed?

Loading...