Skip Menu |

This queue is for tickets about the Crypt-DH CPAN distribution.

Report information
The Basics
Id: 54130
Status: open
Priority: 0/
Queue: Crypt-DH

People
Owner: Nobody in particular
Requestors: rmb32 [...] cornell.edu
Cc:
AdminCc:

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



Subject: tests do not run in finite time
cpan Crypt::DH CPAN: Storable loaded ok (v2.18) Going to read '/crypt/rob/.cpan/Metadata' Database was generated on Fri, 29 Jan 2010 13:48:42 GMT CPAN: YAML loaded ok (v0.68) Running install for module 'Crypt::DH' Running make for B/BT/BTROTT/Crypt-DH-0.06.tar.gz CPAN: LWP::UserAgent loaded ok (v5.826) CPAN: Time::HiRes loaded ok (v1.9711) CPAN: URI::URL loaded ok (v5.03) CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.02) Checksum for /crypt/rob/cpan-mini/authors/id/B/BT/BTROTT/Crypt-DH-0.06.tar.gz ok CPAN: Archive::Tar loaded ok (v1.48) Will not use Archive::Tar, need 1.00 Crypt-DH-0.06/ Crypt-DH-0.06/Changes Crypt-DH-0.06/inc/ Crypt-DH-0.06/inc/ExtUtils/ Crypt-DH-0.06/inc/ExtUtils/AutoInstall.pm Crypt-DH-0.06/inc/Module/ Crypt-DH-0.06/inc/Module/Install/ Crypt-DH-0.06/inc/Module/Install/AutoInstall.pm Crypt-DH-0.06/inc/Module/Install/Base.pm Crypt-DH-0.06/inc/Module/Install/Can.pm Crypt-DH-0.06/inc/Module/Install/Fetch.pm Crypt-DH-0.06/inc/Module/Install/Include.pm Crypt-DH-0.06/inc/Module/Install/Makefile.pm Crypt-DH-0.06/inc/Module/Install/Metadata.pm Crypt-DH-0.06/inc/Module/Install/Win32.pm Crypt-DH-0.06/inc/Module/Install/WriteAll.pm Crypt-DH-0.06/inc/Module/Install.pm Crypt-DH-0.06/lib/ Crypt-DH-0.06/lib/Crypt/ Crypt-DH-0.06/lib/Crypt/DH.pm Crypt-DH-0.06/Makefile.PL Crypt-DH-0.06/MANIFEST Crypt-DH-0.06/META.yml Crypt-DH-0.06/README Crypt-DH-0.06/t/ Crypt-DH-0.06/t/00-compile.t Crypt-DH-0.06/t/01-dh.t Crypt-DH-0.06/ToDo CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build B/BT/BTROTT/Crypt-DH-0.06.tar.gz *** ExtUtils::AutoInstall version 0.56 *** Checking for dependencies... [Core Features] - Math::BigInt ...loaded. (1.88 >= 1.60) *** ExtUtils::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Crypt::DH cp lib/Crypt/DH.pm blib/lib/Crypt/DH.pm Manifying blib/man3/Crypt::DH.3pm BTROTT/Crypt-DH-0.06.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-compile.t t/01-dh.t t/00-compile.t .. Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at /crypt/rob/.cpan/build/Crypt-DH-0.06-V37dfG/blib/lib/Crypt/DH.pm line 6 t/00-compile.t .. ok t/01-dh.t ....... 1/18 Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at /crypt/rob/.cpan/build/Crypt-DH-0.06-V37dfG/blib/lib/Crypt/DH.pm line 6 t/01-dh.t ....... 10/18 and from there the tests just run for many minutes until I manually interrupt them. Manually installing Math::BigInt::Pari before Crypt::DH smoothed over this problem. Perhaps you should add a dependency on Math::BigInt::Pari?
Is this module still being maintained? The module in its current form is not really installable. This needs to be resolved.
On 2010-01-30 09:01:01, rbuels wrote:
Show quoted text
> cpan Crypt::DH
> CPAN: Storable loaded ok (v2.18)
> Going to read '/crypt/rob/.cpan/Metadata'
> Database was generated on Fri, 29 Jan 2010 13:48:42 GMT
> CPAN: YAML loaded ok (v0.68)
> Running install for module 'Crypt::DH'
> Running make for B/BT/BTROTT/Crypt-DH-0.06.tar.gz
> CPAN: LWP::UserAgent loaded ok (v5.826)
> CPAN: Time::HiRes loaded ok (v1.9711)
> CPAN: URI::URL loaded ok (v5.03)
> CPAN: Digest::SHA loaded ok (v5.47)
> CPAN: Compress::Zlib loaded ok (v2.02)
> Checksum for
> /crypt/rob/cpan-mini/authors/id/B/BT/BTROTT/Crypt-DH-0.06.tar.gz ok
> CPAN: Archive::Tar loaded ok (v1.48)
>
> Will not use Archive::Tar, need 1.00
>
> Crypt-DH-0.06/
>
> Crypt-DH-0.06/Changes
>
> Crypt-DH-0.06/inc/
>
> Crypt-DH-0.06/inc/ExtUtils/
>
> Crypt-DH-0.06/inc/ExtUtils/AutoInstall.pm
>
> Crypt-DH-0.06/inc/Module/
>
> Crypt-DH-0.06/inc/Module/Install/
>
> Crypt-DH-0.06/inc/Module/Install/AutoInstall.pm
>
> Crypt-DH-0.06/inc/Module/Install/Base.pm
>
> Crypt-DH-0.06/inc/Module/Install/Can.pm
>
> Crypt-DH-0.06/inc/Module/Install/Fetch.pm
>
> Crypt-DH-0.06/inc/Module/Install/Include.pm
>
> Crypt-DH-0.06/inc/Module/Install/Makefile.pm
>
> Crypt-DH-0.06/inc/Module/Install/Metadata.pm
>
> Crypt-DH-0.06/inc/Module/Install/Win32.pm
>
> Crypt-DH-0.06/inc/Module/Install/WriteAll.pm
>
> Crypt-DH-0.06/inc/Module/Install.pm
>
> Crypt-DH-0.06/lib/
>
> Crypt-DH-0.06/lib/Crypt/
>
> Crypt-DH-0.06/lib/Crypt/DH.pm
>
> Crypt-DH-0.06/Makefile.PL
>
> Crypt-DH-0.06/MANIFEST
>
> Crypt-DH-0.06/META.yml
>
> Crypt-DH-0.06/README
>
> Crypt-DH-0.06/t/
> Crypt-DH-0.06/t/00-compile.t
> Crypt-DH-0.06/t/01-dh.t
> Crypt-DH-0.06/ToDo
> CPAN: File::Temp loaded ok (v0.22)
>
> CPAN.pm: Going to build B/BT/BTROTT/Crypt-DH-0.06.tar.gz
>
> *** ExtUtils::AutoInstall version 0.56
> *** Checking for dependencies...
> [Core Features]
> - Math::BigInt ...loaded. (1.88 >= 1.60)
> *** ExtUtils::AutoInstall configuration finished.
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Crypt::DH
> cp lib/Crypt/DH.pm blib/lib/Crypt/DH.pm
> Manifying blib/man3/Crypt::DH.3pm
> BTROTT/Crypt-DH-0.06.tar.gz
> /usr/bin/make -- OK
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-compile.t t/01-dh.t
> t/00-compile.t .. Math::BigInt: couldn't load specified math lib(s),
> fallback to Math::BigInt::FastCalc at
> /crypt/rob/.cpan/build/Crypt-DH-0.06-V37dfG/blib/lib/Crypt/DH.pm line 6
> t/00-compile.t .. ok
> t/01-dh.t ....... 1/18 Math::BigInt: couldn't load specified math
> lib(s), fallback to Math::BigInt::FastCalc at
> /crypt/rob/.cpan/build/Crypt-DH-0.06-V37dfG/blib/lib/Crypt/DH.pm line 6
> t/01-dh.t ....... 10/18
>
> and from there the tests just run for many minutes until I manually
> interrupt them.
>
> Manually installing Math::BigInt::Pari before Crypt::DH smoothed over
> this problem. Perhaps you should add a dependency on Math::BigInt::Pari?

It works with Math::BigInt::GMP as well, in fact, instead of chunking for 15 minutes, it is an *instant* result.

It makes me wonder if there is an underlying flaw in Math::BigInt::FastCalc not running properly.