sergot / openssl

OpenSSL bindings for Perl 6
MIT License
14 stars 31 forks source link

Tests fail on Ubuntu 18.04.3 LTS #72

Open sjn opened 4 years ago

sjn commented 4 years ago

Hei,

An OpenSSL test is failing; Here's the output:

$ zef test -v .
===> Testing: OpenSSL:ver<0.1.22>:auth<github:sergot>
t/01-basic.t ........... ok
t/02-socket.t .......... ok
t/03-rsa.t ............. ok
t/04-crypt.t ........... ok
t/05-digest.t .......... ok
t/06-digest-md5.t ...... ok
t/07-version.t ......... ok
Cannot locate symbol '(null)' in native library '(null)'
  in method setup at /home/sjn/src/rakudo/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 286
  in sub  at /home/sjn/src/rakudo/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 578
  in block <unit> at t/10-client-ca-file.t line 10

# You planned 7 tests, but ran 1
t/10-client-ca-file.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/7 subtests
t/15-issue-36.t ........ ok

Test Summary Report
-------------------
t/10-client-ca-file.t (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 1.
Files=9, Tests=52,  8 wallclock secs ( 0.06 usr  0.05 sys + 11.85 cusr  0.88 csys = 12.84 CPU)
Result: FAIL
===> Testing [FAIL]: OpenSSL:ver<0.1.22>:auth<github:sergot>
Aborting due to test failure: OpenSSL:ver<0.1.22>:auth<github:sergot> (use --force-test to override)

This is my environment:

$ raku -v
This is Rakudo version 2019.11 built on MoarVM version 2019.11
implementing Perl 6.d.

$ uname -a
Linux foo.foo.no 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$ dpkg -s libssl-dev
Package: libssl-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 7662
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: openssl
Version: 1.1.1-1ubuntu2.1~18.04.5
Depends: libssl1.1 (= 1.1.1-1ubuntu2.1~18.04.5)
Suggests: libssl-doc
Conflicts: libssl1.0-dev
Description: Secure Sockets Layer toolkit - development files
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It contains development libraries, header files, and manpages for libssl
 and libcrypto.
Homepage: https://www.openssl.org/
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>

Please tell me how I can assist. :)

abraxxa commented 4 years ago

Same error on Debian 9 which has libssl-dev 1.1.0l-1~deb.

zostay commented 4 years ago

The issue might be with zef. At least, I am only seeing bad behavior when testing under zef.

I ran into the same issue, but when I used zef look to get the source and ran prove6 -l to run tests, they pass just fine. But if I ran zef test ., the tests fail. If I --force-test wen installing with zef and then run the test directly using raku or prove6 against the installed version, the test passes just fine.

chromis commented 4 years ago

Hello,

I ran into the same issue while installing Debian 10 from scratch and deploying raku 2020.05.1 and zef via rakudobrew. In my case I tried to install Cro::HTTP::Client, which depends on this OpenSSL module.

At my system, performing zef install OpenSSL yields the following:

===> Searching for: OpenSSL
===> Testing: OpenSSL:ver<0.1.23>:auth<github:sergot>
[OpenSSL] # NETWORK_TESTING was not set
[OpenSSL] Cannot locate symbol '(null)' in native library '(null)'
[OpenSSL]   in method setup at /storage_q/scraps/rakudobrew/versions/moar-2020.05.1/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 298
[OpenSSL]   in sub sk_num at /storage_q/scraps/rakudobrew/versions/moar-2020.05.1/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 594
[OpenSSL]   in block <unit> at t/10-client-ca-file.t line 10
[OpenSSL] # You planned 7 tests, but ran 1
[OpenSSL] # NETWORK_TESTING was not set
===> Testing [FAIL]: OpenSSL:ver<0.1.23>:auth<github:sergot>
Aborting due to test failure: OpenSSL:ver<0.1.23>:auth<github:sergot> (use --force-test to override)

I managed to get around this by git clone https://github.com/sergot/openssl.git and performing zef install . from there:

 % zef install .
