Unable to install perl module Crypt::DSA - perl

I'm trying to install Perl module Crypt::DSA but it's not working. Unfortunately, there's nothing much i could find on Internet.
Here's the detail:
[root#jenkins_slave Crypt-DSA-1.17]# perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for Crypt::DSA
Writing MYMETA.yml and MYMETA.json
[root#vpc-jenkins_slave3 Crypt-DSA-1.17]# make
Skip blib/lib/Crypt/DSA/Signature.pm (unchanged)
Skip blib/lib/Crypt/DSA/Key/SSH2.pm (unchanged)
Skip blib/lib/Crypt/DSA.pm (unchanged)
Skip blib/lib/Crypt/DSA/Util.pm (unchanged)
Skip blib/lib/Crypt/DSA/KeyChain.pm (unchanged)
Skip blib/lib/Crypt/DSA/Key/PEM.pm (unchanged)
Skip blib/lib/Crypt/DSA/Key.pm (unchanged)
Manifying blib/man3/Crypt::DSA.3pm
Manifying blib/man3/Crypt::DSA::Key.3pm
Manifying blib/man3/Crypt::DSA::Key::PEM.3pm
Manifying blib/man3/Crypt::DSA::Key::SSH2.3pm
Manifying blib/man3/Crypt::DSA::KeyChain.3pm
Manifying blib/man3/Crypt::DSA::Signature.3pm
Manifying blib/man3/Crypt::DSA::Util.3pm
[root#jenkins_slave Crypt-DSA-1.17]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t .. 1/1 # Testing Crypt::DSA 1.17
t/00-compile.t .. ok
t/01-util.t ..... ok
t/02-sign.t ..... ok
t/03-keygen.t ... ok
t/04-pem.t ...... 1/26 Use of uninitialized value $_[3] in abs at /usr/share/perl5/vendor_perl/Convert/ASN1/_encode.pm line 83.
Use of uninitialized value $_[3] in int at /usr/share/perl5/vendor_perl/Convert/ASN1/_encode.pm line 92.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Convert/PEM.pm line 102.
# Failed test 'Load key using Crypt::DSA::key'
# at t/04-pem.t line 46.
Can't call method "p" on an undefined value at t/04-pem.t line 47.
# Looks like you planned 26 tests but ran 7.
# Looks like you failed 1 test of 7 run.
# Looks like your test exited with 255 just after 7.
t/04-pem.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 20/26 subtests
t/06-fips.t ..... 1/9 # This takes a couple of minutes on slower machines.
t/06-fips.t ..... ok
t/07-openid.t ... 1/11
# Failed test 'Parsed key'
# at t/07-openid.t line 39.
Can't call method "p" on an undefined value at t/07-openid.t line 40.
# Looks like you planned 11 tests but ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test exited with 255 just after 2.
t/07-openid.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 10/11 subtests
Test Summary Report
-------------------
t/04-pem.t (Wstat: 65280 Tests: 7 Failed: 1)
Failed test: 7
Non-zero exit status: 255
Parse errors: Bad plan. You planned 26 tests but ran 7.
t/07-openid.t (Wstat: 65280 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 255
Parse errors: Bad plan. You planned 11 tests but ran 2.
Files=7, Tests=54, 464 wallclock secs ( 0.05 usr 0.05 sys + 21.05 cusr 0.19 csys = 21.34 CPU)
Result: FAIL
Failed 2/7 test programs. 2/54 subtests failed.
make: *** [test_dynamic] Error 255
I'm working on a Linux box. Any help will really be appreciated.

Solved in the comments:
Installing the module shows two dependencies for the following tests.
t/04-pem.t depends on Crypt::DES_EDE3
t/07-openid.t depends on Convert::PEM
Make sure they are up to date

Related

Installation of Date::ICal fails when running the sanity tests

I am trying to install the module Date::ICal and it is failing one of the tests. The output is:
Running make test for RBOW/Date-ICal-2.678.tar.gz
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00load.t ........ ok
t/01sanity.t ...... 1/?
# Failed test 'Epoch time of 0'
# at t/01sanity.t line 13.
# got: '3155760000'
# expected: '0'
# Failed test 'Time should be stored in UTC anyway, right?'
# at t/01sanity.t line 28.
# got: '3155760000'
# expected: '0'
# Looks like you failed 2 tests of 22.
t/01sanity.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/22 subtests
t/02normalize.t ... ok
t/03components.t .. ok
t/04epoch.t ....... 1/?
# Failed test 'creation test from epoch (compare to epoch)'
# at t/04epoch.t line 8.
# got: '3155760000'
# expected: '0'
# Failed test 'creation test from epoch = 3600 (compare to epoch)'
# at t/04epoch.t line 19.
# got: '3155763600'
# expected: '3600'
# Looks like you failed 2 tests of 18.
t/04epoch.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/18 subtests
Failed 2/18 subtests
t/05ical.t ........ ok
t/06add.t ......... ok
t/07compare.t ..... ok
t/08offset.t ...... 1/?
# Failed test 'creation test from epoch (compare to epoch)'
# at t/08offset.t line 8.
# Looks like you failed 1 test of 30.
t/08offset.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/30 subtests
t/09greg.t ........ ok
t/10subtract.t .... ok
t/11duration.t .... ok
I have tried this on a Raspberry Pi3 and also in the Ubuntu app on Windows 11, with the same results on both.
It looks like they are both adding an offset of 3155760000 to the epoch. Any ideas why and how to fix it?
It looks like something is off by a year (3155760000 seconds in a year, roughly π*10^9). The module hasn't been updated in a year, and the warning in the module says not to use it:
Please note that this module is long-since abandoned. While I do accept
patches, and occasionally apply them, for the most part it is
recommended that you move off of this module and use the various modules
developed by the datetime project. You can find out more about the
datetime project at http://datetime.perl.org/
If you are installing this for some legacy thing, does the current version of the module match what you were using before?

How to rerun test while installing perl via perlbrew fails?

I installing perl-5.28.1 via perlbrew. Some tests fail:
../cpan/Tie-RefHash/t/storable.t ................................... ok
../cpan/Tie-RefHash/t/threaded.t ................................... skipped: -- threads aren't enabled in your perl, or Scalar::Util::weaken is missing
# Failed test 'timelocal year for 1970 1 2 0 0 0'
# at t/Local.t line 109.
# got: '170'
# expected: '70'
# Failed test 'timegm year for 1970 1 2 0 0 0'
# at t/Local.t line 124.
# got: '170'
# expected: '70'
# Looks like you failed 2 tests of 187.
../cpan/Time-Local/t/Local.t .......................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/187 subtests
(less 8 skipped subtests: 177 okay)
../cpan/Time-Piece/t/01base.t ...................................... ok
...
Test Summary Report
-------------------
../cpan/Time-Local/t/Local.t (Wstat: 512 Tests: 187 Failed: 2)
Failed tests: 6, 12
Non-zero exit status: 2
Files=2653, Tests=1157584, 928 wallclock secs (116.85 usr 11.01 sys + 603.60 cusr 55.01 csys = 786.47 CPU)
Result: FAIL
makefile:835: recipe for target 'test_harness' failed
make: *** [test_harness] Error 2
##### Brew Failed #####
How to rerun only this failed test?
To run a single one of perl's test file, you can use
t/TEST ../cpan/Time-Local/t/Local.t
This would be run from the following directory:
cd "${PERLBREW_ROOT:-$HOME/perl5/perlbrew}"
cd build/perl-5.x.y/perl-5.x.y
See the What if make test doesn't work? section of the INSTALL file in the same folder for more on testing perl.

CPAN dmake.exe: Error code 255, while making 'test_dynamic'

I start using Strawberry Perl and wanted to install some modules using the cpan command. But i receive the error message "Error code 255, while making 'test_dynamic'".
First i tried to install WWW::Mechanize::Firefox finding that i miss three other module: MozRepl::RemoteObject 0.39; Object::Import and Shell::Command. The first two of those 3 give the same error message. The Shell::Command installed whitout any error message.
MozRepl::RemoteObject 0.39:
Test Summary Report
-------------------
t/10-plugin-repl-enter.t (Wstat: 512 Tests: 3 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
t/16-plugin-repl-home.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
t/18-plugin-repl-util-help_url_for.t (Wstat: 768 Tests: 4 Failed: 3)
Failed tests: 2-4
Non-zero exit status: 3
t/19-plugin-repl-util-doc_for.t (Wstat: 768 Tests: 7 Failed: 3)
Failed tests: 2-3, 5
Non-zero exit status: 3
t/20-plugin-json.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=14, Tests=58, 6 wallclock secs ( 0.01 usr + 0.05 sys = 0.06 CPU)
Result: FAIL
Failed 5/14 test programs. 10/58 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
ZIGOROU/MozRepl-0.06.tar.gz
C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ZIGOROU/MozRepl-0.06.tar.gz
Stopping: 'test' failed for 'MozRepl'.
Object::Import
Test Summary Report
-------------------
t/04_handle.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 56 tests but ran 3.
Files=14, Tests=265, 3 wallclock secs ( 0.09 usr + 0.06 sys = 0.16 CPU)
Result: FAIL
Failed 1/14 test programs. 0/265 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
AMBRUS/Object-Import-1.004.tar.gz
C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports AMBRUS/Object-Import-1.004.tar.gz
Stopping: 'install' failed for 'Object::Import'.
Failed during this command:
AMBRUS/Object-Import-1.004.tar.gz : make_test NO
I'm not a Perl programmer, just startet.
/edit: the other question is about another package. I read the cpantesters page and the packages should be OK. But could it be that there is something whit the 64-bit version. On the cpantesters site are all windows related entries are for win32:
http://www.cpantesters.org/distro/O/Object-Import.html#Object-Import-1.004
http://www.cpantesters.org/distro/M/MozRepl-RemoteObject.html#MozRepl-RemoteObject-0.39
/edit2: Tried to get some reports and run both installs again, now it looks like the MozRepl::RemoteObject went good, but the Object::Import didn't: So here is the error report from that:
Running install for module 'Object::Import'
Checksum for C:\STRAWB~1\cpan\sources\authors\id\A\AM\AMBRUS\Object-Import-1.004.tar.gz ok
Scanning cache C:\STRAWB~1\cpan\build for sizes
............................................................................DONE
Configuring A/AM/AMBRUS/Object-Import-1.004.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Object::Import
Writing MYMETA.yml and MYMETA.json
AMBRUS/Object-Import-1.004.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for A/AM/AMBRUS/Object-Import-1.004.tar.gz
cp lib/Object/Import.pm blib\lib\Object\Import.pm
AMBRUS/Object-Import-1.004.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- OK
Running make test
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00_require.t ... ok
t/01_basic.t ..... ok
t/02_auto.t ...... ok
t/03_bigint.t .... ok
t/04_handle.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 53/56 subtests
t/05_nometh.t .... ok
t/06_deref.t ..... ok
t/07_mary.t ...... ok
t/08_target.t .... ok
t/09_parm.t ...... ok
t/10_alias.t ..... ok
t/11_exporter.t .. ok
t/12_taint.t ..... ok
t/13_meta.t ...... ok
Test Summary Report
-------------------
t/04_handle.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 56 tests but ran 3.
Files=14, Tests=265, 3 wallclock secs ( 0.09 usr + 0.06 sys = 0.16 CPU)
Result: FAIL
AMBRUS/Object-Import-1.004.tar.gz
C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports AMBRUS/Object-Import-1.004.tar.gz
Stopping: 'install' failed for 'Object::Import'.

Smoke tests fail for most CPANTesters, but work fine on Travis CI and locally under perlbrew-built Perl

This is very similar to my recent question except that this time, the smoke tests of CGI::Github::Webhook are fine on Travis CI as well as locally (both, with the OS installed Perl 5.22 and with a Perl 5.24 built and installed via Perlbrew, see below), but fail in all but one CPAN Testers report.
The most common error there looks like this:
PERL_DL_NONLAZY=1 "/bbbike/perl-5.24.0/bin/perl5.24.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/auth-fail.t ............ ok
t/author-critic.t ........ skipped: these tests are for testing by the author
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
t/basic-functionality.t .. ok
Attempt to reload List/Util.pm aborted.
Compilation failed in require at /bbbike/perl-5.24.0/lib/site_perl/5.24.0/Sub/Exporter/Progressive.pm line 9.
BEGIN failed--compilation aborted at /bbbike/perl-5.24.0/lib/site_perl/5.24.0/Sub/Exporter/Progressive.pm line 9.
Compilation failed in require at /bbbike/perl-5.24.0/lib/site_perl/5.24.0/Devel/GlobalDestruction.pm line 11.
BEGIN failed--compilation aborted at /bbbike/perl-5.24.0/lib/site_perl/5.24.0/Devel/GlobalDestruction.pm line 11.
Compilation failed in require at /bbbike/perl-5.24.0/lib/site_perl/5.24.0/Moo/_Utils.pm line 26.
BEGIN failed--compilation aborted at /bbbike/perl-5.24.0/lib/site_perl/5.24.0/Moo/_Utils.pm line 26.
Compilation failed in require at /bbbike/perl-5.24.0/lib/site_perl/5.24.0/Moo.pm line 12.
BEGIN failed--compilation aborted at /bbbike/perl-5.24.0/lib/site_perl/5.24.0/Moo.pm line 12.
Compilation failed in require at /tmpfs/.cpan-build-cpansand/2016060903/CGI-Github-Webhook-0.04-pS8kOL/blib/lib/CGI/Github/Webhook.pm line 11.
BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016060903/CGI-Github-Webhook-0.04-pS8kOL/blib/lib/CGI/Github/Webhook.pm line 11.
Compilation failed in require at ./cgitest.pl line 10.
BEGIN failed--compilation aborted at ./cgitest.pl line 10.
script /cgi-bin/cgitest.pl generated no valid headers at /opt/perl-5.24.0/lib/site_perl/5.24.0/CGI/Test.pm line 468.
Use of uninitialized value $in_fname in unlink at /opt/perl-5.24.0/lib/site_perl/5.24.0/CGI/Test.pm line 469.
Use of uninitialized value $in_fname in concatenation (.) or string at /opt/perl-5.24.0/lib/site_perl/5.24.0/CGI/Test.pm line 469.
can't unlink : No such file or directory at /opt/perl-5.24.0/lib/site_perl/5.24.0/CGI/Test.pm line 469.
Locally with my perlbrew-built Perl 5.24 it looks like this:
[…]-Github-Webhook-0.04 → perlbrew use 5.24.0
[…]-Github-Webhook-0.04 → which perl
/home/abe/perl5/perlbrew/perls/perl-5.24.0/bin/perl
[…]-Github-Webhook-0.04 → perl -v
This is perl 5, version 24, subversion 0 (v5.24.0) built for x86_64-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2016, Larry Wall
Perl may be copied […]
[…]-Github-Webhook-0.04 → perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for CGI::Github::Webhook
Writing MYMETA.yml and MYMETA.json
[…]-Github-Webhook-0.04 → prove -l
t/auth-fail.t ............ ok
t/author-critic.t ........ skipped: these tests are for testing by the author
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
t/basic-functionality.t .. ok
t/cgi-test-auth-fail.t ... ok
t/cgi-test.t ............. ok
t/methods-non-json.t ..... ok
t/methods.t .............. ok
t/release-kwalitee.t ..... skipped: these tests are for release candidate testing
All tests successful.
Files=10, Tests=52, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.66 cusr 0.07 csys = 0.77 CPU)
Result: PASS
Even if I call it the very same way as done in the CPAN Testers report, it does not fail for me:
[…]-Github-Webhook-0.04 → PERL_DL_NONLAZY=1 /home/abe/perl5/perlbrew/perls/perl-5.24.0/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/auth-fail.t ............ ok
t/author-critic.t ........ skipped: these tests are for testing by the author
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
t/basic-functionality.t .. ok
t/cgi-test-auth-fail.t ... ok
t/cgi-test.t ............. ok
t/methods-non-json.t ..... ok
t/methods.t .............. ok
t/release-kwalitee.t ..... skipped: these tests are for release candidate testing
All tests successful.
Files=10, Tests=52, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.68 cusr 0.05 csys = 0.77 CPU)
Result: PASS
But I fail to see why I can't reproduce those errors despite nearly every CPAN Testers report fails for the 0.04 version.
You are probably getting a different mix of libraries with perlbrew than with a vanilla cpan install. From your error messages, it looks like a few dependencies are missing.
I tried installing through cpan on perl (5.20.1), the tests seem to fail due to a warning getting inserted into the cgi output by Path::Tiny
cpan CGI::Github::Webhook
... skipping dependencies ...
CGI::Test is up to date (1.111).
ABE/CGI-Github-Webhook-0.04.tar.gz
Has already been unwrapped into directory /home/felix/.cpan/build/CGI-Github-Webhook-0.04-10wq5g
ABE/CGI-Github-Webhook-0.04.tar.gz
Has already been prepared
Running make for A/AB/ABE/CGI-Github-Webhook-0.04.tar.gz
cp static-badges/errored.png blib/lib/auto/share/module/CGI-Github-Webhook/errored.png
cp static-badges/failed.svg blib/lib/auto/share/module/CGI-Github-Webhook/failed.svg
cp static-badges/failed.png blib/lib/auto/share/module/CGI-Github-Webhook/failed.png
cp static-badges/success.svg blib/lib/auto/share/module/CGI-Github-Webhook/success.svg
cp static-badges/errored.svg blib/lib/auto/share/module/CGI-Github-Webhook/errored.svg
cp static-badges/success.png blib/lib/auto/share/module/CGI-Github-Webhook/success.png
cp lib/CGI/Github/Webhook.pm blib/lib/CGI/Github/Webhook.pm
Manifying 1 pod document
ABE/CGI-Github-Webhook-0.04.tar.gz
/usr/bin/make -- OK
Running make test
Skip blib/lib/auto/share/module/CGI-Github-Webhook/success.png (unchanged)
Skip blib/lib/auto/share/module/CGI-Github-Webhook/errored.svg (unchanged)
Skip blib/lib/auto/share/module/CGI-Github-Webhook/failed.svg (unchanged)
Skip blib/lib/auto/share/module/CGI-Github-Webhook/errored.png (unchanged)
Skip blib/lib/auto/share/module/CGI-Github-Webhook/failed.png (unchanged)
Skip blib/lib/auto/share/module/CGI-Github-Webhook/success.svg (unchanged)
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/auth-fail.t ............ 1/3
# Failed test 'CGI output as expected'
# at t/auth-fail.t line 28.
# got: 'Unrecognized option(s) passed to make_path(): err at /usr/local/share/perl/5.20.1/Path/Tiny.pm line 1117.
# Content-Type: text/plain; charset=utf-8
#
# Authentication failed
# '
# expected: 'Content-Type: text/plain; charset=utf-8
#
# Authentication failed
# '
# Looks like you failed 1 test of 3.
t/auth-fail.t ............ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
t/author-critic.t ........ skipped: these tests are for testing by the author
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
t/basic-functionality.t .. 1/12
# Failed test 'CGI output as expected'
# at t/basic-functionality.t line 33.
# got: 'Unrecognized option(s) passed to make_path(): err at /usr/local/share/perl/5.20.1/Path/Tiny.pm line 1117.
# Content-Type: text/plain; charset=utf-8
#
# Successfully triggered
# '
# expected: 'Content-Type: text/plain; charset=utf-8
#
# Successfully triggered
# '
# Failed test 'CGI output as expected'
# at t/basic-functionality.t line 65.
# got: 'Unrecognized option(s) passed to make_path(): err at /usr/local/share/perl/5.20.1/Path/Tiny.pm line 1117.
# Content-Type: text/plain; charset=utf-8
#
# Trigger failed
# '
# expected: 'Content-Type: text/plain; charset=utf-8
#
# Trigger failed
# '
# Looks like you failed 2 tests of 12.
t/basic-functionality.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/12 subtests
t/cgi-test-auth-fail.t ... ok
t/cgi-test.t ............. ok
t/methods-non-json.t ..... Unrecognized option(s) passed to make_path(): err at /usr/local/share/perl/5.20.1/Path/Tiny.pm line 1117.
t/methods-non-json.t ..... ok
t/methods.t .............. Unrecognized option(s) passed to make_path(): err at /usr/local/share/perl/5.20.1/Path/Tiny.pm line 1117.
t/methods.t .............. ok
t/release-kwalitee.t ..... skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/auth-fail.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 2
Non-zero exit status: 1
t/basic-functionality.t (Wstat: 512 Tests: 12 Failed: 2)
Failed tests: 2, 8
Non-zero exit status: 2
Files=10, Tests=52, 3 wallclock secs ( 0.10 usr 0.02 sys + 2.41 cusr 0.25 csys = 2.78 CPU)
Result: FAIL
Failed 2/10 test programs. 3/52 subtests failed.
Makefile:878: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
ABE/CGI-Github-Webhook-0.04.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ABE/CGI-Github-Webhook-0.04.tar.gz
Here is a stacktrace for that warning:
cpan look CGI::Github::Webhook
/.cpan/build/CGI-Github-Webhook-0.04-wA0tww/t $ perl -d -I../lib cgi/basic.pl 'echo foo'
Loading DB routines from perl5db.pl version 1.44
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
Unrecognized option(s) passed to make_path(): err at /usr/local/share/perl/5.20.1/Path/Tiny.pm line 1117.
at /usr/local/share/perl/5.20.1/File/Path.pm line 115.
File::Path::mkpath("/tmp/XtmjrOLDl8/auto/share/module") called at /usr/local/share/perl/5.20.1/Path/Tiny.pm line 1117
Path::Tiny::mkpath(Path::Tiny=ARRAY(0xa6e67cc)) called at /usr/local/share/perl/5.20.1/Test/File/ShareDir/TempDirObject.pm line 75
Test::File::ShareDir::TempDirObject::_module_tempdir(Test::File::ShareDir::TempDirObject=HASH(0xa5b316c)) called at /usr/local/share/perl/5.20.1/Test/File/ShareDir/TempDirObject.pm line 112
Test::File::ShareDir::TempDirObject::_module_share_target_dir(Test::File::ShareDir::TempDirObject=HASH(0xa5b316c), "CGI::Github::Webhook") called at /usr/local/share/perl/5.20.1/Test/File/ShareDir/TempDirObject.pm line 132
Test::File::ShareDir::TempDirObject::_install_module(Test::File::ShareDir::TempDirObject=HASH(0xa5b316c), "CGI::Github::Webhook") called at /usr/local/share/perl/5.20.1/Test/File/ShareDir.pm line 60
Test::File::ShareDir::import("Test::File::ShareDir", "-share", HASH(0xa416f90)) called at cgi/basic.pl line 9
main::BEGIN() called at cgi/basic.pl line 13
eval {...} called at cgi/basic.pl line 13
main::(cgi/basic.pl:16): my $cgi = CGI->new();

Trouble installing Time::Out Module in Perl

I'm trying to install Time::Out.
The error looks to be coming from the tar file. Do I need to install anything more? I get the following:
install Time::Out
Reading 'C:\Perl\cpan\Metadata'
Database was generated on Thu, 05 Jun 2014 08:53:02 GMT
Running install for module 'Time::Out'
Checksum for C:\Perl\cpan\sources\authors\id\P\PA\PATL\Time-Out-0.11.tar.gz ok
Scanning cache C:\Perl/cpan/build for sizes
............................................................................DONE
Time-Out-0.11/
Time-Out-0.11/MANIFEST
Time-Out-0.11/t/
Time-Out-0.11/t/01_init.t
Time-Out-0.11/t/pod.t
Time-Out-0.11/t/03_exceptions.t
Time-Out-0.11/t/02_usage.t
Time-Out-0.11/Out.pod
Time-Out-0.11/README
Time-Out-0.11/Out.pm
Time-Out-0.11/META.yml
Time-Out-0.11/Makefile.PL
Time-Out-0.11/Changes
Configuring P/PA/PATL/Time-Out-0.11.tar.gz with Makefile.PL
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Time::Out
Writing MYMETA.yml and MYMETA.json
PATL/Time-Out-0.11.tar.gz
C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK
Running make for P/PA/PATL/Time-Out-0.11.tar.gz
cp Out.pm blib\lib\Time\Out.pm
cp Out.pod blib\lib\Time\Out.pod
PATL/Time-Out-0.11.tar.gz
C:\Perl\site\bin\dmake.exe -- OK
Running make test
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Te
st::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/01_init.t ........ ok
t/02_usage.t .......
The following tests use sleep() so please be patient...
t/02_usage.t ....... 10/15 # Failed test 11 in t/02_usage.t at line 97
# t/02_usage.t line 97 is: ok($# eq 'timeout') ;
t/02_usage.t ....... 11/15 # Failed test 12 in t/02_usage.t at line 108
# t/02_usage.t line 108 is: ok($# eq 'timeout') ;
# Failed test 13 in t/02_usage.t at line 109
# t/02_usage.t line 109 is: ok(!$seen) ;
t/02_usage.t ....... Failed 3/15 subtests
(less 1 skipped subtest: 11 okay)
t/03_exceptions.t .. ok
t/pod.t ............ skipped: Test::Pod 1.00 required for testing POD
Test Summary Report
-------------------
t/02_usage.t (Wstat: 0 Tests: 15 Failed: 3)
Failed tests: 11-13
Files=4, Tests=19, 23 wallclock secs ( 0.09 usr + 0.05 sys = 0.14 CPU)
Result: FAIL
Failed 1/4 test programs. 3/19 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
PATL/Time-Out-0.11.tar.gz
C:\Perl\site\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PATL/Time-Out-0.11.tar.gz
Failed during this command:
PATL/Time-Out-0.11.tar.gz : make_test NO
Is there another module I can use similar to the Time::Out? Besides alarm?
Per the Time::Out documentation, it does not work for blocking IO on windows. This means - at a minimum - that the tests will fail. You can skip the tests from the cpan shell using force install Time::Out, but this may mean that it doesn't work for your purposes.