Skip Menu |

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

Report information
The Basics
Id: 120742
Status: rejected
Priority: 0/
Queue: Module-Build

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

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



Subject: Wrong Makefile.PL is generated
Here is the dialogue from IRC:freenode#perl <kes> mst: I have required modules in "test requires", but got failures: <kes> http://www.cpantesters.org/cpan/report/23318494-fc08-11e6-976e-ba788b384808 <kes> https://metacpan.org/source/KES/Devel-DebugHooks-0.03_01/Build.PL#L24 <kes> Does that my fault or testers miss something? <Grinnz> kes: remove the 'create_makefile_pl' line from your Build.PL, it's creating a broken Makefile.PL <Grinnz> the tester says it's using ./Build so i don't know why that matters, but the tester's "prerequisites" section matches what's in the Makefile.PL <kes> So error at Module::Build, because it generate wrong Makefile.PL? <Grinnz> most likely
On Fri Mar 24 14:13:07 2017, KES wrote: Show quoted text
> Here is the dialogue from IRC:freenode#perl > <kes> mst: I have required modules in "test requires", but got > failures: > <kes> http://www.cpantesters.org/cpan/report/23318494-fc08-11e6-976e- > ba788b384808 > <kes> https://metacpan.org/source/KES/Devel-DebugHooks- > 0.03_01/Build.PL#L24 > <kes> Does that my fault or testers miss something? > <Grinnz> kes: remove the 'create_makefile_pl' line from your Build.PL, > it's creating a broken Makefile.PL > <Grinnz> the tester says it's using ./Build so i don't know why that > matters, but the tester's "prerequisites" section matches what's in > the Makefile.PL > <kes> So error at Module::Build, because it generate wrong > Makefile.PL? > <Grinnz> most likely
test_requires is a feature that requires Module::Build 0.4004 (though I recommend 0.4200). That machine has 0.4003 installed. Adding a configure requirement should solve this. This is actually documented. Leon
Show quoted text
> This is actually documented. > Leon
May you please provide link where it is documented. Thank you.
On 2017-03-26 05:39:55, KES wrote: Show quoted text
> > This is actually documented. > > Leon
> > > May you please provide link where it is documented. > Thank you.
It's in Module::Build::API: https://metacpan.org/source/LEONT/Module-Build-0.4220/lib/Module/Build/API.pod#L185-192