Skip Menu |

This queue is for tickets about the Time-Mock CPAN distribution.

Report information
The Basics
Id: 103952
Status: new
Priority: 0/
Queue: Time-Mock

People
Owner: Nobody in particular
Requestors: roger [...] rogerdcook.com
Cc:
AdminCc:

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



Subject: Cannot install on Windows
Date: Fri, 24 Apr 2015 17:43:34 -0500
To: <bug-Time-Mock [...] rt.cpan.org>
From: "Roger D. Cook" <roger [...] rogerdcook.com>
Hello. Here is the CPAN installation sequence for this module: Show quoted text
cpan> install Time::Mock
Database was generated on Fri, 24 Apr 2015 20:22:58 GMT Running install for module 'Time::Mock' Checksum for C:STRAWB~1cpansourcesauthorsidEEWEWILHELMTime-Mock-v0.0.2.tar.gz ok Scanning cache C:STRAWB~1cpanbuild for sizes ............................................................................DONE Configuring E/EW/EWILHELM/Time-Mock-v0.0.2.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Time-Mock' version 'v0.0.2' EWILHELM/Time-Mock-v0.0.2.tar.gz C:Strawberryperlbinperl.exe Build.PL -- OK Running Build for E/EW/EWILHELM/Time-Mock-v0.0.2.tar.gz Building Time-Mock EWILHELM/Time-Mock-v0.0.2.tar.gz C:Strawberryperlbinperl.exe ./Build -- OK Running Build test t0-load.t .. 1/1 # Testing Time::Mock v0.0.2 t0-load.t .. ok timport.t ... ok ttime.t ..... Time::HiRes::alarm(): unimplemented in this platform at C:STRAWB~1cpanbuildTime-Mock-v0.0.2-jcos0Vbliblib/Time/Mock.pm line 225. ttime.t ..... 1/? # Looks like your test exited with 255 just after 1. ttime.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed Test Summary Report ------------------- ttime.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Files=3, Tests=9, 2 wallclock secs ( 0.20 usr + 0.22 sys = 0.42 CPU) Result: FAIL Failed 1/3 test programs. 0/9 subtests failed. EWILHELM/Time-Mock-v0.0.2.tar.gz C:Strawberryperlbinperl.exe ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports EWILHELM/Time-Mock-v0.0.2.tar.gz Stopping: 'install' failed for 'Time::Mock'. Failed during this command: EWILHELM/Time-Mock-v0.0.2.tar.gz : make_test NO Show quoted text
cpan>
Perl version: C:Usersroger.d.cookDocuments>perl -v This is perl 5, version 20, subversion 2 (v5.20.2) built for MSWin32-x86-multi-thread-64int Copyright 1987-2015, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. C:Usersroger.d.cookDocuments> Time::HiRes::alarm is not apparently implemented in Win32. This causes line 255 of Mock.pm to choke. I'm not sure what an appropriate workaround would be, but perhaps returning CORE::alarm(0) unless($length or ($^O eq 'MSWin32')) roger