croservices / cro

Development tools for building services and distributed systems in Raku using the Cro libraries.
https://cro.services/
Artistic License 2.0
88 stars 35 forks source link

cro install on macOS 11.6.2 fails #143

Closed snearch closed 2 years ago

snearch commented 2 years ago

$ zef install --test cro ===> Searching for: cro ===> Updating fez mirror: https://360.zef.pm/ ===> Updated fez mirror: https://360.zef.pm/ ===> Updating 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 ===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json ===> Searching for missing dependencies: IO::Socket::Async::SSL, JSON::Fast, META6, Shell::Command, File::Find, Terminal::ANSIColor, OO::Monitors, YAMLish, Cro::WebSocket:ver<0.8.7>, Docker::File, File::Ignore ===> Searching for missing dependencies: JSON::Class:ver<0.0.15+>, JSON::Name, MIME::Base64, Cro::HTTP:ver<0.8.7>, Base64, Digest::SHA1::Native, Crypt::Random, File::Which, OpenSSL ===> Searching for missing dependencies: if, LibraryMake, PathTools, JSON::OptIn, JSON::Marshal:ver<0.0.23+>, JSON::Unmarshal:ver<0.08+>, IO::Path::ChildSecure, HTTP::HPACK, Cro::Core:ver<0.8.7>, Cro::TLS:ver<0.8.7>, JSON::JWT, DateTime::Parse, Log::Timeline ===> Searching for missing dependencies: Digest::HMAC, CBOR::Simple ===> Searching for missing dependencies: Digest, TinyFloats:ver<0.0.3+> ===> Building: OpenSSL:ver<0.1.28> [OpenSSL] Using openssl prefix /usr/local/opt/openssl@3 ===> Building [OK] for OpenSSL:ver<0.1.28> ===> Building: Digest::SHA1::Native:ver<0.04> ===> Building [OK] for Digest::SHA1::Native:ver<0.04> ===> Testing: PathTools:ver<0.1.1>:auth ===> Testing [OK] for PathTools:ver<0.1.1>:auth ===> Testing: OpenSSL:ver<0.1.28> [OpenSSL] # NETWORK_TESTING was not set [OpenSSL] # NETWORK_TESTING was not set ===> Testing [OK] for OpenSSL:ver<0.1.28> ===> Testing: IO::Socket::Async::SSL:ver<0.7.9>:auth [IO::Socket::Async::SSL] # Failed test 'Connection ok when ciphers match up' [IO::Socket::Async::SSL] # at t/ciphers.t line 27 [IO::Socket::Async::SSL] # Cannot locate symbol 'SSL_get_peer_certificate' in native library '/usr/local/opt/openssl@3/lib/libssl.dylib' [IO::Socket::Async::SSL] # You failed 1 test of 2 [IO::Socket::Async::SSL] # Failed test 'Can establish and SSL connection to the SSL server' [IO::Socket::Async::SSL] # at t/client-server.t line 27 [IO::Socket::Async::SSL] # Cannot locate symbol 'SSL_get_peer_certificate' in native library '/usr/local/opt/openssl@3/lib/libssl.dylib' [IO::Socket::Async::SSL] # Failed test 'Can write to the SSL server' [IO::Socket::Async::SSL] # at t/client-server.t line 31 [IO::Socket::Async::SSL] # No such method 'write' for invocant of type 'Any' [IO::Socket::Async::SSL] # Failed test 'SSL echo server got back expected data' [IO::Socket::Async::SSL] # at t/client-server.t line 43 [IO::Socket::Async::SSL] # expected: 'penguin' [IO::Socket::Async::SSL] # got: '' [IO::Socket::Async::SSL] # Failed test 'Can close the SSL server connection' [IO::Socket::Async::SSL] # at t/client-server.t line 45 [IO::Socket::Async::SSL] # No such method 'close' for invocant of type 'Any'. Did you mean [IO::Socket::Async::SSL] # 'clone'? [IO::Socket::Async::SSL] # Failed test 'right exception type (X::IO::Socket::Async::SSL::Verification)' [IO::Socket::Async::SSL] # at SETTING::src/core.d/await.pm6 line 20 [IO::Socket::Async::SSL] # Expected: X::IO::Socket::Async::SSL::Verification [IO::Socket::Async::SSL] # Got: X::AdHoc+{X::Await::Died} [IO::Socket::Async::SSL] # Exception message: Cannot locate symbol 'SSL_get_peer_certificate' in native library '/usr/local/opt/openssl@3/lib/libssl.dylib' [IO::Socket::Async::SSL] # You failed 1 test of 2 [IO::Socket::Async::SSL] # Failed test 'Without specifying a CA, our self-signed server fails verification' [IO::Socket::Async::SSL] # at t/client-server.t line 47 [IO::Socket::Async::SSL] # Failed test 'right exception type (X::IO::Socket::Async::SSL::Verification)' [IO::Socket::Async::SSL] # at SETTING::src/core.d/await.pm6 line 20 [IO::Socket::Async::SSL] # Expected: X::IO::Socket::Async::SSL::Verification [IO::Socket::Async::SSL] # Got: X::AdHoc+{X::Await::Died} [IO::Socket::Async::SSL] # Exception message: Cannot locate symbol 'SSL_get_peer_certificate' in native library '/usr/local/opt/openssl@3/lib/libssl.dylib' [IO::Socket::Async::SSL] # You failed 1 test of 2 [IO::Socket::Async::SSL] # Failed test 'When we connect to 127.0.0.1, certificate for localhost will not do' [IO::Socket::Async::SSL] # at t/client-server.t line 67 [IO::Socket::Async::SSL] An operation first awaited: [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 364 [IO::Socket::Async::SSL] Died with the exception: [IO::Socket::Async::SSL] Cannot locate symbol 'SSL_get_peer_certificate' in native library '/usr/local/opt/openssl@3/lib/libssl.dylib' [IO::Socket::Async::SSL] in method setup at /Applications/rakudo/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 317 [IO::Socket::Async::SSL] in method setup at /Applications/rakudo/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 364 [IO::Socket::Async::SSL] in sub raku-nativecall at /Applications/rakudo/share/perl6/core/sources/07D7A4E6581D1C9421412E7D2A0586F9FED3D9B5 (NativeCall::Dispatcher) line 46 [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 670 [IO::Socket::Async::SSL] in method handle-buffers at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 695 [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 270 [IO::Socket::Async::SSL] # Failed test 'Connection with cipher doing key exchange works' [IO::Socket::Async::SSL] # at t/ecdh-ciphers.t line 19 [IO::Socket::Async::SSL] # Cannot locate symbol 'SSL_get_peer_certificate' in native library '/usr/local/opt/openssl@3/lib/libssl.dylib' [IO::Socket::Async::SSL] # You failed 1 test of 1 [IO::Socket::Async::SSL] An operation first awaited: [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 364 [IO::Socket::Async::SSL] Died with the exception: [IO::Socket::Async::SSL] Cannot locate symbol 'SSL_get_peer_certificate' in native library '/usr/local/opt/openssl@3/lib/libssl.dylib' [IO::Socket::Async::SSL] in method setup at /Applications/rakudo/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 317 [IO::Socket::Async::SSL] in method setup at /Applications/rakudo/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 364 [IO::Socket::Async::SSL] in sub raku-nativecall at /Applications/rakudo/share/perl6/core/sources/07D7A4E6581D1C9421412E7D2A0586F9FED3D9B5 (NativeCall::Dispatcher) line 46 [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 670 [IO::Socket::Async::SSL] in method handle-buffers at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 695 [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 270 [IO::Socket::Async::SSL] An operation first awaited: [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 364 [IO::Socket::Async::SSL] Died with the exception: [IO::Socket::Async::SSL] Cannot locate symbol 'SSL_get_peer_certificate' in native library '/usr/local/opt/openssl@3/lib/libssl.dylib' [IO::Socket::Async::SSL] in method setup at /Applications/rakudo/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 317 [IO::Socket::Async::SSL] in method setup at /Applications/rakudo/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 364 [IO::Socket::Async::SSL] in sub raku-nativecall at /Applications/rakudo/share/perl6/core/sources/07D7A4E6581D1C9421412E7D2A0586F9FED3D9B5 (NativeCall::Dispatcher) line 46 [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 670 [IO::Socket::Async::SSL] in method handle-buffers at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 695 [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 270 [IO::Socket::Async::SSL] A react block: [IO::Socket::Async::SSL] in block at t/upgrade.t line 49 [IO::Socket::Async::SSL] Died because of the exception: [IO::Socket::Async::SSL] An operation first awaited: [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 364 [IO::Socket::Async::SSL] Died with the exception: [IO::Socket::Async::SSL] Cannot locate symbol 'SSL_get_peer_certificate' in native library '/usr/local/opt/openssl@3/lib/libssl.dylib' [IO::Socket::Async::SSL] in method setup at /Applications/rakudo/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 317 [IO::Socket::Async::SSL] in method setup at /Applications/rakudo/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 364 [IO::Socket::Async::SSL] in sub raku-nativecall at /Applications/rakudo/share/perl6/core/sources/07D7A4E6581D1C9421412E7D2A0586F9FED3D9B5 (NativeCall::Dispatcher) line 46 [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 670 [IO::Socket::Async::SSL] in method handle-buffers at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 695 [IO::Socket::Async::SSL] in block at /Users/olaf/.zef/tmp/IO-Socket-Async-SSL-0.7.9.tar.gz/IO-Socket-Async-SSL/lib/IO/Socket/Async/SSL.pm6 (IO::Socket::Async::SSL) line 270 ===> Testing [FAIL]: IO::Socket::Async::SSL:ver<0.7.9>:auth Aborting due to test failure: IO::Socket::Async::SSL:ver<0.7.9>:auth (use --force-test to override)

snearch commented 2 years ago

I made a typo, instead of $ zef install --/test cro I issued $ zef install --test cro