skaji/cpm

recent ExtUtils::MakeMaker has a new function _sprintf562

Opened this issue ยท 9 comments

skaji commented

When you use perl 5.16, and try to install some modules, then you may encounter the following error:

2020-07-07T16:05:16,14222,TimeDate-2.33| Configuring distribution
2020-07-07T16:05:16,14222,TimeDate-2.33| Executing /home/skaji/env/plenv/versions/5.16.3/bin/perl Makefile.PL
2020-07-07T16:05:16,14222,TimeDate-2.33| "_sprintf562" is not exported by the ExtUtils::MakeMaker module
2020-07-07T16:05:16,14222,TimeDate-2.33| Can't continue after import errors at /home/skaji/try/20200705/local/lib/perl5/ExtUtils/MM_Unix.pm line 13.
2020-07-07T16:05:16,14222,TimeDate-2.33| BEGIN failed--compilation aborted at /home/skaji/try/20200705/local/lib/perl5/ExtUtils/MM_Unix.pm line 13.
2020-07-07T16:05:16,14222,TimeDate-2.33| Compilation failed in require at (eval 2) line 2.
2020-07-07T16:05:16,14222,TimeDate-2.33| Compilation failed in require at /home/skaji/env/plenv/versions/5.16.3/lib/perl5/5.16.3/ExtUtils/MakeMaker.pm line 42.
2020-07-07T16:05:16,14222,TimeDate-2.33| Compilation failed in require at Makefile.PL line 7.
2020-07-07T16:05:16,14222,TimeDate-2.33| BEGIN failed--compilation aborted at Makefile.PL line 7.
skaji commented

Actually I have an idea that solves this problem, and cpm v1 will eliminate this kind of problems completely.

skaji commented

But we missed PTS this year :)

But we missed PTS this year :)

Does that mean we'll have to wait until next year? :)

In my case requires 'ExtUtils::MakeMaker', '7.06'; fixed it for me.

skaji commented

Does that mean we'll have to wait until next year? :)

Hopefully, no ๐Ÿ˜ƒ

In my case requires 'ExtUtils::MakeMaker', '7.06'; fixed it for me.

Too soon. I'm still seeing some failures https://github.com/tokuhirom/OrePAN2/actions/runs/182849013

skaji commented

For the time being, I will add a workarond for this issue.