Skip to content
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

t/01-basic.t test fails on macOS High Sierra #63

Closed
bbkr opened this issue Jul 23, 2018 · 7 comments · Fixed by #78
Closed

t/01-basic.t test fails on macOS High Sierra #63

bbkr opened this issue Jul 23, 2018 · 7 comments · Fixed by #78

Comments

@bbkr
Copy link

bbkr commented Jul 23, 2018

===> Testing: OpenSSL:ver<0.1.19>:auth<github:sergot>
# Failed test 'new 3/3'
# at t/01-basic.t line 15
# expected: '65536'
#      got: '771'
# Looks like you failed 1 test of 9
$ perl6 -v
This is Rakudo version 2018.06 built on MoarVM version 2018.06
implementing Perl 6.c.
$ openssl version
LibreSSL 2.2.7

MacOS High Sierra 10.13.5

@bbkr bbkr changed the title Load test fails on macOS High Sierra t/01-basic.t test fails on macOS High Sierra Jul 23, 2018
@coke
Copy link

coke commented Oct 15, 2018

Still happening as of Rakudo version 2018.09-72-g687a3cbb0 built on MoarVM version 2018.09-123-g0191bd9cf

@MattOates
Copy link

MattOates commented Feb 7, 2019

Still here, let me know if there is anything I can do to help diagnose this further. Its the main blocker for installing cro on MacOS.

$ perl6 --version
This is Rakudo version 2018.12-280-gdf96fa0f3 built on MoarVM version 2018.12-45-ga9d02578a
implementing Perl 6.d.
$ openssl version
OpenSSL 1.0.2p  14 Aug 2018
$ zef install OpenSSL
===> Searching for: OpenSSL
===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Testing: OpenSSL:ver<0.1.21>:auth<github:sergot>
# Failed test 'new 3/3'
# at t/01-basic.t line 15
# expected: '65536'
#      got: '771'
# Looks like you failed 1 test of 9
# NETWORK_TESTING was not set
# NETWORK_TESTING was not set
===> Testing [FAIL]: OpenSSL:ver<0.1.21>:auth<github:sergot>
Aborting due to test failure: OpenSSL:ver<0.1.21>:auth<github:sergot> (use --force-test to override)

@bbkr
Copy link
Author

bbkr commented May 3, 2019

Still bugged.

@AngeldsWang
Copy link

FYI. On my mac, the default ldlibs in config is /usr/local/lib

$ perl6 -e 'say $*VM.config<ldlibs>'
 -L/usr/local/lib -lffi -ltommath -latomic_ops -luv -lpthread

I didn't find a way to change the configuration and figure out why LD_LIBRARY_PATH do not work neither. But after linking libssl.dylib from /usr/local/opt/openssl/lib into /usr/local/lib, the error had gone away.

@scovit
Copy link

scovit commented Jan 20, 2020

The bug is still there. MacOS mojave

$ openssl version
LibreSSL 2.6.5

@scovit
Copy link

scovit commented Jan 20, 2020

#73 might fix the issue, although, quite frankly, I do not know which kind of functionality that test is testing, why it has been written in the first place, and why it should be one way or the other?

@Digicrat
Copy link

Digicrat commented Feb 7, 2020

Same issue here on Mojave after upgrading Rakudo to 2020.01 release.

I used the "--force-test" option to bypass the test on this module and continue with installing the modules I need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants