[Bug 1085579] perl-Moose compiled for perl API v5.16.0; fedora perl now at v5.18.0
bugzilla at redhat.com
bugzilla at redhat.com
Wed Apr 9 08:18:15 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1085579
Petr Pisar <ppisar at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CLOSED
CC| |ppisar at redhat.com
Resolution|--- |NOTABUG
Last Closed| |2014-04-09 04:18:15
--- Comment #1 from Petr Pisar <ppisar at redhat.com> ---
(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.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=bp7RUSrhqF&a=cc_unsubscribe
More information about the perl-devel
mailing list