Skip Menu |

This queue is for tickets about the CGI-Application-Dispatch CPAN distribution.

Report information
The Basics
Id: 56283
Status: resolved
Priority: 0/
Queue: CGI-Application-Dispatch

People
Owner: MARKSTOS [...] cpan.org
Requestors: michael [...] michaelsnet.us
Cc:
AdminCc:

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



Subject: build attempt fails: `perl Build.PL` fails 'Operation "bool": no method found'
michael@bivy:~$ cpan CGI::Application::Dispatch CPAN: Storable loaded ok (v2.21) Going to read '/home/michael/.cpan/Metadata' Database was generated on Sat, 03 Apr 2010 13:35:44 GMT Running install for module 'CGI::Application::Dispatch' CPAN: YAML loaded ok (v0.71) Running make for M/MA/MARKSTOS/CGI-Application-Dispatch-2.17.tar.gz CPAN: Digest::SHA loaded ok (v5.48) CPAN: Compress::Zlib loaded ok (v2.02) Checksum for /home/michael/.cpan/sources/authors/id/M/MA/MARKSTOS/CGI-Application-Dispatch-2.17.tar.gz ok CPAN: Archive::Tar loaded ok (v1.58) CGI-Application-Dispatch-2.17/ CGI-Application-Dispatch-2.17/t/ CGI-Application-Dispatch-2.17/Changes CGI-Application-Dispatch-2.17/MANIFEST CGI-Application-Dispatch-2.17/TODO CGI-Application-Dispatch-2.17/lib/ CGI-Application-Dispatch-2.17/META.yml CGI-Application-Dispatch-2.17/Build.PL CGI-Application-Dispatch-2.17/lib/CGI/ CGI-Application-Dispatch-2.17/lib/CGI/Application/ CGI-Application-Dispatch-2.17/lib/CGI/Application/Dispatch.pm CGI-Application-Dispatch-2.17/lib/CGI/Application/Dispatch/ CGI-Application-Dispatch-2.17/lib/CGI/Application/Dispatch/Regexp.pm CGI-Application-Dispatch-2.17/t/lib/ CGI-Application-Dispatch-2.17/t/cgi.t CGI-Application-Dispatch-2.17/t/conf/ CGI-Application-Dispatch-2.17/t/handler.t CGI-Application-Dispatch-2.17/t/conf/extra.conf.in CGI-Application-Dispatch-2.17/t/conf/modperl_extra.pl CGI-Application-Dispatch-2.17/t/lib/MyApp/ CGI-Application-Dispatch-2.17/t/lib/Module/ CGI-Application-Dispatch-2.17/t/lib/Module/Name.pm CGI-Application-Dispatch-2.17/t/lib/MyApp/DispatchTable.pm CGI-Application-Dispatch-2.17/t/lib/MyApp/DispatchRest.pm CGI-Application-Dispatch-2.17/t/lib/MyApp/Dispatch.pm CGI-Application-Dispatch-2.17/t/lib/MyApp/Module/ CGI-Application-Dispatch-2.17/t/lib/MyApp/Module/Bad.pm CGI-Application-Dispatch-2.17/t/lib/MyApp/Module/Name.pm CGI-Application-Dispatch-2.17/t/lib/MyApp/Module/Rest.pm CPAN: File::Temp loaded ok (v0.22) CPAN: Time::HiRes loaded ok (v1.9721) CPAN.pm: Going to build M/MA/MARKSTOS/CGI-Application-Dispatch-2.17.tar.gz Operation "bool": no method found, argument in overloaded package version at /usr/local/share/perl/5.10.0/Module/Build/Base.pm line 1537. Warning: No success on command[/usr/bin/perl Build.PL ] MARKSTOS/CGI-Application-Dispatch-2.17.tar.gz /usr/bin/perl Build.PL -- NOT OK Running Build test Make had some problems, won't test Running Build install Make had some problems, won't install CPAN: Module::Build loaded ok (v0.3607) michael@bivy:~$ `uname -a` and `perl -V` are in attached bivy.environment file
Subject: bivy.environment
Download bivy.environment
application/octet-stream 2.9k

Message body not shown because it is not plain text.

Thanks for the report. If you could look into further and supply a patch, it would be appreciated. Since the tests pass for everyone else, this looks like something specific to your environment: http://matrix.cpantesters.org/?dist=CGI-Application-Dispatch+2.17 Try upgrading Module::Build, for instance.
From: norman [...] newforms.co.uk
Hi Folks I have hit exactly the same install problem on a Debian Lenny virtual server. I also have Module::Build V0.3607 which is the latest CPAN release. Cheers Norman Buskell
Any further investigation you could do would be helpful. It's very difficult to diagnosis it from there, when we can't reproduce it. I suspect there is something else that needs to be upgraded. Consider that all the CPAN tester results are reporting a "green" status. I think those automated test machines tend to use the latest versions of all modules. If we find out what the problematic module is, we can require a later version in our Build.PL file. Thanks for the help! Mark
From: cbrandtbuffalo [...] gmail.com
I believe this might be related to an older version of the 'version' module. I ran into the same error and updated 'version' ('install version' at the cpan prompt), it installed a new version, and the error went away. I'm running perl 5.10 on Mac OS X, 10.6.4.
Thanks for the help. I've uploaded 2.18 this morning which requires a newer version of 'version'. We'll see if that fixes it. If it doesn't, will hopefully cause little harm. ( It might, in fact cause a bit of harm because 'version' by default will install an XS version, which some people might want to avoid. )
From: norman [...] newforms.co.uk
Hi Folks Upgrading to version.pm 0.82 fixed the installation on my Debian Lenny virtual machine. I also managed to install CGI::Application::Dispatch 2.17 on another Debian Lenny box using Module::Build 0.35 and version.pm 0.74. I think the problem is related to "Bug #59154 for Module-Build conflict with version.pm" which was was introduced with Module::Build 0.3607. Cheers Norman
Dear all, same here. Upgrading version.pm to 0.88 and CGI::Application::Dispatch installs fine. May we add this as a prerequisite to Build.PL to eradicate this (possible) bug? hth, Alex
btw. the old version.pm was 0.74 with perl, v5.10.0 built for darwin-thread-multi-2level.
I'll work on this. (The notes above indicate that I thought I already uploaded 2.18 with this fix. I'll see what went wrong).
New release today should address this. Thanks all for the input on it.