Closed juhp closed 2 months ago
Unfortunately, I can't reproduce it (do not have a Fedora). On macOS with openssl updated to version 1.1.1g tests work fine.
Same result with HsOpenSSL-0.11.4.18. What can I do to help debug this?
I think I can reproduce on Fedora 30, 31, 32 and Rawhide:
eg in docker run -it --rm fedora
if you execute:
dnf install cabal-install ghc-devel ghc-network-devel openssl-devel
cabal update
cabal unpack HsOpenSSL
cd HsOpenSSL-*
cabal test
Anyway I went ahead with the Fedora Package - and just disabled the testsuite. Though the failure seems a bit concerning even if it is Fedora specific. I wonder if some Fedora patch is causing this.
For some reason I haven't received your previous reply.
I rewrote test-dsa in C. Try to compile it under Fedora. If it will print anything then there's some error in Fedora OpenSSL. If not then there's something strange happening in HsOpenSSL/GHC https://gist.github.com/vshabanov/bbab2052343da8731c45c7460cbfa567
Sorry I think I missed yours too, oops ;-( Okay I will try to look at this soon.
This appears (long) fixed, thank you very much - finally got back to it in view of #88
I am trying to package HsOpenSSL-0.11.4.16 for Fedora, and enabled the testsuite:
https://koji.fedoraproject.org/koji/taskinfo?taskID=46248137
This is with openssl-1.1.1g.