Bug 1657712

Summary: Moose does not work after upgrading from Fedora 28
Product: [Fedora] Fedora Reporter: Joaquín <publico>
Component: perl-MooseAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 29CC: emmanuel, iarnell, lkundrak, paul, perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-10 10:51: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 Joaquín 2018-12-10 10:28:12 UTC
After upgrading to Fedora 29 from Fedora 28, Moose does not work.


Program:

#!/usr/bin/perl
use Moose;
print "Hello\n";





Actual results:

Can't load '/usr/local/lib64/perl5/auto/Sub/Name/Name.so' for module Sub::Name: libperl.so.5.26: cannot open shared object file: No such file or directory at /usr/share/perl5/XSLoader.pm line 93.
\0 at /usr/local/lib64/perl5/Sub/Name.pm line 65.
Compilation failed in require at /usr/share/perl5/vendor_perl/Package/DeprecationManager.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Package/DeprecationManager.pm line 13.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/Moose/Deprecated.pm line 12.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Moose/Deprecated.pm line 12.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/Moose.pm line 14.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Moose.pm line 14.
......
.......

Comment 1 Petr Pisar 2018-12-10 10:51:39 UTC
(In reply to Joaquín from comment #0)
> Can't load '/usr/local/lib64/perl5/auto/Sub/Name/Name.so' for module
              ^^^^^^^^^^^

Those files are not delivered by Fedora. You had probably installed them by a CPAN client and after upgrading Perl (Fedora 29 has a new Perl) your manually installed code stopped working. Either remove all the files or reinstall them so that they get compiled against current (Fedor 29's) Perl.