Skip Menu |
 

This queue is for tickets about the DBIx-Class-Cursor-Cached CPAN distribution.

Report information
The Basics
Id: 50426
Status: resolved
Priority: 0/
Queue: DBIx-Class-Cursor-Cached

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

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



Subject: Fails to Build if DBD::SQLite is unavailable
Download (untitled) / with headers
text/plain 1.6k
Hi: So, this is pretty much a release-critical issue, though an easy-to-fix one. It seems the package won't build unless DBD::SQLite is available, but it's not required (according to META.yml): *** Checking for Perl dependencies... [Core Features] - Test::More ...loaded. (0.92) - Cache::FileCache ...loaded. (0) - DBIx::Class ...loaded. (0.08108 >= 0.08004) - Digest::SHA1 ...loaded. (2.12) PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/simple.t DBIx::Class::Storage::DBI::dbh(): DBI Connection failed: install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: /build/jon-libdbix-class-cursor-cached-perl_1.0.1-1-i386-RbqxQK/libdbix-class-cursor-cached-perl-1.0.1/inc /build/jon-libdbix-class-cursor-cached-perl_1.0.1-1-i386-RbqxQK/libdbix-class-cursor-cached-perl-1.0.1/blib/lib /build/jon-libdbix-class-cursor-cached-perl_1.0.1-1-i386-RbqxQK/libdbix-class-cursor-cached-perl-1.0.1/blib/arch /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 159) line 3. Perhaps the DBD::SQLite perl module hasn't been fully installed, or perhaps the capitalisation of 'SQLite' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge. at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 865 # Looks like your test exited with 2 before it could output anything. t/simple.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run I'm sure the fix is as simple as requiring "DBD::SQLite" in META.yml. Cheers, Jonathan
Subject: Re: [rt.cpan.org #50426] Fails to Build if DBD::SQLite is unavailable
Date: Mon, 12 Oct 2009 22:20:55 -0400
To: Jonathan Yu via RT <bug-DBIx-Class-Cursor-Cached [...] rt.cpan.org>
From: Chris Nehren <apeiron [...] cpan.org>
On Mon, Oct 12, 2009 at 22:14:05 -0400 , Jonathan Yu via RT wrote: Show quoted text
> Mon Oct 12 22:14:04 2009: Request 50426 was acted upon. > Transaction: Ticket created by FREQUENCY > Queue: DBIx-Class-Cursor-Cached > Subject: Fails to Build if DBD::SQLite is unavailable > Broken in: 1.0.1 > Severity: Critical > Owner: Nobody > Requestors: frequency@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=50426 > > > > Hi: > > So, this is pretty much a release-critical issue, though an easy-to-fix > one. It seems the package won't build unless DBD::SQLite is available, > but it's not required (according to META.yml):
DBIx::Class::Cursor::Cached obviously depends on DBIx::Class. DBIx::Class has a hard requirement on DBD::SQLite. Therefore it's assumed to already be installed. (facts readily obtainable from the Makefile.PLs for each module) Are you chopping up DBIC itself to not ship with this dependency? Don't do that and then expect stuff to work. -- Thanks and best regards, Chris Nehren


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.