drmuey / p5-File-Copy-Recursive

Perl extension for recursively copying files and directories
5 stars 12 forks source link

EUMM prereq version needs to be set #27

Open eserte opened 5 years ago

eserte commented 5 years ago

On a system with ExtUtils::MakeMaker 6.6302 installed (e.g. on a fresh perl 5.16.3) the installation of File::Copy::Recursive fails:

...
Configuring D/DM/DMUEY/File-Copy-Recursive-0.45.tar.gz with Makefile.PL
WARNING: TEST_REQUIRES is not a known parameter.
Checking if your kit is complete...
Looks good
'TEST_REQUIRES' is not a known MakeMaker parameter name.
...
Can't locate Test/File.pm in @INC (@INC contains: /home/eserte/.cpan/build/2019080711/File-Copy-Recursive-0.45-0/blib/lib /home/eserte/.cpan/build/2019080711/File-Copy-Recursive-0.45-0/blib/arch /home/eserte/.cpan/build/2019080711/File-Copy-Recursive-0.45-0/blib/lib /home/eserte/.cpan/build/2019080711/File-Copy-Recursive-0.45-0/blib/arch /opt/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux /opt/perl-5.16.3/lib/site_perl/5.16.3 /opt/perl-5.16.3/lib/5.16.3/x86_64-linux /opt/perl-5.16.3/lib/5.16.3 .) at t/01.legacy.t line 13.
BEGIN failed--compilation aborted at t/01.legacy.t line 13.
t/01.legacy.t ............. Dubious, test returned 2 (wstat 512, 0x200)
... (more test failures following) ...

Probably the problem may be fixed if ExtUtils::MakeMaker 6.64 is made a configure_requires dependency (according to https://metacpan.org/source/BINGOS/ExtUtils-MakeMaker-7.36/Changes#L1108 this is the first EUMM version understanding TEST_REQUIRES)