Bug 1217428

Summary: opensips-perl: UNIVERSAL->import is deprecated
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: opensipsAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: ivaxer, lemenkov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/OpenSIPS/opensips/issues/804
Whiteboard:
Fixed In Version: opensips-1.11.6-2.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-27 12:46:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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