Skip Menu |

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

Report information
The Basics
Id: 46558
Status: resolved
Priority: 0/
Queue: Crypt-OpenSSL-RSA

People
Owner: Nobody in particular
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.25
Fixed in: 0.28



Subject: Crypt::OpenSSL::RSA fails during test
Hello, I'm trying to install DKIMproxy which requires the Mail::DKIM module. I managed to install all the perl requirements for Mail::DKIM except for: Crypt::OpenSSL::RSA [root@server ~]# tar xvfz Crypt-OpenSSL-RSA-0.25.tar.gz Crypt-OpenSSL-RSA-0.25/ Crypt-OpenSSL-RSA-0.25/t/ Crypt-OpenSSL-RSA-0.25/t/rsa.t Crypt-OpenSSL-RSA-0.25/t/format.t Crypt-OpenSSL-RSA-0.25/t/bignum.t Crypt-OpenSSL-RSA-0.25/LICENSE Crypt-OpenSSL-RSA-0.25/README Crypt-OpenSSL-RSA-0.25/RSA.pm Crypt-OpenSSL-RSA-0.25/RSA.xs Crypt-OpenSSL-RSA-0.25/Changes Crypt-OpenSSL-RSA-0.25/Makefile.PL Crypt-OpenSSL-RSA-0.25/META.yml Crypt-OpenSSL-RSA-0.25/typemap Crypt-OpenSSL-RSA-0.25/MANIFEST [root@server ~]# cd Crypt-OpenSSL-RSA-0.25 [root@server Crypt-OpenSSL-RSA-0.25]# ls Changes LICENSE Makefile.PL MANIFEST META.yml README RSA.pm RSA.xs t typemap [root@server Crypt-OpenSSL-RSA-0.25]# perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Crypt::OpenSSL::RSA [root@server Crypt-OpenSSL-RSA-0.25]# make cp RSA.pm blib/lib/Crypt/OpenSSL/RSA.pm AutoSplitting blib/lib/Crypt/OpenSSL/RSA.pm (blib/lib/auto/Crypt/OpenSSL/RSA) /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp - typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap RSA.xs Show quoted text
> RSA.xsc && mv RSA.xsc RSA.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe - Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,- D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer- size=4 -m64 -mtune=generic -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" - fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" - DPERL5 -DOPENSSL_NO_KRB5 RSA.c Running Mkbootstrap for Crypt::OpenSSL::RSA () chmod 644 RSA.bs rm -f blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so LD_RUN_PATH="/lib64" gcc -shared -O2 -g -pipe -Wall -Wp,- D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer- size=4 -m64 -mtune=generic RSA.o -o blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so \ -lssl -lcrypto \ chmod 755 blib/arch/auto/Crypt/OpenSSL/RSA/RSA.so cp RSA.bs blib/arch/auto/Crypt/OpenSSL/RSA/RSA.bs chmod 644 blib/arch/auto/Crypt/OpenSSL/RSA/RSA.bs Manifying blib/man3/Crypt::OpenSSL::RSA.3pm [root@server Crypt-OpenSSL-RSA-0.25]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bignum.t .. ok t/format.t .. ok t/rsa.t ..... 1/63 # Failed test 63 in t/rsa.t at line 150 # t/rsa.t line 150 is: ok(!$@); t/rsa.t ..... Failed 1/63 subtests Test Summary Report ------------------- t/rsa.t (Wstat: 0 Tests: 63 Failed: 1) Failed test: 63 Files=3, Tests=137, 0 wallclock secs ( 0.04 usr 0.03 sys + 0.13 cusr 0.04 csys = 0.24 CPU) Result: FAIL Failed 1/3 test programs. 1/137 subtests failed. make: *** [test_dynamic] Error 255 [root@server Crypt-OpenSSL-RSA-0.25]# Can either Crypt::OpenSSL::RSA be fixed so that it passes the tests or can Mail::DKIM use a different module instead of Crypt::OpenSSL::RSA?? Any help would be greatly appreciated. Thanks
I confirm this failure on 64-bit RHEL 5.3. It appears to be the same problem as ticket #45498.
Not clear why Crypt::OpenSSL::RSA::Subpackage->generate_key(512) should fail on just this combination of perl and openssl.
Currently on 0.28, if I ignore Dragonfly BSD, this module has almost 100% testing success. I'm going to close this issue as resolved for now. http://www.cpantesters.org/distro/C/Crypt-OpenSSL-RSA.html?oncpan=1&distmat=1&version=0.28