Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBIx-SecureCGI CPAN distribution.

Report information
The Basics
Id: 85450
Status: resolved
Priority: 0/
Queue: DBIx-SecureCGI

People
Owner: POWERMAN [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Makefile.PL not uptodate wrt Build.PL
Sample fail report: http://www.cpantesters.org/cpan/report/30861373 HTH&&Regards,
Subject: Re: [rt.cpan.org #85450] Makefile.PL not uptodate wrt Build.PL
Date: Mon, 20 May 2013 17:24:51 +0300
To: Andreas Koenig via RT <bug-DBIx-SecureCGI [...] rt.cpan.org>
From: Alex Efros <powerman [...] powerman.name>
Hi! The problem isn't in 'Makefile.PL not uptodate wrt Build.PL'. Thing is, Makefile.PL created and updated automatically, but it doesn't include "test_requires" dependencies from Build.PL, only "requires" dependencies are included. I don't think moving "test_requires" dependencies to "requires" is good idea, for obvious reason. I don't sure is absence of "test_requires" dependencies in Makefile.PL mean bug in Module::Build. Actually I prefer to not use Makefile.PL at all, because providing two different ways to do same task is asking for troubles, even when one of ways is autogenerated from another way. But I've noticed many CPAN Testers doesn't recognize Build.PL and try to run `make` even when there is no Makefile.PL file. For me, it looks like _this_ is real issue to solve here, but I've no control over platform used by CPAN Testers. So, what is best way to solve this issue? -- WBR, Alex.
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #85450] Makefile.PL not uptodate wrt Build.PL
Date: Mon, 20 May 2013 17:13:26 +0200
To: bug-DBIx-SecureCGI [...] rt.cpan.org
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
"Alex Efros via RT" <bug-DBIx-SecureCGI@rt.cpan.org> writes: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=85450 > > > Hi! > > The problem isn't in 'Makefile.PL not uptodate wrt Build.PL'. > Thing is, Makefile.PL created and updated automatically, but it doesn't > include "test_requires" dependencies from Build.PL, only "requires" > dependencies are included.
Agree. Show quoted text
> I don't think moving "test_requires" dependencies to "requires" is good > idea, for obvious reason.
Not sure. Show quoted text
> I don't sure is absence of "test_requires" dependencies in Makefile.PL > mean bug in Module::Build.
Agree. Show quoted text
> Actually I prefer to not use Makefile.PL at all, because providing two > different ways to do same task is asking for troubles, even when one of > ways is autogenerated from another way. But I've noticed many CPAN Testers > doesn't recognize Build.PL and try to run `make` even when there is no > Makefile.PL file.
Really? Give me example test report. I haven't seen this, at least not in the last one or two years. Show quoted text
> For me, it looks like _this_ is real issue to solve > here, but I've no control over platform used by CPAN Testers. > > So, what is best way to solve this issue?
Preferred (by me) is to remove Makefile.PL. And report it when a cpan tester cannot deal with it. Thanks;) -- andreas
Subject: Re: [rt.cpan.org #85450] Makefile.PL not uptodate wrt Build.PL
Date: Mon, 20 May 2013 18:33:56 +0300
To: "\(Andreas J. Koenig\) via RT" <bug-DBIx-SecureCGI [...] rt.cpan.org>
From: Alex Efros <powerman [...] powerman.name>
Hi! On Mon, May 20, 2013 at 11:13:53AM -0400, (Andreas J. Koenig) via RT wrote: Show quoted text
> Really? Give me example test report. I haven't seen this, at least not > in the last one or two years.
I've checked many reports for some module/version where I believe I've seen this issue some time ago, but I failed to find it now. Maybe it's my bad if I just misread some reports. Show quoted text
> Preferred (by me) is to remove Makefile.PL. And report it when a cpan > tester cannot deal with it.
Ok, I'll do this. How/where I should report such issues? -- WBR, Alex.
Show quoted text
> I've checked many reports for some module/version where I believe I've > seen this issue some time ago, but I failed to find it now. Maybe it's my > bad if I just misread some reports.
Just found one report: http://www.cpantesters.org/cpan/report/8fe4c8d0-3a92-11e2-93d1-0eb663c9e601 At a glance it looks like problem is in absent Makefile.PL. I'm usually checking reports for many of my modules at once, so chances are I was thinking I'm checking report for some other Module::Build-based module, thus I've decided to add Makefile.PL for compatibility. But after checking this report more carefully it looks like something was broken on this tester's system because that report is for Module::Install-based module which actually have Makefile.PL. So, looks like module just wasn't unpacked correctly or `perl Makefile.PL` fail to generate Makefile (out of disk space?). BTW, is it possible to somehow report/remove such broken reports?
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #85450] Makefile.PL not uptodate wrt Build.PL
Date: Mon, 20 May 2013 23:10:48 +0200
To: bug-DBIx-SecureCGI [...] rt.cpan.org
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
"Alex Efros via RT" <bug-DBIx-SecureCGI@rt.cpan.org> writes: Show quoted text
> Ok, I'll do this. How/where I should report such issues?
CPAN Testers Discuss (cpan-testers-discuss at perl.org) is a low volume mailing list where we occasionally receive complaints about misconfigured tester environments. -- andreas