Julien Cristau <[email protected]> writes: > On Thu, Jan 31, 2013 at 10:18:41 +0100, Jan Wagner wrote:
>> nagios-snmp-plugins (1.1.1-8) unstable; urgency=low >> * Add 10_fix_net_snmp_version.dpatch >> - Fixing Net::SNMP version (Closes: #699413) > Why isn't that a bug in Net::SNMP? Yes, Net::SNMP is relying on UNIVERSAL::VERSION to convert v-strings to numbers, which is not happening in this case for some reason. I suspect Net::SNMP has been bitten by one of the changes in Perl v-string handling. There is code in Net::SNMP to try to work around this, but it only triggers with Perl 5.9 and earlier. I searched through perl*delta for a while, but I can't figure out what changed or exactly what's going on. (v-strings have always been rather weird.) Note that changing the comparison to lt is effectively the same as removing the comparison entirely if the Net::SNMP version always begins with v, since 4 is always going to be lt any string starting with v. But maybe the old version that this is checking against didn't use v in the version number. -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

