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
Download (untitled) / with headers
text/plain 680b
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
Download (untitled) / with headers
text/plain 965b
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
Download (untitled) / with headers
text/plain 102b
Show quoted text
> This is actually documented. > Leon
May you please provide link where it is documented. Thank you.
Download (untitled) / with headers
text/plain 267b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.