Subject: | Invalid MIN_PERL_VERSION triggers a fatal error since v7.47_07 |
Distributions that have in illegal MIN_PERL_VERSION value (e.g. "5.008_001" in URI-Fetch-0.13) started to fail to build with ExtUtils-MakeMaker-7.48:
[test@fedora-34 URI-Fetch-0.13]$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: MIN_PERL_VERSION is not in a recognized format.
Recommended is a quoted numerical value like '5.005' or '5.008001'.
[test@fedora-34 URI-Fetch-0.13]$ echo $?
2
The new behavior was introduced with this commit:
commit 06c035970e07afba9045463afba2f524ae8232d3
Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Date: Mon Aug 3 19:05:35 2020 +0100
Add 'use warnings' to all the modules
Because Changes file does not mention it, I believe it's not intentional. Moreover the message is worded as a warning, but it's handled as a fatal error. Although MIN_PERL_VERSION is documented as:
Either the 5.006001 or the 5.6.1 format is acceptable.
Any opinions how to deal with it?