cpm icon indicating copy to clipboard operation
cpm copied to clipboard

recent ExtUtils::MakeMaker has a new function _sprintf562

Open skaji opened this issue 5 years ago • 9 comments

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 avatar Jul 07 '20 07:07 skaji

I'm seeing this as well: https://github.com/tokuhirom/OrePAN2/runs/886236746

oalders avatar Jul 20 '20 12:07 oalders

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

skaji avatar Jul 20 '20 12:07 skaji

But we missed PTS this year :)

skaji avatar Jul 20 '20 12:07 skaji

But we missed PTS this year :)

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

oalders avatar Jul 20 '20 16:07 oalders

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

oalders avatar Jul 20 '20 18:07 oalders

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

Hopefully, no 😃

skaji avatar Jul 21 '20 01:07 skaji

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

oalders avatar Jul 29 '20 13:07 oalders

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

skaji avatar Jul 29 '20 23:07 skaji

Full log https://gist.github.com/skaji/cb0f3acf512bde8fe01c4174bb7c3bdd

skaji avatar Apr 03 '22 15:04 skaji