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

Owner: Nobody in particular
Requestors: MITHALDU [...]

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

Subject: dependency installation isn't triggered properly in cpan
Download (untitled) / with headers
text/plain 4.7k
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/ blib\lib\SQL\Statement\ cp lib/SQL/Statement/Embed.pod blib\lib\SQL\Statement\Embed.pod cp lib/SQL/Statement/ blib\lib\SQL\Statement\ cp lib/SQL/Statement/ blib\lib\SQL\Statement\ cp lib/SQL/Dialects/ blib\lib\SQL\Dialects\ cp lib/SQL/Statement/Structure.pod blib\lib\SQL\Statement\Structure.pod cp lib/SQL/Dialects/ blib\lib\SQL\Dialects\ cp lib/SQL/Statement/ blib\lib\SQL\Statement\ cp lib/SQL/Dialects/ blib\lib\SQL\Dialects\ cp lib/SQL/Statement/Syntax.pod blib\lib\SQL\Statement\Syntax.pod cp lib/SQL/Statement/ blib\lib\SQL\Statement\ cp lib/SQL/Statement/ blib\lib\SQL\Statement\ cp lib/SQL/Statement/Roadmap.pod blib\lib\SQL\Statement\Roadmap.pod cp lib/SQL/Statement/ blib\lib\SQL\Statement\ cp lib/SQL/ blib\lib\SQL\ cp lib/SQL/ blib\lib\SQL\ cp lib/SQL/Statement/ blib\lib\SQL\Statement\ cp lib/SQL/Statement/ blib\lib\SQL\Statement\ cp lib/SQL/Dialects/ blib\lib\SQL\Dialects\ cp lib/SQL/ blib\lib\SQL\ 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/ line 20. cannot remove directory for C:\strawberry\cpan\build\SQL-Statement-1.407-zKjkyR\test_output_114608: Directory not empty at t/ line 20. t/03import.t .... ok t/04idents.t .... ok t/05simple.t .... ok t/06virtual.t ... 103/? Can't locate Math/Base/ 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/ 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
Download (untitled) / with headers
text/plain 292b
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.

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

Please report any issues with to