===> Testing: OpenSSL:ver<0.1.23>:auth<github:sergot>
[OpenSSL] # NETWORK_TESTING was not set
[OpenSSL] # NETWORK_TESTING was not set
===> Testing [OK] for OpenSSL:ver<0.1.23>:auth<github:sergot>
===> Installing: OpenSSL:ver<0.1.23>:auth<github:sergot>

Installing Cro::HTTP::Client then 'just works'.

I also suspect this is an issue with zef with this in mind, though I'm not sure whether the version I git cloned is the same that zef actually uses?

Regards,

Raymond.

erixoltan commented 4 years ago

This is still a problem and occurs on Ubuntu 20.04.

I managed to get around this by git clone https://github.com/sergot/openssl.git and performing zef install . from there: Raymond

Works for me as well. Thanks, Raymond!

zoffixznet commented 3 years ago
[OpenSSL]   in sub sk_num

I had the same error.

I managed to get around this by git clone https://github.com/sergot/openssl.git and performing zef install . from there

That worked for me as we..

Details:

zoffix@kali:~/rakudo$ zef install WWW
===> Searching for: WWW
===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Found: WWW:ver<1.005004>:auth<github:perl6-community-modules> [via Zef::Repository::LocalCache]
===> Dependencies: HTTP::UserAgent, JSON::Fast, IO::Socket::SSL, Test, Test::When, Test::META
===> Searching for missing dependencies: HTTP::UserAgent, JSON::Fast, IO::Socket::SSL, Test::When, Test::META
===> Found dependencies: Test::META:ver<0.0.16>:auth<github:jonathanstowe>:api<1.0>, Test::When:ver<1.001008>, HTTP::UserAgent:ver<1.1.49>:auth<github:sergot>, JSON::Fast:ver<0.15>, IO::Socket::SSL:ver<0.0.1>:auth<github:sergot> [via Zef::Repository::LocalCache]
===> Dependencies: Test, META6, URI, License::SPDX, HTTP::Status, File::Temp, DateTime::Parse, Encode, MIME::Base64, IO::Socket::SSL, IO::Capture::Simple, Test::Util::ServerPort, OpenSSL
===> Searching for missing dependencies: META6, URI, License::SPDX, HTTP::Status, File::Temp, DateTime::Parse, Encode, MIME::Base64, IO::Capture::Simple, Test::Util::ServerPort, OpenSSL
===> Found dependencies: License::SPDX:ver<3.9.0>:auth<github:jonathanstowe>:api<1.0>, META6:ver<0.0.23>:auth<github:jonathanstowe>:api<1.0>, Test::Util::ServerPort:ver<0.0.2>:auth<github:jonathanstowe>:api<1.0>, MIME::Base64:ver<1.2.1>:auth<github:retupmoca>, DateTime::Parse:ver<0.9.1>, URI:ver<0.3.0>, OpenSSL:ver<0.1.23>:auth<github:sergot>, File::Temp:ver<0.0.8>, Encode:ver<0.0.3>:auth<github:sergot>, HTTP::Status:ver<0.0.1>, IO::Capture::Simple:ver<v.0.0.1> [via Zef::Repository::LocalCache]
===> Dependencies: JSON::Class, JSON::Fast, Test, File::Directory::Tree
===> Searching for missing dependencies: JSON::Class:ver<0.0.14+>, JSON::Class:ver<0.0.5+>, File::Directory::Tree
===> Found dependencies: JSON::Class:ver<0.0.14>:auth<github:jonathanstowe>:api<1.0>, File::Directory::Tree:auth<labster> [via Zef::Repository::LocalCache]
===> Dependencies: JSON::Marshal, JSON::Unmarshal, JSON::Fast, Test
===> Searching for missing dependencies: JSON::Marshal:ver<0.0.18+>, JSON::Unmarshal:ver<0.08+>
===> Found dependencies: JSON::Marshal:ver<0.0.18>:auth<github:jonathanstowe>:api<1.0>, JSON::Unmarshal:ver<0.08> [via Zef::Repository::LocalCache]
===> Dependencies: JSON::Fast, JSON::Name, Test
===> Searching for missing dependencies: JSON::Name
===> Found dependencies: JSON::Name:ver<0.0.4>:auth<github:jonathanstowe>:api<1.0> [via Zef::Repository::LocalCache]
===> Dependencies: Test
===> Filtering: WWW:ver<1.005004>:auth<github:perl6-community-modules>
===> Filtering [OK] for WWW:ver<1.005004>:auth<github:perl6-community-modules>
===> Filtering: Test::META:ver<0.0.16>:auth<github:jonathanstowe>:api<1.0>
===> Filtering [OK] for Test::META:ver<0.0.16>:auth<github:jonathanstowe>:api<1.0>
===> Filtering: Test::When:ver<1.001008>
===> Filtering [OK] for Test::When:ver<1.001008>
===> Filtering: HTTP::UserAgent:ver<1.1.49>:auth<github:sergot>
===> Filtering [OK] for HTTP::UserAgent:ver<1.1.49>:auth<github:sergot>
===> Filtering: JSON::Fast:ver<0.15>
===> Filtering [OK] for JSON::Fast:ver<0.15>
===> Filtering: IO::Socket::SSL:ver<0.0.1>:auth<github:sergot>
===> Filtering [OK] for IO::Socket::SSL:ver<0.0.1>:auth<github:sergot>
===> Filtering: License::SPDX:ver<3.9.0>:auth<github:jonathanstowe>:api<1.0>
===> Filtering [OK] for License::SPDX:ver<3.9.0>:auth<github:jonathanstowe>:api<1.0>
===> Filtering: META6:ver<0.0.23>:auth<github:jonathanstowe>:api<1.0>
===> Filtering [OK] for META6:ver<0.0.23>:auth<github:jonathanstowe>:api<1.0>
===> Filtering: Test::Util::ServerPort:ver<0.0.2>:auth<github:jonathanstowe>:api<1.0>
===> Filtering [OK] for Test::Util::ServerPort:ver<0.0.2>:auth<github:jonathanstowe>:api<1.0>
===> Filtering: MIME::Base64:ver<1.2.1>:auth<github:retupmoca>
===> Filtering [OK] for MIME::Base64:ver<1.2.1>:auth<github:retupmoca>
===> Filtering: DateTime::Parse:ver<0.9.1>
===> Filtering [OK] for DateTime::Parse:ver<0.9.1>
===> Filtering: URI:ver<0.3.0>
===> Filtering [OK] for URI:ver<0.3.0>
===> Filtering: OpenSSL:ver<0.1.23>:auth<github:sergot>
===> Filtering [OK] for OpenSSL:ver<0.1.23>:auth<github:sergot>
===> Filtering: File::Temp:ver<0.0.8>
===> Filtering [OK] for File::Temp:ver<0.0.8>
===> Filtering: Encode:ver<0.0.3>:auth<github:sergot>
===> Filtering [OK] for Encode:ver<0.0.3>:auth<github:sergot>
===> Filtering: HTTP::Status:ver<0.0.1>
===> Filtering [OK] for HTTP::Status:ver<0.0.1>
===> Filtering: IO::Capture::Simple:ver<v.0.0.1>
===> Filtering [OK] for IO::Capture::Simple:ver<v.0.0.1>
===> Filtering: JSON::Class:ver<0.0.14>:auth<github:jonathanstowe>:api<1.0>
===> Filtering [OK] for JSON::Class:ver<0.0.14>:auth<github:jonathanstowe>:api<1.0>
===> Filtering: File::Directory::Tree:auth<labster>
===> Filtering [OK] for File::Directory::Tree:auth<labster>
===> Filtering: JSON::Marshal:ver<0.0.18>:auth<github:jonathanstowe>:api<1.0>
===> Filtering [OK] for JSON::Marshal:ver<0.0.18>:auth<github:jonathanstowe>:api<1.0>
===> Filtering: JSON::Unmarshal:ver<0.08>
===> Filtering [OK] for JSON::Unmarshal:ver<0.08>
===> Filtering: JSON::Name:ver<0.0.4>:auth<github:jonathanstowe>:api<1.0>
===> Filtering [OK] for JSON::Name:ver<0.0.4>:auth<github:jonathanstowe>:api<1.0>
===> # SKIP: No need to build HTTP::Status:ver<0.0.1>
===> # SKIP: No need to build File::Directory::Tree:auth<labster>
===> # SKIP: No need to build File::Temp:ver<0.0.8>
===> # SKIP: No need to build DateTime::Parse:ver<0.9.1>
===> # SKIP: No need to build Encode:ver<0.0.3>:auth<github:sergot>
===> # SKIP: No need to build MIME::Base64:ver<1.2.1>:auth<github:retupmoca>
===> # SKIP: No need to build URI:ver<0.3.0>
===> # SKIP: No need to build OpenSSL:ver<0.1.23>:auth<github:sergot>
===> # SKIP: No need to build IO::Socket::SSL:ver<0.0.1>:auth<github:sergot>
===> # SKIP: No need to build IO::Capture::Simple:ver<v.0.0.1>
===> # SKIP: No need to build Test::Util::ServerPort:ver<0.0.2>:auth<github:jonathanstowe>:api<1.0>
===> # SKIP: No need to build HTTP::UserAgent:ver<1.1.49>:auth<github:sergot>
===> # SKIP: No need to build JSON::Fast:ver<0.15>
===> # SKIP: No need to build Test::When:ver<1.001008>
===> # SKIP: No need to build JSON::Name:ver<0.0.4>:auth<github:jonathanstowe>:api<1.0>
===> # SKIP: No need to build JSON::Marshal:ver<0.0.18>:auth<github:jonathanstowe>:api<1.0>
===> # SKIP: No need to build JSON::Unmarshal:ver<0.08>
===> # SKIP: No need to build JSON::Class:ver<0.0.14>:auth<github:jonathanstowe>:api<1.0>
===> # SKIP: No need to build META6:ver<0.0.23>:auth<github:jonathanstowe>:api<1.0>
===> # SKIP: No need to build License::SPDX:ver<3.9.0>:auth<github:jonathanstowe>:api<1.0>
===> # SKIP: No need to build Test::META:ver<0.0.16>:auth<github:jonathanstowe>:api<1.0>
===> # SKIP: No need to build WWW:ver<1.005004>:auth<github:perl6-community-modules>
===> Testing: HTTP::Status:ver<0.0.1>
[HTTP::Status] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
[HTTP::Status] t/01-basic.t ..... ok
[HTTP::Status] t/02-is-tests.t .. ok
[HTTP::Status] All tests successful.
[HTTP::Status] Files=2, Tests=46,  3 wallclock secs ( 0.04 usr  0.02 sys +  2.30 cusr  0.12 csys =  2.48 CPU)
[HTTP::Status] Result: PASS
===> Testing [OK] for HTTP::Status:ver<0.0.1>
===> Testing: File::Directory::Tree:auth<labster>
[File::Directory::Tree] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
[File::Directory::Tree] t/basic.t .. ok
[File::Directory::Tree] All tests successful.
[File::Directory::Tree] Files=1, Tests=9,  2 wallclock secs ( 0.04 usr  0.00 sys +  1.62 cusr  0.21 csys =  1.87 CPU)
[File::Directory::Tree] Result: PASS
===> Testing [OK] for File::Directory::Tree:auth<labster>
===> Testing: File::Temp:ver<0.0.8>
[File::Temp] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
[File::Temp] t/01-load.t ...... ok
[File::Temp] t/02-gc.t ........ ok
[File::Temp] t/03-tempfile.t .. ok
[File::Temp] All tests successful.
[File::Temp] Files=3, Tests=18,  5 wallclock secs ( 0.05 usr  0.01 sys +  3.70 cusr  0.19 csys =  3.95 CPU)
[File::Temp] Result: PASS
===> Testing [OK] for File::Temp:ver<0.0.8>
===> Testing: DateTime::Parse:ver<0.9.1>
[DateTime::Parse] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
[DateTime::Parse] t/01-asctime.t .. ok
[DateTime::Parse] t/01-basic.t .... ok
[DateTime::Parse] All tests successful.
[DateTime::Parse] Files=2, Tests=20,  4 wallclock secs ( 0.08 usr  0.01 sys +  3.61 cusr  0.10 csys =  3.80 CPU)
[DateTime::Parse] Result: PASS
===> Testing [OK] for DateTime::Parse:ver<0.9.1>
===> Testing: Encode:ver<0.0.3>:auth<github:sergot>
[Encode] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
[Encode] t/01-basic.t ........ ok
[Encode] t/02-latin2.t ....... ok
[Encode] t/03-utf8.t ......... ok
[Encode] t/04-latin1.t ....... ok
[Encode] t/05-ascii.t ........ ok
[Encode] t/06-windows1252.t .. ok
[Encode] t/07-windows1251.t .. ok
[Encode] All tests successful.
[Encode] Files=7, Tests=9,  8 wallclock secs ( 0.06 usr  0.02 sys +  6.94 cusr  0.45 csys =  7.47 CPU)
[Encode] Result: PASS
===> Testing [OK] for Encode:ver<0.0.3>:auth<github:sergot>
===> Testing: MIME::Base64:ver<1.2.1>:auth<github:retupmoca>
[MIME::Base64] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
[MIME::Base64] t/basic.t ................. ok
[MIME::Base64] t/binary-and-long-line.t .. ok
[MIME::Base64] t/oneline.t ............... ok
[MIME::Base64] t/rfc4648-test-vector.t ... ok
[MIME::Base64] All tests successful.
[MIME::Base64] Files=4, Tests=47,  7 wallclock secs ( 0.07 usr  0.01 sys +  6.29 cusr  0.26 csys =  6.63 CPU)
[MIME::Base64] Result: PASS
===> Testing [OK] for MIME::Base64:ver<1.2.1>:auth<github:retupmoca>
===> Testing: URI:ver<0.3.0>
[URI] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
[URI] t/001-meta.t ............. ok
[URI] t/01.t ................... ok
[URI] t/authority.t ............ ok
[URI] t/escape.t ............... ok
[URI] t/issue-43.t ............. ok
[URI] t/mutate.t ............... ok
[URI] t/november-urlencoded.t .. ok
[URI] t/path.t ................. ok
[URI] t/query.t ................ ok
[URI] t/require.t .............. ok
[URI] t/rfc-3986-examples.t .... ok
[URI] t/utf8-c8.t .............. ok
[URI] All tests successful.
[URI] Files=12, Tests=199, 30 wallclock secs ( 0.13 usr  0.04 sys + 27.11 cusr  0.96 csys = 28.24 CPU)
[URI] Result: PASS
===> Testing [OK] for URI:ver<0.3.0>
===> Testing: OpenSSL:ver<0.1.23>:auth<github:sergot>
[OpenSSL] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
[OpenSSL] t/01-basic.t ........... ok
[OpenSSL] # NETWORK_TESTING was not set
[OpenSSL] t/02-socket.t .......... ok
[OpenSSL] t/03-rsa.t ............. ok
[OpenSSL] t/04-crypt.t ........... ok
[OpenSSL] t/05-digest.t .......... ok
[OpenSSL] t/06-digest-md5.t ...... ok
[OpenSSL] t/07-version.t ......... ok
[OpenSSL] Cannot locate symbol 'sk_num' in native library 'libssl.so'
[OpenSSL]   in method setup at /home/zoffix/rakudo/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 298
[OpenSSL]   in sub sk_num at /home/zoffix/rakudo/install/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 587
[OpenSSL]   in block <unit> at t/10-client-ca-file.t line 10
[OpenSSL] # You planned 7 tests, but ran 1
[OpenSSL] t/10-client-ca-file.t .. 
[OpenSSL] Dubious, test returned 255 (wstat 65280, 0xff00)
[OpenSSL] Failed 6/7 subtests 
[OpenSSL] # NETWORK_TESTING was not set
[OpenSSL] t/15-issue-36.t ........ ok
[OpenSSL] Test Summary Report
[OpenSSL] -------------------
[OpenSSL] t/10-client-ca-file.t (Wstat: 65280 Tests: 1 Failed: 0)
[OpenSSL]   Non-zero exit status: 255
[OpenSSL]   Parse errors: Bad plan.  You planned 7 tests but ran 1.
[OpenSSL] Files=9, Tests=50, 16 wallclock secs ( 0.08 usr  0.02 sys + 13.79 cusr  0.73 csys = 14.62 CPU)
[OpenSSL] Result: FAIL
===> Testing [FAIL]: OpenSSL:ver<0.1.23>:auth<github:sergot>
Aborting due to test failure: OpenSSL:ver<0.1.23>:auth<github:sergot> (use --force-test to override)

