Skip Menu |

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

Report information
The Basics
Id: 107635
Status: resolved
Priority: 0/
Queue: Crypt-OpenSSL-Random

People
Owner: RURBAN [...] cpan.org
Requestors: heirecka [...] exherbo.org
Cc:
AdminCc:

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



Subject: Crypt-OpenSSL-Random-0.10 fails its tests with LibreSSL
Date: Thu, 8 Oct 2015 21:14:43 +0200
To: bug-Crypt-OpenSSL-Random [...] rt.cpan.org
From: Heiko Becker <heirecka [...] exherbo.org>
I don't know if LibreSSL is officially supported, but the tests fail because LibreSSL removed RAND_egd, which upstream considers insecure. Makefile found, looking for potential test targets true true true echo "Running Mkbootstrap for Crypt::OpenSSL::Random ()" /usr/bin/perl \ "-MExtUtils::Mkbootstrap" \ -e "Mkbootstrap('Random','');" touch Random.bs chmod 644 Random.bs true true true 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 true Found test target Running Mkbootstrap for Crypt::OpenSSL::Random () chmod 644 Random.bs 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 make: *** No rule to make target 'check'. Stop. make -j5 test t/0-basic.t ................. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 5/5 subtests t/z_kwalitee.t .............. skipped: This test is only run for the module author Can't load '/var/tmp/paludis/build/dev-perl-Crypt-OpenSSL-Random-0.10/work/Crypt-OpenSSL-Random-0.10/blib/arch/auto/Crypt/OpenSSL/Random/Random.so' for module Crypt::OpenSSL::Random: /var/tmp/paludis/build/dev-perl-Crypt-OpenSSL-Random-0.10/work/Crypt-OpenSSL-Random-0.10/blib/arch/auto/Crypt/OpenSSL/Random/Random.so: undefined symbol: RAND_egd at /usr/x86_64-pc-linux-gnu/lib/perl5/core_perl/5.20-arch/DynaLoader.pm line 193. at t/0-basic.t line 11. Compilation failed in require at t/0-basic.t line 11. BEGIN failed--compilation aborted at t/0-basic.t line 11. t/z_manifest.t .............. skipped: requires a git checkout and a unix for git and diff t/z_meta.t .................. skipped: This test is only run for the module author t/z_perl_minimum_version.t .. skipped: Author tests not required for installation t/z_pod-coverage.t .......... skipped: This test is only run for the module author t/z_pod.t ................... ok Test Summary Report ------------------- t/0-basic.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 5 tests but ran 1. Files=7, Tests=2, 1 wallclock secs ( 0.05 usr 0.00 sys + 0.25 cusr 0.01 csys = 0.31 CPU) Result: FAIL Makefile:1042: recipe for target 'test_dynamic' failed Failed 1/7 test programs. 1/2 subtests failed. make: *** [test_dynamic] Error 255
Sounds like a valid concern. I'll see what I can do. libressl detection seems easy enough: Random.xs:89:14: warning: implicit declaration of function 'RAND_egd' [-Wimplicit-function-declaration] status = RAND_egd(egd);
Fixed with version 0.11, now on CPAN Thanks. -- Reini Urban