Skip Menu |

This queue is for tickets about the Date-Manip CPAN distribution.

Report information
The Basics
Id: 35728
Status: resolved
Priority: 0/
Queue: Date-Manip

People
Owner: Nobody in particular
Requestors: bitcard_ok [...] alvar.a-blast.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 5.50
Fixed in: 5.52



Subject: Tests fail with Module::Build (and Strawberryperl?)
Hi, when using Module::Build (and Strawberryperl) Date::Manip can not be tested. The CPAN shell uses this by default (if installed). A manual installation with Extutils::MakeMaker works fine. It seems that with MB the Modules are not copied to blib. Ciao Alvar *** Output from manual build with Module::Build: C:\strawberry\cpan\build\Date-Manip-5.50-nHQpyn>perl Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Date-Manip' version '5.49' C:\strawberry\cpan\build\Date-Manip-5.50-nHQpyn>Build C:\strawberry\cpan\build\Date-Manip-5.50-nHQpyn>Build test t\convtz..................Can't locate Date/Manip.pm in @INC (@INC contains: C:\strawberry\cpan\build\Date-Manip-5.50-nH Qpyn\blib\lib C:\strawberry\cpan\build\Date-Manip-5.50-nHQpyn\blib\arch C:/STRAWB~1/perl/lib C:/STRAWB~1/perl/site/lib . ) at t\convtz.t line 4. BEGIN failed--compilation aborted at t\convtz.t line 4. t\convtz.................. Dubious, test returned 2 (wstat 512, 0x200) No subtests run [...] *** Output from CPAN Shell: Show quoted text
cpan> install Date::Manip
Database was generated on Thu, 08 May 2008 13:59:31 GMT Running install for module 'Date::Manip' Running make for S/SB/SBECK/Date-Manip-5.50.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\S\SB\SBECK\Date-Manip-5.50.tar.gz ok Scanning cache C:\strawberry\cpan\build for sizes ............................................................................DONE CPAN.pm: Going to build S/SB/SBECK/Date-Manip-5.50.tar.gz Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Date-Manip' version '5.49' SBECK/Date-Manip-5.50.tar.gz C:\strawberry\perl\bin\perl.exe ./Build -- OK Running Build test t\convtz..................Can't locate Date/Manip.pm in @INC (@INC contains: C:\strawberry\cpan\build\Date-Manip-5.50-nH Qpyn\blib\lib C:\strawberry\cpan\build\Date-Manip-5.50-nHQpyn\blib\arch C:/STRAWB~1/perl/lib C:/STRAWB~1/perl/site/lib . ) at t\convtz.t line 4. BEGIN failed--compilation aborted at t\convtz.t line 4. t\convtz.................. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t\date....................Can't locate Date/Manip.pm in @INC (@INC contains: C:\strawberry\cpan\build\Date-Manip-5.50-nH Qpyn\blib\lib C:\strawberry\cpan\build\Date-Manip-5.50-nHQpyn\blib\arch C:/STRAWB~1/perl/lib C:/STRAWB~1/perl/site/lib . ) at t\date.t line 4. BEGIN failed--compilation aborted at t\date.t line 4. t\date.................... Dubious, test returned 2 (wstat 512, 0x200) No subtests run [...]
I just realized that I had a wrong version number in the Build.PL file (the module was 5.50 but Build.PL listed it as 5.49). I've released a new version today which corrects the problem. Also, from now on, I'll run all the tests using both Makefile.PL and Build.PL before releasing a module, so I should catch a mistake like this in the future. Thanks
Subject: Re: [rt.cpan.org #35728] Tests fail with Module::Build (and Strawberryperl?)
Date: Thu, 08 May 2008 20:18:58 +0200
To: bug-Date-Manip [...] rt.cpan.org
From: Alvar Freude <alvar [...] a-blast.org>
Hi, -- Sullivan Beck via RT <bug-Date-Manip@rt.cpan.org> wrote: Show quoted text
> I just realized that I had a wrong version number in the Build.PL file > (the module was 5.50 but Build.PL listed it as 5.49).
ups ;-( Show quoted text
> I've released a > new version today which corrects the problem.
thanks for this really fast fix! :-) Ciao Alvar -- ** Alvar C.H. Freude, http://alvar.a-blast.org/ ** http://www.assoziations-blaster.de/ ** http://www.wen-waehlen.de/ ** http://odem.org/
Download (untitled)
application/pgp-signature 194b

Message body not shown because it is not plain text.

I have removed Build.PL (only shipping with Makefile.PL) so this problem no longer applies.