Skip Menu |

This queue is for tickets about the AnyData CPAN distribution.

Report information
The Basics
Id: 99916
Status: resolved
Priority: 0/
Queue: AnyData

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

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



Subject: htmltable.t fails if CGI is not installed
Error Opening File-Parser: Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/lib /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/arch /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/arch /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/lib /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/arch /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/lib /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/arch /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/lib /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/arch /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/lib /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/arch /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/lib /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/arch /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/lib /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/arch /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/lib /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/arch /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/lib /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/arch /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/lib /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/arch /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/lib /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/arch /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/lib /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/arch /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/lib /usr/perl5.21.5p/lib/site_perl/5.21.5/amd64-freebsd /usr/perl5.21.5p/lib/site_perl/5.21.5 /usr/perl5.21.5p/lib/5.21.5/amd64-freebsd /usr/perl5.21.5p/lib/5.21.5 .) at /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/lib/AnyData/Format/HTMLtable.pm line 146. BEGIN failed--compilation aborted at /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/lib/AnyData/Format/HTMLtable.pm line 146. Compilation failed in require at /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/lib/AnyData.pm line 27. # Looks like you planned 3 tests but ran 1. # Looks like your test exited with 2 just after 1. t/htmltable.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/3 subtests CGI is not anymore part of the standard perl modules since perl 5.21.x, so it has to be declared as a prereq.
From: mcgrath.martin [...] gmail.com
On Thu Oct 30 22:32:49 2014, SREZIC wrote: Show quoted text
> Error Opening File-Parser: Can't locate CGI.pm in @INC (you may need > to install the CGI module) (@INC contains: > /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/lib > /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/arch > /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/arch > /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/lib > /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/arch > /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/lib > /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/arch > /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/lib > /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/arch > /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/lib > /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/arch > /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/lib > /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/arch > /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/lib > /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/arch > /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/lib > /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/arch > /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/lib > /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/arch > /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/lib > /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/arch > /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/lib > /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/arch > /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/lib > /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/arch > /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/lib > /usr/perl5.21.5p/lib/site_perl/5.21.5/amd64-freebsd > /usr/perl5.21.5p/lib/site_perl/5.21.5 > /usr/perl5.21.5p/lib/5.21.5/amd64-freebsd /usr/perl5.21.5p/lib/5.21.5 > .) at /usr/local/src/CPAN/build/AnyData-0.11- > 3l6lfQ/blib/lib/AnyData/Format/HTMLtable.pm line 146. > BEGIN failed--compilation aborted at > /usr/local/src/CPAN/build/AnyData-0.11- > 3l6lfQ/blib/lib/AnyData/Format/HTMLtable.pm line 146. > Compilation failed in require at /usr/local/src/CPAN/build/AnyData- > 0.11-3l6lfQ/blib/lib/AnyData.pm line 27. > # Looks like you planned 3 tests but ran 1. > # Looks like your test exited with 2 just after 1. > t/htmltable.t .. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/3 subtests > > > CGI is not anymore part of the standard perl modules since perl > 5.21.x, so it has to be declared as a prereq.
PR for this, also fixes the incorrect repo links: https://github.com/SvenDowideit/AnyData/pull/1
we moved the repository to https://github.com/perl5-dbi and I currently analyse how to refactor AnyData to get DBD::AnyData back to business ... Unfortunately it's not reasonable to send patches without being involved into that process. Issue recognized, decision how to deal with it later ;) Best regards, Jens
RT-Send-CC: mcgrath.martin [...] gmail.com
Fixed in 0.12.