System info:

zoffix@kali:~/rakudo$ aptitude show libssl-dev
Package: libssl-dev               
Version: 1.1.1g-1
State: installed
Automatically installed: no
Multi-Arch: same
Priority: optional
Section: libdevel
Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>
Architecture: amd64
Uncompressed Size: 8,110 k
Depends: libssl1.1 (= 1.1.1g-1)
Suggests: libssl-doc
Conflicts: libssl1.0-dev
Description: Secure Sockets Layer toolkit - development files
 This package is part of the OpenSSL project's implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet. 

 It contains development libraries, header files, and manpages for libssl and libcrypto.
Homepage: https://www.openssl.org/
Tags: devel::lang:c, devel::library, implemented-in::TODO, implemented-in::c, protocol::ssl, role::devel-lib, security::cryptography

zoffix@kali:~/rakudo$ uname -a
Linux kali 5.7.0-kali1-amd64 #1 SMP Debian 5.7.6-1kali2 (2020-07-01) x86_64 GNU/Linux
zoffix@kali:~/rakudo$ lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description:    Kali GNU/Linux Rolling
Release:        2020.3
Codename:       kali-rolling
zoffix@kali:~/rakudo$ perl6 -v
This is Rakudo version 2020.08.1 built on MoarVM version 2020.08
implementing Raku 6.d.

