sergot / openssl

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

Tests fail on Mac #80

Closed samebchase closed 3 years ago

samebchase commented 4 years ago

Hey, I tried installing this library, and this is the failure I got.

Rakudo version: 2020.05 built on MoarVM version 2020.05

❯ zef install OpenSSL --verbose
===> Searching for: OpenSSL
===> Found: OpenSSL:ver<0.1.23>:auth<github:sergot> [via Zef::Repository::LocalCache]
===> Testing: OpenSSL:ver<0.1.23>:auth<github:sergot>
[OpenSSL] t/01-basic.t ...........
[OpenSSL] No subtests run
[OpenSSL] t/02-socket.t ..........
[OpenSSL] No subtests run
[OpenSSL] t/03-rsa.t .............
[OpenSSL] No subtests run
[OpenSSL] t/04-crypt.t ...........
[OpenSSL] Failed 10/11 subtests
[OpenSSL] t/05-digest.t ..........
[OpenSSL] Failed 5/5 subtests
[OpenSSL] t/06-digest-md5.t ......
[OpenSSL] Failed 1/1 subtests
[OpenSSL] t/07-version.t .........
[OpenSSL] Failed 9/9 subtests
[OpenSSL] t/10-client-ca-file.t ..
[OpenSSL] No subtests run
[OpenSSL] t/15-issue-36.t ........
[OpenSSL] No subtests run
[OpenSSL] Test Summary Report
[OpenSSL] -------------------
[OpenSSL] t/01-basic.t         (Wstat: 6 Tests: 0 Failed: 0)
[OpenSSL]   Non-zero wait status: 6
[OpenSSL]   Parse errors: No plan found in TAP output
[OpenSSL] t/02-socket.t        (Wstat: 6 Tests: 0 Failed: 0)
[OpenSSL]   Non-zero wait status: 6
[OpenSSL]   Parse errors: No plan found in TAP output
[OpenSSL] t/03-rsa.t           (Wstat: 6 Tests: 0 Failed: 0)
[OpenSSL]   Non-zero wait status: 6
[OpenSSL]   Parse errors: No plan found in TAP output
[OpenSSL] t/04-crypt.t         (Wstat: 6 Tests: 1 Failed: 0)
[OpenSSL]   Non-zero wait status: 6
[OpenSSL]   Parse errors: Bad plan.  You planned 11 tests but ran 1.
[OpenSSL] t/05-digest.t        (Wstat: 6 Tests: 0 Failed: 0)
[OpenSSL]   Non-zero wait status: 6
[OpenSSL]   Parse errors: Bad plan.  You planned 5 tests but ran 0.
[OpenSSL] t/06-digest-md5.t    (Wstat: 6 Tests: 0 Failed: 0)
[OpenSSL]   Non-zero wait status: 6
[OpenSSL]   Parse errors: Bad plan.  You planned 1 tests but ran 0.
[OpenSSL] t/07-version.t       (Wstat: 6 Tests: 0 Failed: 0)
[OpenSSL]   Non-zero wait status: 6
[OpenSSL]   Parse errors: Bad plan.  You planned 9 tests but ran 0.
[OpenSSL] t/10-client-ca-file.t (Wstat: 6 Tests: 0 Failed: 0)
[OpenSSL]   Non-zero wait status: 6
[OpenSSL]   Parse errors: No plan found in TAP output
[OpenSSL] t/15-issue-36.t      (Wstat: 6 Tests: 0 Failed: 0)
[OpenSSL]   Non-zero wait status: 6
[OpenSSL]   Parse errors: No plan found in TAP output
[OpenSSL] Files=9, Tests=1, 21 wallclock secs ( 0.05 usr  0.02 sys + 30.48 cusr  4.36 csys = 34.91 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)

Let me know if you need any more information.

SirBogman commented 4 years ago

I have the same issue.

SirBogman commented 4 years ago

If I ignore the test failures and install anyway, I'm not able to use it because it crashes. I know I've used some past version with some older Raku version on the machine.

Zer0-Tolerance commented 3 years ago

same problem here, test fails on OS X 10.15.7 with any version of Raku above 2020.02.1 and as a result Raku seg fault when trying to use SSL ...
@sergot can you check what might have changed in the Raku source code that would trigger this behavior ?