Bug 1657712 - Moose does not work after upgrading from Fedora 28
Summary: Moose does not work after upgrading from Fedora 28
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Moose
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-10 10:28 UTC by Joaquín
Modified: 2018-12-10 10:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-10 10:51:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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