Successful install, note the skipped build step (due to previous install attempt, I'm guessing):

zoffix@kali:/tmp/tmp.E3wLHapqwX$ git clone https://github.com/sergot/openssl
Cloning into 'openssl'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 887 (delta 4), reused 5 (delta 1), pack-reused 870
Receiving objects: 100% (887/887), 3.55 MiB | 255.00 KiB/s, done.
Resolving deltas: 100% (401/401), done.
zoffix@kali:/tmp/tmp.E3wLHapqwX$ cd openssl/
zoffix@kali:/tmp/tmp.E3wLHapqwX/openssl$ zef install .
===> Filtering: OpenSSL:ver<0.1.23>:auth<github:sergot>
===> Filtering [OK] for OpenSSL:ver<0.1.23>:auth<github:sergot>
===> # SKIP: No need to build OpenSSL:ver<0.1.23>:auth<github:sergot>
===> Testing: OpenSSL:ver<0.1.23>:auth<github:sergot>
[OpenSSL] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
[OpenSSL] t/01-basic.t ........... ok
[OpenSSL] # NETWORK_TESTING was not set
[OpenSSL] t/02-socket.t .......... ok
[OpenSSL] t/03-rsa.t ............. ok
[OpenSSL] t/04-crypt.t ........... ok
[OpenSSL] t/05-digest.t .......... ok
[OpenSSL] t/06-digest-md5.t ...... ok
[OpenSSL] t/07-version.t ......... ok
[OpenSSL] t/10-client-ca-file.t .. ok
[OpenSSL] # NETWORK_TESTING was not set
[OpenSSL] t/15-issue-36.t ........ ok
[OpenSSL] All tests successful.
[OpenSSL] Files=9, Tests=56, 113 wallclock secs ( 0.09 usr  0.01 sys + 100.10 cusr  3.58 csys = 103.78 CPU)
[OpenSSL] Result: PASS
===> Testing [OK] for OpenSSL:ver<0.1.23>:auth<github:sergot>
===> Installing: OpenSSL:ver<0.1.23>:auth<github:sergot>
===> Install [OK] for OpenSSL:ver<0.1.23>:auth<github:sergot>
kapitaali commented 2 years ago

I first got this error, but it was fixed by installing openssl-devel before doing zef install .