Skip Menu |

This queue is for tickets about the Module-Runtime CPAN distribution.

Report information
The Basics
Id: 125363
Status: rejected
Priority: 0/
Queue: Module-Runtime

People
Owner: Nobody in particular
Requestors: ARISTOTLE [...] cpan.org
Cc: DBOOK [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.015
Fixed in: (no value)



Subject: create_makefile_pl => traditional vs configure_requires => Module::Build
Hi, It’s good that 0.015 switched to create_makefile_pl => traditional: https://metacpan.org/changes/release/ZEFRAM/Module-Runtime-0.015#L11 But it still asks for Module::Build at install time: https://metacpan.org/source/ZEFRAM/Module-Runtime-0.015/Build.PL#L34 The configure_requires should have been removed at the same time the create_makefile_pl style was switched to traditional. Either the user has Module::Build and their installer can run Build.PL, or they don’t (such as anyone on perl 5.22 or newer) and their installer will just run Makefile.PL. If the configure_requires were expressing the need for a specific version of Module::Build, the situation might be trickier, but it doesn’t, so it’s simple.
Well, hmm. I didn’t realise that (at the time of this writing, at least) installers always prefer Build.PL if one is present, even if Module::Build is not installed. So now I’m not sure what should be done. All I can say is it sucks that installing on 5.22 or newer requires installing Module::Build when there’s a perfectly adequate Makefile.PL right there. That would be nice to resolve in some way.
The Makefile.PL generated by MBC is only for compatibility with 5.8. It should not be used otherwise. In the current release it may work fine, but it will randomly not support various MB features like test_requires. https://metacpan.org/pod/release/LEONT/Module-Build-0.42_28/lib/Module/Build/Compat.pm#traditional