Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 88222
Status: resolved
Worked: 20 min
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 6.74
Fixed in: (no value)



Subject: EU::MM 6.74 fails on < 5.8.9 under certain conditions
The manifestation on a freshly compiled 5.8.x is that cpan ExtUtils::MakeMaker works, while cpanm ExtUtils::MakeMaker fails. I did not trace why there is a difference, but the underlying problem is clearly here: https://metacpan.org/source/BINGOS/ExtUtils-MakeMaker-6.74/lib/ExtUtils/Command/MM.pm#L17 ::stat() was introuced in Time::HiRes 1.92 (https://metacpan.org/changes/distribution/Time-HiRes#L233) which did not ship in core until 5.10.0/5.8.9. You need to augment the eval{} with a VERSION call as well (or alternatively just check for ->can('stat') ) Cheers
Thanks, patched in repository and dev release uploaded to CPAN.
Stable release 6.76 is now on CPAN.