Bug 1085579
| Summary: | perl-Moose compiled for perl API v5.16.0; fedora perl now at v5.18.0 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | simon.galton |
| Component: | perl-Moose | Assignee: | Iain Arnell <iarnell> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | iarnell, mmaslano, perl-devel, ppisar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-04-09 08:18:15 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
simon.galton
2014-04-09 00:46:35 UTC
(In reply to simon.galton from comment #0) > Description of problem: perl scripts which use the Moose module fail with > the following error: > Perl API version v5.16.0 of Moose does not match v5.18.0 at > /usr/lib64/perl5/DynaLoader.pm line 213. > > Version-Release number of selected component (if applicable): > perl-5.18.2-289.fc20.x86_64 > perl-Moose-2.1005-1.fc20.x86_64 > > How reproducible: install perl and perl-Moose packages then add "use Moose;" > to the top of any perl script > I cannot reproduce it: $ rpm -q perl perl-Moose perl-5.18.2-289.fc20.x86_64 perl-Moose-2.1005-1.fc20.x86_64 $ perl -e 'use Moose' $ echo $? 0 > The script will abort with the following complaints: > Perl API version v5.16.0 of Moose does not match v5.18.0 at > /usr/lib64/perl5/DynaLoader.pm line 213. > Compilation failed in require at /usr/local/lib64/perl5/Moose/Exporter.pm > line 13. > BEGIN failed--compilation aborted at > /usr/local/lib64/perl5/Moose/Exporter.pm line 13. > Compilation failed in require at /usr/local/lib64/perl5/Moose.pm line 18. > BEGIN failed--compilation aborted at /usr/local/lib64/perl5/Moose.pm line 18. > If you read the error message carefully, you will see the Moose.pm is loaded from /usr/local. This not a file delivered by Fedora. That's your own local installation. You have to remove the files or reinstall them from cpan to get rebuild against current perl. Thanks -- will check on the other systems. I can confirm that the issue was local to one system -- our bad! Thanks! |