Description of problem: The version bump from 0.8 to 1.055 causes the following warning to be issued on el6: Use of uninitialized value $LWP::Protocol::https::VERSION in numeric ge (>=) at /usr/share/perl5/vendor_perl/Net/SSLGlue/LWP.pm line 14. because VERSION is not defined in the 5.833 version of LWP::Protocol::https.pm that ships with perl-libwww-perl on el6. Version-Release number of selected component (if applicable): 1.055-3.el6 How reproducible: 100% Steps to Reproduce: perl -e 'use Net::SSLGlue::LWP;' Actual results: Warning issued Expected results: No warnings issued Additional info: It looks like it would be a rather trivial patch to simply add a check whether VERSION is defined to the conditional. I've only looked at it briefly, but it looks as though functionality is not impacted.
Although it's not critical, I'll check and fix this warning soon. Thanks for the report.
$ cat perl-Net-SSLGlue-https-version.patch --- lib/Net/SSLGlue/LWP.pm 2015-04-28 12:23:10.000000000 +0600 +++ lib/Net/SSLGlue/LWP.pm 2016-03-31 23:46:12.947143916 +0600 @@ -11,7 +11,8 @@ my $use_existent; BEGIN { require LWP::Protocol::https; - $use_existent = $LWP::Protocol::https::VERSION >= 6.06 + $use_existent = defined($LWP::Protocol::https::VERSION) + && $LWP::Protocol::https::VERSION >= 6.06 && $LWP::UserAgent::VERSION >= 6.06; if ($use_existent) { my $oc = $Net::HTTPS::SSL_SOCKET_CLASS ||
perl-Net-SSLGlue-1.055-4.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-d6ea31e69d
perl-Net-SSLGlue-1.055-4.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-d6ea31e69d
Just confirming that your patch does indeed silence the warnings. Thanks for the quick resolution.
perl-Net-SSLGlue-1.057-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-245d3bd7d6
perl-Net-SSLGlue-1.057-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-015f19528b
*** This bug has been marked as a duplicate of bug 1324639 ***
perl-Net-SSLGlue-1.057-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-245d3bd7d6
perl-Net-SSLGlue-1.057-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-015f19528b
perl-Net-SSLGlue-1.057-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
perl-Net-SSLGlue-1.057-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.