Skip Menu |

This queue is for tickets about the Cache CPAN distribution.

Report information
The Basics
Id: 97662
Status: rejected
Priority: 0/
Queue: Cache

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

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



Subject: Tests fail in newer perls
Running make for J/JS/JSWARTZ/Cache-Cache-1.06.tar.gz cp lib/Cache/SizeAwareMemoryCache.pm blib/lib/Cache/SizeAwareMemoryCache.pm cp lib/Cache/SizeAwareFileCache.pm blib/lib/Cache/SizeAwareFileCache.pm cp lib/Cache/BaseCache.pm blib/lib/Cache/BaseCache.pm cp lib/Cache/SharedMemoryBackend.pm blib/lib/Cache/SharedMemoryBackend.pm cp lib/Cache/BaseCacheTester.pm blib/lib/Cache/BaseCacheTester.pm cp lib/Cache/FileCache.pm blib/lib/Cache/FileCache.pm cp lib/Cache/SharedMemoryCache.pm blib/lib/Cache/SharedMemoryCache.pm cp lib/Cache/SizeAwareCache.pm blib/lib/Cache/SizeAwareCache.pm cp lib/Cache/Cache.pm blib/lib/Cache/Cache.pm cp lib/Cache/CacheTester.pm blib/lib/Cache/CacheTester.pm cp lib/Cache/Object.pm blib/lib/Cache/Object.pm cp lib/Cache/CacheSizer.pm blib/lib/Cache/CacheSizer.pm cp lib/Cache/SizeAwareSharedMemoryCache.pm blib/lib/Cache/SizeAwareSharedMemoryCache.pm cp lib/Cache/MemoryBackend.pm blib/lib/Cache/MemoryBackend.pm cp lib/Cache/SizeAwareCacheTester.pm blib/lib/Cache/SizeAwareCacheTester.pm cp lib/Cache/MemoryCache.pm blib/lib/Cache/MemoryCache.pm cp lib/Cache/CacheUtils.pm blib/lib/Cache/CacheUtils.pm cp lib/Cache/NullCache.pm blib/lib/Cache/NullCache.pm cp lib/Cache/FileBackend.pm blib/lib/Cache/FileBackend.pm cp lib/Cache/CacheMetaData.pm blib/lib/Cache/CacheMetaData.pm JSWARTZ/Cache-Cache-1.06.tar.gz /data/data/com.pdaxrom.cctools/root/cctools/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /data/data/home/bin/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/1_test_cache_interface.t t/2_test_memory_cache.t t/3_test_file_cache.t t/5_test_size_aware_file_cache.t t/6_test_size_aware_memory_cache.t t/1_test_cache_interface.t .......... ok t/2_test_memory_cache.t ............. Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06-kjYxNl/blib/lib/Cache/CacheTester.pm line 562. Compilation failed in require at t/2_test_memory_cache.t line 18. BEGIN failed--compilation aborted at t/2_test_memory_cache.t line 18. t/2_test_memory_cache.t ............. Dubious, test returned 22 (wstat 5632, 0x1600) Failed 35/35 subtests t/3_test_file_cache.t ............... Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06-kjYxNl/blib/lib/Cache/CacheTester.pm line 562. Compilation failed in require at t/3_test_file_cache.t line 18. BEGIN failed--compilation aborted at t/3_test_file_cache.t line 18. t/3_test_file_cache.t ............... Dubious, test returned 22 (wstat 5632, 0x1600) Failed 35/35 subtests t/5_test_size_aware_file_cache.t .... Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06-kjYxNl/blib/lib/Cache/CacheTester.pm line 562. Compilation failed in require at t/5_test_size_aware_file_cache.t line 18. BEGIN failed--compilation aborted at t/5_test_size_aware_file_cache.t line 18. t/5_test_size_aware_file_cache.t .... Dubious, test returned 22 (wstat 5632, 0x1600) Failed 48/48 subtests t/6_test_size_aware_memory_cache.t .. 1/48 Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06-kjYxNl/blib/lib/Cache/CacheTester.pm line 562. Compilation failed in require at t/6_test_size_aware_memory_cache.t line 18. BEGIN failed--compilation aborted at t/6_test_size_aware_memory_cache.t line 18. t/6_test_size_aware_memory_cache.t .. Dubious, test returned 22 (wstat 5632, 0x1600) Failed 48/48 subtests Test Summary Report ------------------- t/2_test_memory_cache.t (Wstat: 5632 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 22 Parse errors: Bad plan. You planned 35 tests but ran 1. t/3_test_file_cache.t (Wstat: 5632 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 22 Parse errors: Bad plan. You planned 35 tests but ran 1. t/5_test_size_aware_file_cache.t (Wstat: 5632 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 22 Parse errors: Bad plan. You planned 48 tests but ran 1. t/6_test_size_aware_memory_cache.t (Wstat: 5632 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 22 Parse errors: Bad plan. You planned 48 tests but ran 1. Files=5, Tests=5, 1 wallclock secs ( 0.27 usr 0.02 sys + 0.68 cusr 0.07 csys = 1.04 CPU) Result: FAIL Failed 4/5 test programs. 4/5 subtests failed. Makefile:891: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 22 JSWARTZ/Cache-Cache-1.06.tar.gz /data/data/com.pdaxrom.cctools/root/cctools/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports JSWARTZ/Cache-Cache-1.06.tar.gz
Hi, On Thu Jul 31 19:20:47 2014, Hugmeir wrote: Show quoted text
> > Running make for J/JS/JSWARTZ/Cache-Cache-1.06.tar.gz
You're trying to install the old Cache-Cache - not this one- https://metacpan.org/release/Cache . The latter should work with newer Perls: * http://www.cpantesters.org/distro/C/Cache.html?oncpan=1&distmat=1&version=2.10 Regards, -- Shlomi Fish
From: editor.buzzfeed [...] yahoo.com
BEGIN failed--compilation aborted at t/2_test_memory_cache.t line 18. t/2_test_memory_cache.t ............. Dubious, test returned 22 (wstat 5632, 0x1600) Failed 35/35 subtests t/3_test_file_cache.t ............... Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06-kjYxNl/blib/lib/Cache/CacheTester.pm line 562. Compilation failed in require at t/3_test_file_cache.t line 18. Thanks http://www.followthesteps.net/sky-customer-services/
On Mon Nov 09 06:45:14 2015, editor.buzzfeed@yahoo.com wrote: Show quoted text
> BEGIN failed--compilation aborted at t/2_test_memory_cache.t line 18. > t/2_test_memory_cache.t ............. Dubious, test returned 22 (wstat > 5632, 0x1600) Failed 35/35 subtests t/3_test_file_cache.t > ............... Can't use 'defined(@array)' (Maybe you should just > omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06- > kjYxNl/blib/lib/Cache/CacheTester.pm line 562. Compilation failed in > require at t/3_test_file_cache.t line 18. > > Thanks > http://www.followthesteps.net/sky-customer-services/
This is also a bug in Cache-Cache-1.06 - https://metacpan.org/release/Cache-Cache - there's already a 1.08 release of it. I'm going to reject this bug because it does not concern the "Cache" distribution.