Hi Fulko,
I'm not sure when it started, but on everything more complicated
than print 'Hello World' my perl is failing.
For example:
$ perl -e 'use DateTime;'
Attempt to reload List/Util.pm aborted.
Compilation failed in require at /usr/share/perl5/vendor_perl/namespace/autoclean.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/namespace/autoclean.pm line 11.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/DateTime.pm line 9.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/DateTime.pm line 9.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
or
$ cpan
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/share/perl5/Safe.pm line 4.
BEGIN failed--compilation aborted at /usr/share/perl5/Safe.pm line 4.
Compilation failed in require at /usr/share/perl5/vendor_perl/CPAN.pm line 57.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/CPAN.pm line 57.
Compilation failed in require at /usr/share/perl5/vendor_perl/App/Cpan.pm line 290.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/App/Cpan.pm line 290.
Compilation failed in require at /usr/bin/cpan line 7.
BEGIN failed--compilation aborted at /usr/bin/cpan line 7.
Since I last saw it working, all I can do is remember
upgrading to F35, or the daily updates.
Can anyone suggest where to start?
For example... Why is it trying to reload Scalar::Util?
Try to identify which cpan you're using (the one from Fedora repos
installed via dnf or the one from CPAN) and try to reinstall (or
remove...) that one.
Looks like you've mixed Perl modules installed from CPAN with others
installed from Fedora. That's not always working.
Maybe you get more clues trying the debugger as well,
$ perl -d -e 'use DateTime;'
Best regards,
Iosif Fettich
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure