Skip Menu |

This queue is for tickets about the SQL-Statement CPAN distribution.

Report information
The Basics
Id: 105852
Status: resolved
Priority: 0/
Queue: SQL-Statement

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

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



Subject: dependency installation isn't triggered properly in cpan
Here's a log of me trying to install this module: C:\Users\Mithaldu>cpan SQL::Statement CPAN: CPAN::SQLite loaded ok (v0.204) Database was generated on Tue, 14 Jul 2015 10:45:22 GMT Running install for module 'SQL::Statement' CPAN: Digest::SHA loaded ok (v5.95) CPAN: Compress::Zlib loaded ok (v2.068) Checksum for C:\strawberry\cpan\sources\authors\id\R\RE\REHSACK\SQL-Statement-1.407.tar.gz ok CPAN: Archive::Tar loaded ok (v2.04) CPAN: File::Temp loaded ok (v0.2304) CPAN: YAML::XS loaded ok (v0.59) CPAN: CPAN::Meta::Requirements loaded ok (v2.133) CPAN: Parse::CPAN::Meta loaded ok (v1.4417) CPAN: CPAN::Meta loaded ok (v2.150005) CPAN: Module::CoreList loaded ok (v5.20150520) Configuring R/RE/REHSACK/SQL-Statement-1.407.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for SQL::Statement Writing MYMETA.yml and MYMETA.json REHSACK/SQL-Statement-1.407.tar.gz C:\strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for R/RE/REHSACK/SQL-Statement-1.407.tar.gz Show quoted text
---- Unsatisfied dependencies detected during ---- ---- REHSACK/SQL-Statement-1.407.tar.gz ---- Text::Soundex [requires,optional] Math::Base::Convert [requires,optional] cp lib/SQL/Statement/Functions.pm blib\lib\SQL\Statement\Functions.pm cp lib/SQL/Statement/Embed.pod blib\lib\SQL\Statement\Embed.pod cp lib/SQL/Statement/Util.pm blib\lib\SQL\Statement\Util.pm cp lib/SQL/Statement/GetInfo.pm blib\lib\SQL\Statement\GetInfo.pm cp lib/SQL/Dialects/CSV.pm blib\lib\SQL\Dialects\CSV.pm cp lib/SQL/Statement/Structure.pod blib\lib\SQL\Statement\Structure.pod cp lib/SQL/Dialects/Role.pm blib\lib\SQL\Dialects\Role.pm cp lib/SQL/Statement/Function.pm blib\lib\SQL\Statement\Function.pm cp lib/SQL/Dialects/ANSI.pm blib\lib\SQL\Dialects\ANSI.pm cp lib/SQL/Statement/Syntax.pod blib\lib\SQL\Statement\Syntax.pod cp lib/SQL/Statement/Term.pm blib\lib\SQL\Statement\Term.pm cp lib/SQL/Statement/RAM.pm blib\lib\SQL\Statement\RAM.pm cp lib/SQL/Statement/Roadmap.pod blib\lib\SQL\Statement\Roadmap.pod cp lib/SQL/Statement/Operation.pm blib\lib\SQL\Statement\Operation.pm cp lib/SQL/Parser.pm blib\lib\SQL\Parser.pm cp lib/SQL/Eval.pm blib\lib\SQL\Eval.pm cp lib/SQL/Statement/TermFactory.pm blib\lib\SQL\Statement\TermFactory.pm cp lib/SQL/Statement/Placeholder.pm blib\lib\SQL\Statement\Placeholder.pm cp lib/SQL/Dialects/AnyData.pm blib\lib\SQL\Dialects\AnyData.pm cp lib/SQL/Statement.pm blib\lib\SQL\Statement.pm REHSACK/SQL-Statement-1.407.tar.gz C:\strawberry\c\bin\dmake.exe -- OK Running make test "C:\strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t xt/*.t t/00error.t ..... # # Using required: # # SQL::Statement: 1.407 # # Using recommended: # # DBD::DBM: 0.08 # # DBD::File: 0.44 # # DBI: 1.633 t/00error.t ..... ok t/01prepare.t ... ok t/02execute.t ... ok t/03import.t .... 1/? cannot unlink file for C:\strawberry\cpan\build\SQL-Statement-1.407-zKjkyR\test_output_114608\sqlite.db: Permission denied at t/TestLib.pm line 20. cannot remove directory for C:\strawberry\cpan\build\SQL-Statement-1.407-zKjkyR\test_output_114608: Directory not empty at t/TestLib.pm line 20. t/03import.t .... ok t/04idents.t .... ok t/05simple.t .... ok t/06virtual.t ... 103/? Can't locate Math/Base/Convert.pm in @INC (you may need to install the Math::Base::Convert module) (@INC contains: t C:\strawberry\cpan\build\SQL-Statement-1.407-zKjkyR\blib\lib C:\strawberry\cpan\bui ld\SQL-Statement-1.407-zKjkyR\blib\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at C:/strawberry/perl/vendor/lib/Module/Runtime.pm line 317. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 2 just after 163. t/06virtual.t ... Dubious, test returned 2 (wstat 512, 0x200) All 163 subtests passed t/08join.t ...... ok t/09ops.t ....... ok t/10limit.t ..... ok t/12eval.t ...... ok t/14parse.t ..... ok t/17quoting.t ... ok t/23dialects.t .. ok Test Summary Report ------------------- t/06virtual.t (Wstat: 512 Tests: 163 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/08join.t (Wstat: 0 Tests: 643 Failed: 0) TODO passed: 289-291, 293-295, 314, 316, 318, 321, 610-612 614-616, 635, 637, 639, 642 Files=14, Tests=2438, 9 wallclock secs ( 0.48 usr + 0.06 sys = 0.55 CPU) Result: FAIL Failed 1/14 test programs. 0/2438 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' REHSACK/SQL-Statement-1.407.tar.gz C:\strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports REHSACK/SQL-Statement-1.407.tar.gz Stopping: 'install' failed for 'SQL::Statement'. C:\Users\Mithaldu>
From haarg's investigation in #toolchain this looks like a bug in CPAN.pm.
I know, but regardless the reason, the situation can be prevented by skipping tests without satisfied prereqs. Lowest requirement for installing is perl 5.8.1 out of the box, from there on it should work. I check if it's a low hangin fruit to skip tests in such cases. Thanks for reporting.
Pushed fix to github to let travis work
Uploaded 1.409 which fixed that issue, thanks for reporting.