Skip Menu |

This queue is for tickets about the Crypt-Random-Source-Strong-Win32 CPAN distribution.

Report information
The Basics
Id: 79119
Status: new
Priority: 0/
Queue: Crypt-Random-Source-Strong-Win32

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

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



Subject: install fails during testing on clean Windows 7 and Strawberry Perl
It looks like code intended for win2k (IS_WIN2K) is being executed by t\win32.t intentionally. Not sure if this is a code test coverage concern, but the IS_WIN2K specific code crashes Strawberry Perl on Windows 7. Note that install succeeds on my development-ready Windows 7 machine. The problem is I need to install this software on non-developer machines. I haven't been able to identify the failed system dependency. === versions: This is perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32- x86-multi-thread. Windows 7 Home Premium, Service Pack 1, 64-bit, clean install. === cpanm output: Show quoted text
> cpanm Crypt::Random::Source::Strong::Win32
--> Working on Crypt::Random::Source::Strong::Win32 Fetching http://www.cpan.org/authors/id/M/MK/MKANAT/Crypt-Random-Source- Strong-Win32-0.07.tar.gz ... OK Configuring Crypt-Random-Source-Strong-Win32-0.07 ... OK Building and testing Crypt-Random-Source-Strong-Win32-0.07 ... FAIL ! Installing Crypt::Random::Source::Strong::Win32 failed. See C:\Users\cbetti\.cpanm\build.log for details. === build.log: Building and testing Crypt-Random-Source-Strong-Win32-0.07 cp lib/Crypt/Random/Source/Strong/Win32.pm blib\lib\Crypt\Random\Source\Strong\Win32.pm C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/win32.t .. Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/13 subtests Test Summary Report ------------------- t/win32.t (Wstat: 1280 Tests: 8 Failed: 0) Non-zero exit status: 5 Parse errors: Bad plan. You planned 13 tests but ran 8. Files=1, Tests=8, 78 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CPU) Result: FAIL Failed 1/1 test programs. 0/8 subtests failed. dmake.exe: Error code 133, while making 'test_dynamic' -> FAIL Installing Crypt::Random::Source::Strong::Win32 failed. See C:\Users\cbetti\.cpanm\build.log for details. -> FAIL Bailing out the installation for Math-Random-Secure-0.06. Retry with --prompt or --force. === workaround: Show quoted text
> cpanm -n Crypt::Random::Source::Strong::Win32