Subject: | Can't call method "bmodpow" on an undefined value |
t/01-verify.t exits because it can not call method "bmodpow" on an
undefined value.
The error comes up when building typekey for ubuntu 11.10.
Subject: | typekey-build-log.txt |
cpanm (App::cpanminus) 1.4008 on perl 5.012004 built for x86_64-linux-gnu-thread-multi
Work directory is /home/johansyd/.cpanm/work/1334931364.19037
You have make /usr/bin/make
You have LWP 6.04
You have /bin/tar: tar (GNU tar) 1.25
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Authen::TypeKey on cpanmetadb ...
--> Working on Authen::TypeKey
Fetching http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Authen-TypeKey-0.05.tar.gz
-> OK
Unpacking Authen-TypeKey-0.05.tar.gz
Entering Authen-TypeKey-0.05
Checking configure dependencies from META.yml
Configuring Authen-TypeKey-0.05
Running Build.PL
*** ExtUtils::AutoInstall version 0.56
*** Checking for dependencies...
[Core Features]
- Class::ErrorHandler ...loaded. (0.01)
- Math::BigInt ...loaded. (1.993)
- MIME::Base64 ...loaded. (3.08)
- Digest::SHA1 ...loaded. (2.13)
- LWP ...loaded. (6.04)
*** ExtUtils::AutoInstall configuration finished.
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Authen-TypeKey' version '0.05'
-> OK
Checking dependencies from MYMETA.yml ...
Checking if you have Math::BigInt 0 ... Yes (1.993)
Checking if you have MIME::Base64 0 ... Yes (3.08)
Checking if you have Digest::SHA1 0 ... Yes (2.13)
Checking if you have LWP 0 ... Yes (6.04)
Checking if you have Class::ErrorHandler 0 ... Yes (0.01)
Building and testing Authen-TypeKey-0.05
Building Authen-TypeKey
t/00-compile.t ...... ok
Can't call method "bmodpow" on an undefined value at /home/johansyd/.cpanm/work/1334931364.19037/Authen-TypeKey-0.05/blib/lib/Authen/TypeKey.pm line 86.
# Looks like you planned 21 tests but ran 19.
# Looks like your test exited with 255 just after 19.
t/01-verify.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/21 subtests
t/02-invalid-sig.t .. ok
Test Summary Report
-------------------
t/01-verify.t (Wstat: 65280 Tests: 19 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 21 tests but ran 19.
Files=3, Tests=22, 2 wallclock secs ( 0.04 usr 0.00 sys + 0.29 cusr 0.05 csys = 0.38 CPU)
Result: FAIL
Failed 1/3 test programs. 0/22 subtests failed.
-> FAIL Installing Authen::TypeKey failed. See /home/johansyd/.cpanm/build.log for details.
Expiring 22 work directories.