Skip Menu |

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

Report information
The Basics
Id: 35530
Status: resolved
Priority: 0/
Queue: DBIx-Class-DigestColumns

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

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



Subject: test 08sha.t fail
In DBIx-Class-DigestColumns-0.06000 'make test' fail t/08sha..........compose_connection deprecated as of 0.08000 at /usr/share/perl5/DBIx/Class/Schema.pm line 513. t/08sha..........ok 1/12DBIx::Class::DigestColumns::digest_algorithm(): SHA could not be used as a digest algorithm: Can't locate Digest/SHA.pm in @INC (@INC contains: t/lib /home/joenio/src/debian/DBIx-Class-DigestColumns-0.06000/blib/lib /home/joenio/src/debian/DBIx-Class-DigestColumns-0.06000/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 180) line 3. # Looks like you planned 12 tests but only ran 2. # Looks like your test died just after 2. My environment is: $ perl -v This is perl, v5.8.8 built for i486-linux-gnu-thread-multi $ uname -a Linux debian 2.6.24-1-686 #1 SMP Sat Apr 19 00:37:55 UTC 2008 i686 GNU/Linux
On Tue Apr 29 17:55:13 2008, joenio wrote: Show quoted text
> In DBIx-Class-DigestColumns-0.06000 'make test' fail > > t/08sha..........compose_connection deprecated as of 0.08000 at > /usr/share/perl5/DBIx/Class/Schema.pm line 513. > t/08sha..........ok 1/12DBIx::Class::DigestColumns::digest_algorithm(): > SHA could not be used as a digest algorithm: Can't locate Digest/SHA.pm > in @INC (@INC contains: t/lib > /home/joenio/src/debian/DBIx-Class-DigestColumns-0.06000/blib/lib > /home/joenio/src/debian/DBIx-Class-DigestColumns-0.06000/blib/arch > /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 > /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 > /usr/local/lib/site_perl .) at (eval 180) line 3. > # Looks like you planned 12 tests but only ran 2. > # Looks like your test died just after 2. > > > My environment is: > > $ perl -v > This is perl, v5.8.8 built for i486-linux-gnu-thread-multi > > $ uname -a > Linux debian 2.6.24-1-686 #1 SMP Sat Apr 19 00:37:55 UTC 2008 i686
GNU/Linux Show quoted text
>
It looks like you need to install Digest::SHA and I forgot to add it to the build_requires. Will fix for next release. In the meantime I suggest you look at DBIx::Class::EncodedColumn which is a rewrite of DigestColumns to provide a better API and improved functionality along with extended capabilities
fixed in commit 9271