Skip Menu |

This queue is for tickets about the Data-Session CPAN distribution.

Report information
The Basics
Id: 64186
Status: resolved
Priority: 0/
Queue: Data-Session

People
Owner: Nobody in particular
Requestors: ytnobody [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.02
Fixed in: (no value)



Subject: DBD-SQLite is needed into PREREQ_PM.
Hi. I encountered problem when installing Data-Session-1.02 into perl-5.12.2 on my linux-box. I think PREREQ_PM needs DBD-SQLite. Please look following. ### Before installing DBD-SQLite ### Building and testing Data-Session-1.02 Building Data-Session # Test: File.1. DSN: dbi:File:. ID generator: AutoIncrement. Serializer: DataDumper # type: driver:File;id:AutoIncrement;serialize:DataDumper # id 1: 1002 # type: driver:File;id:AutoIncrement;serialize:DataDumper # type: driver:File;id:AutoIncrement;serialize:DataDumper # type: driver:File;id:AutoIncrement;serialize:DataDumper # type: driver:File;id:AutoIncrement;serialize:DataDumper # type: driver:File;id:AutoIncrement;serialize:DataDumper ### SNIP ### # Test: File.1. DSN: dbi:File:. ID generator: UUID36. Serializer: YAML # type: driver:File;id:UUID36;serialize:YAML # id 1: E89D7636-0F09-11E0-837B-29DE15C14D9C # type: driver:File;id:UUID36;serialize:YAML # type: driver:File;id:UUID36;serialize:YAML # type: driver:File;id:UUID36;serialize:YAML # type: driver:File;id:UUID36;serialize:YAML # type: driver:File;id:UUID36;serialize:YAML # Test: SQLite.1. DSN: dbi:SQLite:dbname=/tmp/sessions.sqlite. ID generator: AutoIncrement. Serializer: DataDumper # Child (driver:SQLite;id:AutoIncrement;serialize:DataDumper) exited without calling finalize() Bailout called. Further testing stopped: install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: t /home/yt/.cpanm/work/1293159391.31545/Data-Session-1.02/blib/lib /home/yt/.cpanm/work/1293159391.31545/Data-Session-1.02/blib/arch /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64- linux /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2 /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2/x86_64-linux /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2 .) at (eval 84) line 3. # Failed test 'driver:SQLite;id:AutoIncrement;serialize:DataDumper' # at /home/yt/perl5/perlbrew/perls/perl- 5.12.2/lib/site_perl/5.12.2/Try/Tiny.pm line 67. FAILED--Further testing stopped: install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: t /home/yt/.cpanm/work/1293159391.31545/Data-Session-1.02/blib/lib /home/yt/.cpanm/work/1293159391.31545/Data-Session-1.02/blib/arch /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64- linux /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2 /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2/x86_64-linux /home/yt/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2 .) at (eval 84) line 3. -> FAIL Installing Data::Session failed. See /home/yt/.cpanm/build.log for details. Expiring 13 work directories. ### After installed DBD-SQLite ### Building and testing Data-Session-1.02 Building Data-Session # Test: File.1. DSN: dbi:File:. ID generator: AutoIncrement. Serializer: DataDumper ### SNIP ### # DSN name: SQLite.1. DSN: dbi:SQLite:dbname=/tmp/sessions.sqlite. ID generator: MD5. Serializer: DataDumper # type: driver:SQLite;id:MD5;serialize:DataDumper # id1: a1ab5e158d6e16abc8c22d1d9c45b8b1 # type: driver:SQLite;id:MD5;serialize:DataDumper # type: driver:SQLite;id:MD5;serialize:DataDumper # type: driver:SQLite;id:MD5;serialize:DataDumper # type: driver:SQLite;id:MD5;serialize:DataDumper # 1: Recovered known id a13923e994085fe959aff2e7c0482a8a from traverse # 2: Recovered known id 3e50ecad3cde258d27b06f7d5ccefc17 from traverse # 3: Recovered known id e8df0fbe1ca896cc8e55dae70eba41c4 from traverse # 4: Recovered known id 1d85cdc42117f450002d6523a2fe3e8a from traverse t/traverse.t .. ok All tests successful. Files=3, Tests=126, 7 wallclock secs ( 0.22 usr 0.05 sys + 1.99 cusr 0.29 csys = 2.55 CPU) Result: PASS -- yturtle(Satoshi Azuma) <ytnobody@gmail.com>
Subject: Re: [rt.cpan.org #64186] DBD-SQLite is needed into PREREQ_PM.
Date: Fri, 24 Dec 2010 17:34:30 +1100
To: bug-Data-Session [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Satoshi On Thu, 2010-12-23 at 22:48 -0500, Satoshi Azuma via RT wrote: Show quoted text
> Thu Dec 23 22:48:41 2010: Request 64186 was acted upon. > Transaction: Ticket created by YTURTLE > Queue: Data-Session > Subject: DBD-SQLite is needed into PREREQ_PM. > Broken in: 1.02 > Severity: Normal > Owner: Nobody > Requestors: ytnobody@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=64186 > > > > Hi. > > I encountered problem when installing Data-Session-1.02 into perl-5.12.2 > on my linux-box. I think PREREQ_PM needs DBD-SQLite.
You are right. I assumed DBD::SQLite was shipped with all recent versions of Perl. I'll release another version of Data::Session with this problem fixed. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622
Hi Satoshi I've patched this and released V 1.03. Thanx for the report.