Bug 1217428 - opensips-perl: UNIVERSAL->import is deprecated
Summary: opensips-perl: UNIVERSAL->import is deprecated
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: opensips
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/OpenSIPS/opensips/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-30 10:54 UTC by Jitka Plesnikova
Modified: 2016-02-27 12:46 UTC (History)
2 users (show)

Fixed In Version: opensips-1.11.6-2.fc24
Clone Of:
Environment:
Last Closed: 2016-02-27 12:46:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jitka Plesnikova 2015-04-30 10:54:48 UTC
Using of "use UNIVERSAL '...'" is deprecated and will be a fatal error after update to Perl 5.22 

Following files are affected and should be updated.
./opensips-1.10.3-tls/modules/perl/lib/perl/OpenSIPS/LDAPUtils/LDAPConnection.pm
55:use UNIVERSAL qw( isa );
188:    if( isa($conf ,"OpenSIPS::LDAPUtils::LDAPConnection") ) {

./opensips-1.10.3-tls/modules/perl/lib/perl/OpenSIPS/VDB.pm
48:use UNIVERSAL qw ( can );
90:		if (can($pkg, $3)) {
92:		} elsif (can($v, "init")) {
95:		} elsif (can($v, "new")) {


More info:
http://search.cpan.org/~shay/perl-5.21.11/pod/perl5213delta.pod#use%C2%A0UNIVERSAL%C2%A0%27...%27_is_now_a_fatal_error

Comment 1 Jan Kurik 2015-07-15 14:13:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 2 Jan Kurik 2016-02-24 13:23:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase


Note You need to log in before you can comment on or make changes to this bug.