Skip Menu |

This queue is for tickets about the CGI-Cache CPAN distribution.

Report information
The Basics
Id: 19770
Status: resolved
Priority: 0/
Queue: CGI-Cache

People
Owner: Nobody in particular
Requestors: sergio-s-freire [...] ptinovacao.pt
Cc:
AdminCc:

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



Subject: dependancy missing in Makefile.PL
Hi, while trying to build this module I found that the first step doesnt check to see if Digest::SHA1 is installed. Running "make" does not give problems but running "make test" gives problems because Digest::SHA1 may not be installed and is required. See bellow. Regards, Sergio Freire # perl Makefile.PL *** ExtUtils::AutoInstall version 0.59 *** Checking for dependencies... [Core Features] - Test::More ...loaded. (0.47) - File::Path ...loaded. (1.0404) - File::Path ...loaded. (1.0404) - Tie::Restore ...loaded. (0.11) - File::Spec ...loaded. (0.82) - Cache::Cache ...loaded. (1.02) - Storable ...loaded. (2.15) *** ExtUtils::AutoInstall configuration finished. Writing Makefile for CGI::Cache ------------------------------------------------------------------------------ # make test ... .... Failed 6/6 tests, 0.00% okay t/timed_tests..................Can't locate Digest/SHA1.pm in @INC (@INC contains: t inc blib/arch blib/lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileCache.pm line 20. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileCache.pm line 20. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.6.1/Cache/SizeAwareFileCache.pm line 19. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.6.1/Cache/SizeAwareFileCache.pm line 19. Compilation failed in require at blib/lib/CGI/Cache.pm line 9. BEGIN failed--compilation aborted at blib/lib/CGI/Cache.pm line 9. Compilation failed in require at t/timed_tests.t line 7. BEGIN failed--compilation aborted at t/timed_tests.t line 7. t/timed_tests..................dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-21 Failed 21/21 tests, 0.00% okay t/user_specified_filehandle....Can't locate Digest/SHA1.pm in @INC (@INC contains: t inc blib/arch blib/lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileCache.pm line 20. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileCache.pm line 20. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.6.1/Cache/SizeAwareFileCache.pm line 19. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.6.1/Cache/SizeAwareFileCache.pm line 19. Compilation failed in require at blib/lib/CGI/Cache.pm line 9. BEGIN failed--compilation aborted at blib/lib/CGI/Cache.pm line 9. Compilation failed in require at t/user_specified_filehandle.t line 7. BEGIN failed--compilation aborted at t/user_specified_filehandle.t line 7. t/user_specified_filehandle....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay
On Wed Jun 07 16:33:08 2006, guest wrote: Show quoted text
> t/timed_tests..................Can't locate Digest/SHA1.pm in @INC > (@INC > contains: t inc blib/arch blib/lib /usr/lib/perl5/5.6.1/i386-linux > /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux > /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux > /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at > /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15. > BEGIN failed--compilation aborted at > /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15.
I don't use Digest::SHA1. Looking at the trace above, it looks like your Cache::Cache installation isn't installed right. I checked the Cache::Cache dependencies, and that module does reference Digest::SHA1. I would reinstall Cache::Cache (and any required modules).
CC: <dag [...] wieers.com>, "Mario Moreira" <Moreira [...] ptinovacao.pt>
Subject: Re: [rt.cpan.org #19770] dependancy missing in Makefile.PL
Date: Wed, 7 Jun 2006 22:09:35 +0100
To: <bug-CGI-Cache [...] rt.cpan.org>
From: "Sergio Freire" <etfreire [...] ua.pt>
Hi. you're right, check this out. I installed an RPM from Freshrpms/dag "perl-Cache-Cache-1.02-3.0.rh7.rf" The package should require perl(Digest::SHA1) ... and it doesn't. I cc Dag once again :) [root@smsc root]# rpm -q --provides perl-Cache-Cache perl(Cache::BaseCache) perl(Cache::BaseCacheTester) perl(Cache::Cache) = 1.02 perl(Cache::CacheMetaData) perl(Cache::CacheSizer) perl(Cache::CacheTester) perl(Cache::CacheUtils) perl(Cache::FileBackend) perl(Cache::FileCache) perl(Cache::MemoryBackend) perl(Cache::MemoryCache) perl(Cache::NullCache) perl(Cache::Object) perl(Cache::SharedMemoryBackend) perl(Cache::SharedMemoryCache) perl(Cache::SizeAwareCache) perl(Cache::SizeAwareCacheTester) perl(Cache::SizeAwareFileCache) perl(Cache::SizeAwareMemoryCache) perl(Cache::SizeAwareSharedMemoryCache) perl-Cache-Cache = 1.02-3.0.rh7.rf [root@smsc root]# rpm -q --requires perl-Cache-Cache perl >= 0:5.8.0 perl(Error) perl(Storable) perl(IPC::ShareLite) rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(VersionedDependencies) <= 3.0.3-1 [root@smsc root]# Regards, Sergio Freire Show quoted text
----- Original Message ----- From: " via RT" <bug-CGI-Cache@rt.cpan.org> To: <sergio-s-freire@ptinovacao.pt> Sent: Wednesday, June 07, 2006 9:53 PM Subject: [rt.cpan.org #19770] dependancy missing in Makefile.PL <URL: http://rt.cpan.org/Ticket/Display.html?id=19770 > On Wed Jun 07 16:33:08 2006, guest wrote:
> t/timed_tests..................Can't locate Digest/SHA1.pm in @INC > (@INC > contains: t inc blib/arch blib/lib /usr/lib/perl5/5.6.1/i386-linux > /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux > /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux > /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at > /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15. > BEGIN failed--compilation aborted at > /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15.
I don't use Digest::SHA1. Looking at the trace above, it looks like your Cache::Cache installation isn't installed right. I checked the Cache::Cache dependencies, and that module does reference Digest::SHA1. I would reinstall Cache::Cache (and any required modules). -- ---------------------------------------- I am using the free version of SPAMfighter for private users. It has removed 423 spam emails to date. Paying users do not have this message in their emails. Get the free SPAMfighter here: http://www.spamfighter.com/len
CC: <dag [...] wieers.com>, "Mario Moreira" <Moreira [...] ptinovacao.pt>
Subject: Re: [rt.cpan.org #19770] dependancy missing in Makefile.PL
Date: Wed, 7 Jun 2006 22:09:35 +0100
To: <bug-CGI-Cache [...] rt.cpan.org>
From: "Sergio Freire" <etfreire [...] ua.pt>
Hi. you're right, check this out. I installed an RPM from Freshrpms/dag "perl-Cache-Cache-1.02-3.0.rh7.rf" The package should require perl(Digest::SHA1) ... and it doesn't. I cc Dag once again :) [root@smsc root]# rpm -q --provides perl-Cache-Cache perl(Cache::BaseCache) perl(Cache::BaseCacheTester) perl(Cache::Cache) = 1.02 perl(Cache::CacheMetaData) perl(Cache::CacheSizer) perl(Cache::CacheTester) perl(Cache::CacheUtils) perl(Cache::FileBackend) perl(Cache::FileCache) perl(Cache::MemoryBackend) perl(Cache::MemoryCache) perl(Cache::NullCache) perl(Cache::Object) perl(Cache::SharedMemoryBackend) perl(Cache::SharedMemoryCache) perl(Cache::SizeAwareCache) perl(Cache::SizeAwareCacheTester) perl(Cache::SizeAwareFileCache) perl(Cache::SizeAwareMemoryCache) perl(Cache::SizeAwareSharedMemoryCache) perl-Cache-Cache = 1.02-3.0.rh7.rf [root@smsc root]# rpm -q --requires perl-Cache-Cache perl >= 0:5.8.0 perl(Error) perl(Storable) perl(IPC::ShareLite) rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(VersionedDependencies) <= 3.0.3-1 [root@smsc root]# Regards, Sergio Freire Show quoted text
----- Original Message ----- From: " via RT" <bug-CGI-Cache@rt.cpan.org> To: <sergio-s-freire@ptinovacao.pt> Sent: Wednesday, June 07, 2006 9:53 PM Subject: [rt.cpan.org #19770] dependancy missing in Makefile.PL <URL: http://rt.cpan.org/Ticket/Display.html?id=19770 > On Wed Jun 07 16:33:08 2006, guest wrote:
> t/timed_tests..................Can't locate Digest/SHA1.pm in @INC > (@INC > contains: t inc blib/arch blib/lib /usr/lib/perl5/5.6.1/i386-linux > /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux > /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux > /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at > /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15. > BEGIN failed--compilation aborted at > /usr/lib/perl5/vendor_perl/5.6.1/Cache/FileBackend.pm line 15.
I don't use Digest::SHA1. Looking at the trace above, it looks like your Cache::Cache installation isn't installed right. I checked the Cache::Cache dependencies, and that module does reference Digest::SHA1. I would reinstall Cache::Cache (and any required modules). -- ---------------------------------------- I am using the free version of SPAMfighter for private users. It has removed 423 spam emails to date. Paying users do not have this message in their emails. Get the free SPAMfighter here: http://www.spamfighter.com/len
Resolved. RPM problem.