New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print OpenSSL version during tests #38

Merged
merged 1 commit into from Jan 20, 2015

Conversation

Projects
None yet
3 participants
@jhunt
Contributor

jhunt commented Jan 20, 2015

This diagnostic should make it easier to figure out what version of
OpenSSL is causing the UTF-8 issues on other platforms (via CPANT)

Print OpenSSL version during tests
This diagnostic should make it easier to figure out what version of
OpenSSL is causing the UTF-8 issues on other platforms (via CPANT)

dsully added a commit that referenced this pull request Jan 20, 2015

Merge pull request #38 from filefrog/version-debug
Print OpenSSL version during tests

@dsully dsully merged commit 320baad into dsully:master Jan 20, 2015

@marklambo

This comment has been minimized.

Show comment
Hide comment
@marklambo

marklambo Jul 30, 2016

I have difficulty in installing the Perl module Crypt::OpenSSL::X509 in my Solaris 10, Perl 5.16.3, GNU GCC 3.4.6, openssl 1.0.1h environment.
In the test files (x509.t, x509-ec.t, utf8.t) of Crypt-OpenSSL-X509-1.806.tar.gz, I found that they all contain "use_ok('Crypt::OpenSSL::X509')". It looks like that the installation requires existenace of Crypt::OpenSSL::X509 at the installation of "Crypt::OpenSSL::X509".
I wonder how it can work if it is a fresh installation.
The following shows part of the installation log - build.log

"/private/local/public/perl5.16.3/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- X509.bs blib/arch/auto/Crypt/OpenSSL/X509/X509.bs 644
PERL_DL_NONLAZY=1 "/private/local/public/perl5.16.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-version.t t/pod.t t/utf8.t t/x509-ec.t t/x509.t
# Running Crypt::OpenSSL::X509 test suite against OpenSSL 1.0.1h 5 Jun 2014
t/00-version.t .. ok
t/pod.t ......... ok

#   Failed test 'use Crypt::OpenSSL::X509;'
#   at t/utf8.t line 12.
#     Tried to use 'Crypt::OpenSSL::X509'.
#     Error:  Can't load '/private/local/opensrc/.cpanm/work/1469781940.15908/Crypt-OpenSSL-X509-1.806/blib/arch/auto/Crypt/OpenSSL/X509/X509.so' for module Crypt::OpenSSL::X509: ld.so.1: perl: fatal: relocation error: file /private/local/opensrc/.cpanm/work/1469781940.15908/Crypt-OpenSSL-X509-1.806/blib/arch/auto/Crypt/OpenSSL/X509/X509.so: symbol EC_KEY_get0_group: referenced symbol not found at /usr/local/public/perl5.16.3/lib/5.16.3/sun4-solaris-64/DynaLoader.pm line 190.
#  at /private/local/opensrc/.cpanm/work/1469781940.15908/Crypt-OpenSSL-X509-1.806/blib/lib/Crypt/OpenSSL/X509.pm line 91.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
Can't locate object method "new_from_file" via package "Crypt::OpenSSL::X509" at t/utf8.t line 18.
Can't locate object method "__X509_cleanup" via package "Crypt::OpenSSL::X509" at /private/local/opensrc/.cpanm/work/1469781940.15908/Crypt-OpenSSL-X509-1.806/blib/lib/Crypt/OpenSSL/X509.pm line 95.
END failed--call queue aborted at t/utf8.t line 18.
# Looks like you planned 11 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 22 just after 1.
t/utf8.t ........ 
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 11/11 subtests 

marklambo commented on e7a9d1c Jul 30, 2016

I have difficulty in installing the Perl module Crypt::OpenSSL::X509 in my Solaris 10, Perl 5.16.3, GNU GCC 3.4.6, openssl 1.0.1h environment.
In the test files (x509.t, x509-ec.t, utf8.t) of Crypt-OpenSSL-X509-1.806.tar.gz, I found that they all contain "use_ok('Crypt::OpenSSL::X509')". It looks like that the installation requires existenace of Crypt::OpenSSL::X509 at the installation of "Crypt::OpenSSL::X509".
I wonder how it can work if it is a fresh installation.
The following shows part of the installation log - build.log

"/private/local/public/perl5.16.3/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- X509.bs blib/arch/auto/Crypt/OpenSSL/X509/X509.bs 644
PERL_DL_NONLAZY=1 "/private/local/public/perl5.16.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-version.t t/pod.t t/utf8.t t/x509-ec.t t/x509.t
# Running Crypt::OpenSSL::X509 test suite against OpenSSL 1.0.1h 5 Jun 2014
t/00-version.t .. ok
t/pod.t ......... ok

#   Failed test 'use Crypt::OpenSSL::X509;'
#   at t/utf8.t line 12.
#     Tried to use 'Crypt::OpenSSL::X509'.
#     Error:  Can't load '/private/local/opensrc/.cpanm/work/1469781940.15908/Crypt-OpenSSL-X509-1.806/blib/arch/auto/Crypt/OpenSSL/X509/X509.so' for module Crypt::OpenSSL::X509: ld.so.1: perl: fatal: relocation error: file /private/local/opensrc/.cpanm/work/1469781940.15908/Crypt-OpenSSL-X509-1.806/blib/arch/auto/Crypt/OpenSSL/X509/X509.so: symbol EC_KEY_get0_group: referenced symbol not found at /usr/local/public/perl5.16.3/lib/5.16.3/sun4-solaris-64/DynaLoader.pm line 190.
#  at /private/local/opensrc/.cpanm/work/1469781940.15908/Crypt-OpenSSL-X509-1.806/blib/lib/Crypt/OpenSSL/X509.pm line 91.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
Can't locate object method "new_from_file" via package "Crypt::OpenSSL::X509" at t/utf8.t line 18.
Can't locate object method "__X509_cleanup" via package "Crypt::OpenSSL::X509" at /private/local/opensrc/.cpanm/work/1469781940.15908/Crypt-OpenSSL-X509-1.806/blib/lib/Crypt/OpenSSL/X509.pm line 95.
END failed--call queue aborted at t/utf8.t line 18.
# Looks like you planned 11 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 22 just after 1.
t/utf8.t ........ 
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 11/11 subtests 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment