Build #1 for HsOpenSSL-0.11.7.3

[all reports]

Package HsOpenSSL-0.11.7.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2022-12-17 18:09:01.273502374 UTC
Compiler ghc-9.2.4
OS linux
Arch x86_64
Dependencies base-4.16.3.0, bytestring-0.11.3.1, network-3.1.2.7, time-1.11.1.1
Flags -fast-bignum -homebrew-openssl -macports-openssl -use-pkg-config

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     network-3.1.2.7
Building     network-3.1.2.7
Completed    network-3.1.2.7
Downloading  HsOpenSSL-0.11.7.3
Downloaded   HsOpenSSL-0.11.7.3
Starting     HsOpenSSL-0.11.7.3
Building     HsOpenSSL-0.11.7.3
Failed to install HsOpenSSL-0.11.7.3
Build log ( /home/builder/.cabal/logs/ghc-9.2.4/HsOpenSSL-0.11.7.3-77wUeypiZj4JCPEIJSScuS.log ):
cabal: Entering directory '/tmp/cabal-tmp-2088467/HsOpenSSL-0.11.7.3'
[1 of 1] Compiling Main             ( /tmp/cabal-tmp-2088467/HsOpenSSL-0.11.7.3/dist/setup/setup.hs, /tmp/cabal-tmp-2088467/HsOpenSSL-0.11.7.3/dist/setup/Main.o )
Linking /tmp/cabal-tmp-2088467/HsOpenSSL-0.11.7.3/dist/setup/setup ...
Configuring HsOpenSSL-0.11.7.3...
Preprocessing library for HsOpenSSL-0.11.7.3..
Building library for HsOpenSSL-0.11.7.3..
[ 1 of 33] Compiling OpenSSL          ( OpenSSL.hs, dist/build/OpenSSL.o, dist/build/OpenSSL.dyn_o )
[ 2 of 33] Compiling OpenSSL.DH.Internal ( OpenSSL/DH/Internal.hs, dist/build/OpenSSL/DH/Internal.o, dist/build/OpenSSL/DH/Internal.dyn_o )
[ 3 of 33] Compiling OpenSSL.ERR      ( OpenSSL/ERR.hs, dist/build/OpenSSL/ERR.o, dist/build/OpenSSL/ERR.dyn_o )
[ 4 of 33] Compiling OpenSSL.EVP.Base64 ( OpenSSL/EVP/Base64.hs, dist/build/OpenSSL/EVP/Base64.o, dist/build/OpenSSL/EVP/Base64.dyn_o )
[ 5 of 33] Compiling OpenSSL.Objects  ( dist/build/OpenSSL/Objects.hs, dist/build/OpenSSL/Objects.o, dist/build/OpenSSL/Objects.dyn_o )
[ 6 of 33] Compiling OpenSSL.SSL.Option ( dist/build/OpenSSL/SSL/Option.hs, dist/build/OpenSSL/SSL/Option.o, dist/build/OpenSSL/SSL/Option.dyn_o )
[ 7 of 33] Compiling OpenSSL.Stack    ( dist/build/OpenSSL/Stack.hs, dist/build/OpenSSL/Stack.o, dist/build/OpenSSL/Stack.dyn_o )
[ 8 of 33] Compiling OpenSSL.Utils    ( OpenSSL/Utils.hs, dist/build/OpenSSL/Utils.o, dist/build/OpenSSL/Utils.dyn_o )
[ 9 of 33] Compiling OpenSSL.Random   ( OpenSSL/Random.hs, dist/build/OpenSSL/Random.o, dist/build/OpenSSL/Random.dyn_o )
/tmp/ghc2090505_0/ghc_123.c: In function ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRandomZCRANDzupseudozubytes:

/tmp/ghc2090505_0/ghc_123.c:10:1: error:
     warning: RAND_pseudo_bytes is deprecated [-Wdeprecated-declarations]
       10 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);}
          | ^~~~
   |
10 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);}
   | ^
In file included from /usr/include/openssl/e_os2.h:13,
                 from /usr/include/openssl/ossl_typ.h:19,
                 from /usr/include/openssl/rand.h:14,

                 from /tmp/ghc2090505_0/ghc_123.c:7:0: error: 

/usr/include/openssl/rand.h:44:1: error:
     note: declared here
       44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
          | ^~~~~~~~~~~~~~~~~~
   |
44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
   | ^
/tmp/ghc2090505_0/ghc_130.c: In function ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRandomZCRANDzupseudozubytes:

/tmp/ghc2090505_0/ghc_130.c:10:1: error:
     warning: RAND_pseudo_bytes is deprecated [-Wdeprecated-declarations]
       10 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);}
          | ^~~~
   |
10 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);}
   | ^
In file included from /usr/include/openssl/e_os2.h:13,
                 from /usr/include/openssl/ossl_typ.h:19,
                 from /usr/include/openssl/rand.h:14,

                 from /tmp/ghc2090505_0/ghc_130.c:7:0: error: 

/usr/include/openssl/rand.h:44:1: error:
     note: declared here
       44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
          | ^~~~~~~~~~~~~~~~~~
   |
44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
   | ^
[10 of 33] Compiling OpenSSL.EVP.Internal ( dist/build/OpenSSL/EVP/Internal.hs, dist/build/OpenSSL/EVP/Internal.o, dist/build/OpenSSL/EVP/Internal.dyn_o )
/tmp/ghc2090505_0/ghc_138.c: In function ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziInternalZCHMACzuInit:

/tmp/ghc2090505_0/ghc_138.c:22:1: error:
     warning: HMAC_Init is deprecated [-Wdeprecated-declarations]
       22 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);}
          | ^~~~~~~
   |
22 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);}
   | ^
In file included from /usr/include/openssl/evp.h:13,

                 from /tmp/ghc2090505_0/ghc_138.c:7:0: error: 

/usr/include/openssl/hmac.h:30:1: error:
     note: declared here
       30 | DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
          | ^~~~~~~~~~~~~~~~~~
   |
30 | DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
   | ^
/tmp/ghc2090505_0/ghc_145.c: In function ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziInternalZCHMACzuInit:

/tmp/ghc2090505_0/ghc_145.c:22:1: error:
     warning: HMAC_Init is deprecated [-Wdeprecated-declarations]
       22 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);}
          | ^~~~~~~
   |
22 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);}
   | ^
In file included from /usr/include/openssl/evp.h:13,

                 from /tmp/ghc2090505_0/ghc_145.c:7:0: error: 

/usr/include/openssl/hmac.h:30:1: error:
     note: declared here
       30 | DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
          | ^~~~~~~~~~~~~~~~~~
   |
30 | DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
   | ^
[11 of 33] Compiling OpenSSL.EVP.Digest ( dist/build/OpenSSL/EVP/Digest.hs, dist/build/OpenSSL/EVP/Digest.o, dist/build/OpenSSL/EVP/Digest.dyn_o )
/tmp/ghc2090505_0/ghc_153.c: In function ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname:

/tmp/ghc2090505_0/ghc_153.c:14:138: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       14 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);}
          |                                                                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~
   |
14 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);}
   |                                                                                                                                          ^
/tmp/ghc2090505_0/ghc_160.c: In function ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname:

/tmp/ghc2090505_0/ghc_160.c:14:138: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       14 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);}
          |                                                                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~
   |
14 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);}
   |                                                                                                                                          ^
[12 of 33] Compiling OpenSSL.EVP.Cipher ( OpenSSL/EVP/Cipher.hs, dist/build/OpenSSL/EVP/Cipher.o, dist/build/OpenSSL/EVP/Cipher.dyn_o )
/tmp/ghc2090505_0/ghc_168.c: In function ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname:

/tmp/ghc2090505_0/ghc_168.c:9:142: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
        9 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);}
          |                                                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~
  |
9 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);}
  |                                                                                                                                              ^
/tmp/ghc2090505_0/ghc_175.c: In function ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname:

/tmp/ghc2090505_0/ghc_175.c:9:142: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
        9 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);}
          |                                                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~
  |
9 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);}
  |                                                                                                                                              ^
[13 of 33] Compiling OpenSSL.Cipher   ( dist/build/OpenSSL/Cipher.hs, dist/build/OpenSSL/Cipher.o, dist/build/OpenSSL/Cipher.dyn_o )
[14 of 33] Compiling OpenSSL.BN       ( dist/build/OpenSSL/BN.hs, dist/build/OpenSSL/BN.o, dist/build/OpenSSL/BN.dyn_o )
[15 of 33] Compiling OpenSSL.RSA      ( dist/build/OpenSSL/RSA.hs, dist/build/OpenSSL/RSA.o, dist/build/OpenSSL/RSA.dyn_o )
/tmp/ghc2090505_0/ghc_213.c: In function ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams:

/tmp/ghc2090505_0/ghc_213.c:10:182: error:
     warning: passing argument 2 of RSA_get0_crt_params from incompatible pointer type [-Wincompatible-pointer-types]
       10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
          |                                                                                                                                                                                      ^~
          |                                                                                                                                                                                      |
          |                                                                                                                                                                                      BIGNUM ** {aka struct bignum_st **}
   |
10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
   |                                                                                                                                                                                      ^

In file included from /tmp/ghc2090505_0/ghc_213.c:7:0: error: 

/usr/include/openssl/rsa.h:215:41: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      215 |                          const BIGNUM **dmp1, const BIGNUM **dmq1,
          |                          ~~~~~~~~~~~~~~~^~~~
    |
215 |                          const BIGNUM **dmp1, const BIGNUM **dmq1,
    |                                         ^

/tmp/ghc2090505_0/ghc_213.c:10:186: error:
     warning: passing argument 3 of RSA_get0_crt_params from incompatible pointer type [-Wincompatible-pointer-types]
       10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
          |                                                                                                                                                                                          ^~
          |                                                                                                                                                                                          |
          |                                                                                                                                                                                          BIGNUM ** {aka struct bignum_st **}
   |
10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
   |                                                                                                                                                                                          ^

In file included from /tmp/ghc2090505_0/ghc_213.c:7:0: error: 

/usr/include/openssl/rsa.h:215:62: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      215 |                          const BIGNUM **dmp1, const BIGNUM **dmq1,
          |                                               ~~~~~~~~~~~~~~~^~~~
    |
215 |                          const BIGNUM **dmp1, const BIGNUM **dmq1,
    |                                                              ^

/tmp/ghc2090505_0/ghc_213.c:10:190: error:
     warning: passing argument 4 of RSA_get0_crt_params from incompatible pointer type [-Wincompatible-pointer-types]
       10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
          |                                                                                                                                                                                              ^~
          |                                                                                                                                                                                              |
          |                                                                                                                                                                                              BIGNUM ** {aka struct bignum_st **}
   |
10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
   |                                                                                                                                                                                              ^

In file included from /tmp/ghc2090505_0/ghc_213.c:7:0: error: 

/usr/include/openssl/rsa.h:216:41: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      216 |                          const BIGNUM **iqmp);
          |                          ~~~~~~~~~~~~~~~^~~~
    |
216 |                          const BIGNUM **iqmp);
    |                                         ^
/tmp/ghc2090505_0/ghc_213.c: In function ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors:

/tmp/ghc2090505_0/ghc_213.c:14:162: error:
     warning: passing argument 2 of RSA_get0_factors from incompatible pointer type [-Wincompatible-pointer-types]
       14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);}
          |                                                                                                                                                                  ^~
          |                                                                                                                                                                  |
          |                                                                                                                                                                  BIGNUM ** {aka struct bignum_st **}
   |
14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);}
   |                                                                                                                                                                  ^

In file included from /tmp/ghc2090505_0/ghc_213.c:7:0: error: 

/usr/include/openssl/rsa.h:211:52: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      211 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
          |                                     ~~~~~~~~~~~~~~~^
    |
211 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
    |                                                    ^

/tmp/ghc2090505_0/ghc_213.c:14:166: error:
     warning: passing argument 3 of RSA_get0_factors from incompatible pointer type [-Wincompatible-pointer-types]
       14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);}
          |                                                                                                                                                                      ^~
          |                                                                                                                                                                      |
          |                                                                                                                                                                      BIGNUM ** {aka struct bignum_st **}
   |
14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);}
   |                                                                                                                                                                      ^

In file included from /tmp/ghc2090505_0/ghc_213.c:7:0: error: 

/usr/include/openssl/rsa.h:211:70: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      211 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
          |                                                       ~~~~~~~~~~~~~~~^
    |
211 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
    |                                                                      ^
/tmp/ghc2090505_0/ghc_213.c: In function ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey:

/tmp/ghc2090505_0/ghc_213.c:18:167: error:
     warning: passing argument 2 of RSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
          |                                                                                                                                                                       ^~
          |                                                                                                                                                                       |
          |                                                                                                                                                                       BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
   |                                                                                                                                                                       ^

In file included from /tmp/ghc2090505_0/ghc_213.c:7:0: error: 

/usr/include/openssl/rsa.h:210:34: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
          |                   ~~~~~~~~~~~~~~~^
    |
210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
    |                                  ^

/tmp/ghc2090505_0/ghc_213.c:18:171: error:
     warning: passing argument 3 of RSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
          |                                                                                                                                                                           ^~
          |                                                                                                                                                                           |
          |                                                                                                                                                                           BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
   |                                                                                                                                                                           ^

In file included from /tmp/ghc2090505_0/ghc_213.c:7:0: error: 

/usr/include/openssl/rsa.h:210:52: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
          |                                     ~~~~~~~~~~~~~~~^
    |
210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
    |                                                    ^

/tmp/ghc2090505_0/ghc_213.c:18:175: error:
     warning: passing argument 4 of RSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
          |                                                                                                                                                                               ^~
          |                                                                                                                                                                               |
          |                                                                                                                                                                               BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
   |                                                                                                                                                                               ^

In file included from /tmp/ghc2090505_0/ghc_213.c:7:0: error: 

/usr/include/openssl/rsa.h:210:70: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
          |                                                       ~~~~~~~~~~~~~~~^
    |
210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
    |                                                                      ^
/tmp/ghc2090505_0/ghc_213.c: In function ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzugeneratezukey:

/tmp/ghc2090505_0/ghc_213.c:21:1: error:
     warning: RSA_generate_key is deprecated [-Wdeprecated-declarations]
       21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);}
          | ^~~
   |
21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);}
   | ^
In file included from /usr/include/openssl/rsa.h:13,

                 from /tmp/ghc2090505_0/ghc_213.c:7:0: error: 

/usr/include/openssl/rsa.h:235:1: error:
     note: declared here
      235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
          | ^~~~~~~~~~~~~~~~~~
    |
235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
    | ^
/tmp/ghc2090505_0/ghc_220.c: In function ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams:

/tmp/ghc2090505_0/ghc_220.c:10:182: error:
     warning: passing argument 2 of RSA_get0_crt_params from incompatible pointer type [-Wincompatible-pointer-types]
       10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
          |                                                                                                                                                                                      ^~
          |                                                                                                                                                                                      |
          |                                                                                                                                                                                      BIGNUM ** {aka struct bignum_st **}
   |
10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
   |                                                                                                                                                                                      ^

In file included from /tmp/ghc2090505_0/ghc_220.c:7:0: error: 

/usr/include/openssl/rsa.h:215:41: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      215 |                          const BIGNUM **dmp1, const BIGNUM **dmq1,
          |                          ~~~~~~~~~~~~~~~^~~~
    |
215 |                          const BIGNUM **dmp1, const BIGNUM **dmq1,
    |                                         ^

/tmp/ghc2090505_0/ghc_220.c:10:186: error:
     warning: passing argument 3 of RSA_get0_crt_params from incompatible pointer type [-Wincompatible-pointer-types]
       10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
          |                                                                                                                                                                                          ^~
          |                                                                                                                                                                                          |
          |                                                                                                                                                                                          BIGNUM ** {aka struct bignum_st **}
   |
10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
   |                                                                                                                                                                                          ^

In file included from /tmp/ghc2090505_0/ghc_220.c:7:0: error: 

/usr/include/openssl/rsa.h:215:62: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      215 |                          const BIGNUM **dmp1, const BIGNUM **dmq1,
          |                                               ~~~~~~~~~~~~~~~^~~~
    |
215 |                          const BIGNUM **dmp1, const BIGNUM **dmq1,
    |                                                              ^

/tmp/ghc2090505_0/ghc_220.c:10:190: error:
     warning: passing argument 4 of RSA_get0_crt_params from incompatible pointer type [-Wincompatible-pointer-types]
       10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
          |                                                                                                                                                                                              ^~
          |                                                                                                                                                                                              |
          |                                                                                                                                                                                              BIGNUM ** {aka struct bignum_st **}
   |
10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);}
   |                                                                                                                                                                                              ^

In file included from /tmp/ghc2090505_0/ghc_220.c:7:0: error: 

/usr/include/openssl/rsa.h:216:41: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      216 |                          const BIGNUM **iqmp);
          |                          ~~~~~~~~~~~~~~~^~~~
    |
216 |                          const BIGNUM **iqmp);
    |                                         ^
/tmp/ghc2090505_0/ghc_220.c: In function ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors:

/tmp/ghc2090505_0/ghc_220.c:14:162: error:
     warning: passing argument 2 of RSA_get0_factors from incompatible pointer type [-Wincompatible-pointer-types]
       14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);}
          |                                                                                                                                                                  ^~
          |                                                                                                                                                                  |
          |                                                                                                                                                                  BIGNUM ** {aka struct bignum_st **}
   |
14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);}
   |                                                                                                                                                                  ^

In file included from /tmp/ghc2090505_0/ghc_220.c:7:0: error: 

/usr/include/openssl/rsa.h:211:52: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      211 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
          |                                     ~~~~~~~~~~~~~~~^
    |
211 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
    |                                                    ^

/tmp/ghc2090505_0/ghc_220.c:14:166: error:
     warning: passing argument 3 of RSA_get0_factors from incompatible pointer type [-Wincompatible-pointer-types]
       14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);}
          |                                                                                                                                                                      ^~
          |                                                                                                                                                                      |
          |                                                                                                                                                                      BIGNUM ** {aka struct bignum_st **}
   |
14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);}
   |                                                                                                                                                                      ^

In file included from /tmp/ghc2090505_0/ghc_220.c:7:0: error: 

/usr/include/openssl/rsa.h:211:70: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      211 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
          |                                                       ~~~~~~~~~~~~~~~^
    |
211 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
    |                                                                      ^
/tmp/ghc2090505_0/ghc_220.c: In function ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey:

/tmp/ghc2090505_0/ghc_220.c:18:167: error:
     warning: passing argument 2 of RSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
          |                                                                                                                                                                       ^~
          |                                                                                                                                                                       |
          |                                                                                                                                                                       BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
   |                                                                                                                                                                       ^

In file included from /tmp/ghc2090505_0/ghc_220.c:7:0: error: 

/usr/include/openssl/rsa.h:210:34: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
          |                   ~~~~~~~~~~~~~~~^
    |
210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
    |                                  ^

/tmp/ghc2090505_0/ghc_220.c:18:171: error:
     warning: passing argument 3 of RSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
          |                                                                                                                                                                           ^~
          |                                                                                                                                                                           |
          |                                                                                                                                                                           BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
   |                                                                                                                                                                           ^

In file included from /tmp/ghc2090505_0/ghc_220.c:7:0: error: 

/usr/include/openssl/rsa.h:210:52: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
          |                                     ~~~~~~~~~~~~~~~^
    |
210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
    |                                                    ^

/tmp/ghc2090505_0/ghc_220.c:18:175: error:
     warning: passing argument 4 of RSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
          |                                                                                                                                                                               ^~
          |                                                                                                                                                                               |
          |                                                                                                                                                                               BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);}
   |                                                                                                                                                                               ^

In file included from /tmp/ghc2090505_0/ghc_220.c:7:0: error: 

/usr/include/openssl/rsa.h:210:70: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
          |                                                       ~~~~~~~~~~~~~~~^
    |
210 |                   const BIGNUM **n, const BIGNUM **e, const BIGNUM **d);
    |                                                                      ^
/tmp/ghc2090505_0/ghc_220.c: In function ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzugeneratezukey:

/tmp/ghc2090505_0/ghc_220.c:21:1: error:
     warning: RSA_generate_key is deprecated [-Wdeprecated-declarations]
       21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);}
          | ^~~
   |
21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);}
   | ^
In file included from /usr/include/openssl/rsa.h:13,

                 from /tmp/ghc2090505_0/ghc_220.c:7:0: error: 

/usr/include/openssl/rsa.h:235:1: error:
     note: declared here
      235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
          | ^~~~~~~~~~~~~~~~~~
    |
235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
    | ^
[16 of 33] Compiling OpenSSL.DER      ( dist/build/OpenSSL/DER.hs, dist/build/OpenSSL/DER.o, dist/build/OpenSSL/DER.dyn_o )
/tmp/ghc2090505_0/ghc_228.c: In function ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPrivateKey:

/tmp/ghc2090505_0/ghc_228.c:12:171: error:
     warning: passing argument 2 of d2i_RSAPrivateKey from incompatible pointer type [-Wincompatible-pointer-types]
       12 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);}
          |                                                                                                                                                                           ^~
          |                                                                                                                                                                           |
          |                                                                                                                                                                           HsWord8 ** {aka unsigned char **}
   |
12 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);}
   |                                                                                                                                                                           ^
In file included from cbits/HsOpenSSL.h:3,

                 from /tmp/ghc2090505_0/ghc_228.c:7:0: error: 

/usr/include/openssl/rsa.h:281:1: error:
     note: expected const unsigned char ** but argument is of type HsWord8 ** {aka unsigned char **}
      281 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    |
281 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
    | ^
/tmp/ghc2090505_0/ghc_228.c: In function ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPublicKey:

/tmp/ghc2090505_0/ghc_228.c:18:169: error:
     warning: passing argument 2 of d2i_RSAPublicKey from incompatible pointer type [-Wincompatible-pointer-types]
       18 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);}
          |                                                                                                                                                                         ^~
          |                                                                                                                                                                         |
          |                                                                                                                                                                         HsWord8 ** {aka unsigned char **}
   |
18 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);}
   |                                                                                                                                                                         ^
In file included from cbits/HsOpenSSL.h:3,

                 from /tmp/ghc2090505_0/ghc_228.c:7:0: error: 

/usr/include/openssl/rsa.h:280:1: error:
     note: expected const unsigned char ** but argument is of type HsWord8 ** {aka unsigned char **}
      280 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    |
280 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
    | ^
/tmp/ghc2090505_0/ghc_235.c: In function ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPrivateKey:

/tmp/ghc2090505_0/ghc_235.c:12:171: error:
     warning: passing argument 2 of d2i_RSAPrivateKey from incompatible pointer type [-Wincompatible-pointer-types]
       12 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);}
          |                                                                                                                                                                           ^~
          |                                                                                                                                                                           |
          |                                                                                                                                                                           HsWord8 ** {aka unsigned char **}
   |
12 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);}
   |                                                                                                                                                                           ^
In file included from cbits/HsOpenSSL.h:3,

                 from /tmp/ghc2090505_0/ghc_235.c:7:0: error: 

/usr/include/openssl/rsa.h:281:1: error:
     note: expected const unsigned char ** but argument is of type HsWord8 ** {aka unsigned char **}
      281 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    |
281 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
    | ^
/tmp/ghc2090505_0/ghc_235.c: In function ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPublicKey:

/tmp/ghc2090505_0/ghc_235.c:18:169: error:
     warning: passing argument 2 of d2i_RSAPublicKey from incompatible pointer type [-Wincompatible-pointer-types]
       18 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);}
          |                                                                                                                                                                         ^~
          |                                                                                                                                                                         |
          |                                                                                                                                                                         HsWord8 ** {aka unsigned char **}
   |
18 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);}
   |                                                                                                                                                                         ^
In file included from cbits/HsOpenSSL.h:3,

                 from /tmp/ghc2090505_0/ghc_235.c:7:0: error: 

/usr/include/openssl/rsa.h:280:1: error:
     note: expected const unsigned char ** but argument is of type HsWord8 ** {aka unsigned char **}
      280 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    |
280 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey)
    | ^
[17 of 33] Compiling OpenSSL.DSA      ( dist/build/OpenSSL/DSA.hs, dist/build/OpenSSL/DSA.o, dist/build/OpenSSL/DSA.dyn_o )
/tmp/ghc2090505_0/ghc_243.c: In function ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey:

/tmp/ghc2090505_0/ghc_243.c:15:155: error:
     warning: passing argument 2 of DSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);}
          |                                                                                                                                                           ^~
          |                                                                                                                                                           |
          |                                                                                                                                                           BIGNUM ** {aka struct bignum_st **}
   |
15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);}
   |                                                                                                                                                           ^

In file included from /tmp/ghc2090505_0/ghc_243.c:7:0: error: 

/usr/include/openssl/dsa.h:180:34: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      180 |                   const BIGNUM **pub_key, const BIGNUM **priv_key);
          |                   ~~~~~~~~~~~~~~~^~~~~~~
    |
180 |                   const BIGNUM **pub_key, const BIGNUM **priv_key);
    |                                  ^

/tmp/ghc2090505_0/ghc_243.c:15:159: error:
     warning: passing argument 3 of DSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);}
          |                                                                                                                                                               ^~
          |                                                                                                                                                               |
          |                                                                                                                                                               BIGNUM ** {aka struct bignum_st **}
   |
15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);}
   |                                                                                                                                                               ^

In file included from /tmp/ghc2090505_0/ghc_243.c:7:0: error: 

/usr/include/openssl/dsa.h:180:58: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      180 |                   const BIGNUM **pub_key, const BIGNUM **priv_key);
          |                                           ~~~~~~~~~~~~~~~^~~~~~~~
    |
180 |                   const BIGNUM **pub_key, const BIGNUM **priv_key);
    |                                                          ^
/tmp/ghc2090505_0/ghc_243.c: In function ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg:

/tmp/ghc2090505_0/ghc_243.c:18:168: error:
     warning: passing argument 2 of DSA_get0_pqg from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
          |                                                                                                                                                                        ^~
          |                                                                                                                                                                        |
          |                                                                                                                                                                        BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
   |                                                                                                                                                                        ^

In file included from /tmp/ghc2090505_0/ghc_243.c:7:0: error: 

/usr/include/openssl/dsa.h:177:34: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
          |                   ~~~~~~~~~~~~~~~^
    |
177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
    |                                  ^

/tmp/ghc2090505_0/ghc_243.c:18:172: error:
     warning: passing argument 3 of DSA_get0_pqg from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
          |                                                                                                                                                                            ^~
          |                                                                                                                                                                            |
          |                                                                                                                                                                            BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
   |                                                                                                                                                                            ^

In file included from /tmp/ghc2090505_0/ghc_243.c:7:0: error: 

/usr/include/openssl/dsa.h:177:52: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
          |                                     ~~~~~~~~~~~~~~~^
    |
177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
    |                                                    ^

/tmp/ghc2090505_0/ghc_243.c:18:176: error:
     warning: passing argument 4 of DSA_get0_pqg from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
          |                                                                                                                                                                                ^~
          |                                                                                                                                                                                |
          |                                                                                                                                                                                BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
   |                                                                                                                                                                                ^

In file included from /tmp/ghc2090505_0/ghc_243.c:7:0: error: 

/usr/include/openssl/dsa.h:177:70: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
          |                                                       ~~~~~~~~~~~~~~~^
    |
177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
    |                                                                      ^
/tmp/ghc2090505_0/ghc_243.c: In function ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters:

/tmp/ghc2090505_0/ghc_243.c:26:1: error:
     warning: DSA_generate_parameters is deprecated [-Wdeprecated-declarations]
       26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);}
          | ^~~~
   |
26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);}
   | ^
In file included from /usr/include/openssl/dsa.h:13,

                 from /tmp/ghc2090505_0/ghc_243.c:7:0: error: 

/usr/include/openssl/dsa.h:117:1: error:
     note: declared here
      117 | DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
          | ^~~~~~~~~~~~~~~~~~
    |
117 | DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
    | ^

/tmp/ghc2090505_0/ghc_243.c:26:233: error:
     warning: passing argument 5 of DSA_generate_parameters from incompatible pointer type [-Wincompatible-pointer-types]
       26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);}
          |                                                                                                                                                                                                                                         ^~
          |                                                                                                                                                                                                                                         |
          |                                                                                                                                                                                                                                         int *
   |
26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);}
   |                                                                                                                                                                                                                                         ^
In file included from /usr/include/openssl/dsa.h:13,

                 from /tmp/ghc2090505_0/ghc_243.c:7:0: error: 

/usr/include/openssl/dsa.h:117:1: error:
     note: expected long unsigned int * but argument is of type int *
      117 | DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
          | ^~~~~~~~~~~~~~~~~~
    |
117 | DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
    | ^
/tmp/ghc2090505_0/ghc_243.c: In function ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign:

/tmp/ghc2090505_0/ghc_243.c:32:207: error:
     warning: passing argument 4 of HsOpenSSL_dsa_sign from incompatible pointer type [-Wincompatible-pointer-types]
       32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);}
          |                                                                                                                                                                                                               ^~
          |                                                                                                                                                                                                               |
          |                                                                                                                                                                                                               BIGNUM ** {aka struct bignum_st **}
   |
32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);}
   |                                                                                                                                                                                                               ^

In file included from /tmp/ghc2090505_0/ghc_243.c:21:0: error: 

cbits/HsOpenSSL.h:108:39: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      108 |                        const BIGNUM **r, const BIGNUM **s);
          |                        ~~~~~~~~~~~~~~~^
    |
108 |                        const BIGNUM **r, const BIGNUM **s);
    |                                       ^

/tmp/ghc2090505_0/ghc_243.c:32:211: error:
     warning: passing argument 5 of HsOpenSSL_dsa_sign from incompatible pointer type [-Wincompatible-pointer-types]
       32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);}
          |                                                                                                                                                                                                                   ^~
          |                                                                                                                                                                                                                   |
          |                                                                                                                                                                                                                   BIGNUM ** {aka struct bignum_st **}
   |
32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);}
   |                                                                                                                                                                                                                   ^

In file included from /tmp/ghc2090505_0/ghc_243.c:21:0: error: 

cbits/HsOpenSSL.h:108:57: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      108 |                        const BIGNUM **r, const BIGNUM **s);
          |                                          ~~~~~~~~~~~~~~~^
    |
108 |                        const BIGNUM **r, const BIGNUM **s);
    |                                                         ^
/tmp/ghc2090505_0/ghc_250.c: In function ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey:

/tmp/ghc2090505_0/ghc_250.c:15:155: error:
     warning: passing argument 2 of DSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);}
          |                                                                                                                                                           ^~
          |                                                                                                                                                           |
          |                                                                                                                                                           BIGNUM ** {aka struct bignum_st **}
   |
15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);}
   |                                                                                                                                                           ^

In file included from /tmp/ghc2090505_0/ghc_250.c:7:0: error: 

/usr/include/openssl/dsa.h:180:34: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      180 |                   const BIGNUM **pub_key, const BIGNUM **priv_key);
          |                   ~~~~~~~~~~~~~~~^~~~~~~
    |
180 |                   const BIGNUM **pub_key, const BIGNUM **priv_key);
    |                                  ^

/tmp/ghc2090505_0/ghc_250.c:15:159: error:
     warning: passing argument 3 of DSA_get0_key from incompatible pointer type [-Wincompatible-pointer-types]
       15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);}
          |                                                                                                                                                               ^~
          |                                                                                                                                                               |
          |                                                                                                                                                               BIGNUM ** {aka struct bignum_st **}
   |
15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);}
   |                                                                                                                                                               ^

In file included from /tmp/ghc2090505_0/ghc_250.c:7:0: error: 

/usr/include/openssl/dsa.h:180:58: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      180 |                   const BIGNUM **pub_key, const BIGNUM **priv_key);
          |                                           ~~~~~~~~~~~~~~~^~~~~~~~
    |
180 |                   const BIGNUM **pub_key, const BIGNUM **priv_key);
    |                                                          ^
/tmp/ghc2090505_0/ghc_250.c: In function ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg:

/tmp/ghc2090505_0/ghc_250.c:18:168: error:
     warning: passing argument 2 of DSA_get0_pqg from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
          |                                                                                                                                                                        ^~
          |                                                                                                                                                                        |
          |                                                                                                                                                                        BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
   |                                                                                                                                                                        ^

In file included from /tmp/ghc2090505_0/ghc_250.c:7:0: error: 

/usr/include/openssl/dsa.h:177:34: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
          |                   ~~~~~~~~~~~~~~~^
    |
177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
    |                                  ^

/tmp/ghc2090505_0/ghc_250.c:18:172: error:
     warning: passing argument 3 of DSA_get0_pqg from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
          |                                                                                                                                                                            ^~
          |                                                                                                                                                                            |
          |                                                                                                                                                                            BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
   |                                                                                                                                                                            ^

In file included from /tmp/ghc2090505_0/ghc_250.c:7:0: error: 

/usr/include/openssl/dsa.h:177:52: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
          |                                     ~~~~~~~~~~~~~~~^
    |
177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
    |                                                    ^

/tmp/ghc2090505_0/ghc_250.c:18:176: error:
     warning: passing argument 4 of DSA_get0_pqg from incompatible pointer type [-Wincompatible-pointer-types]
       18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
          |                                                                                                                                                                                ^~
          |                                                                                                                                                                                |
          |                                                                                                                                                                                BIGNUM ** {aka struct bignum_st **}
   |
18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);}
   |                                                                                                                                                                                ^

In file included from /tmp/ghc2090505_0/ghc_250.c:7:0: error: 

/usr/include/openssl/dsa.h:177:70: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
          |                                                       ~~~~~~~~~~~~~~~^
    |
177 |                   const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
    |                                                                      ^
/tmp/ghc2090505_0/ghc_250.c: In function ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters:

/tmp/ghc2090505_0/ghc_250.c:26:1: error:
     warning: DSA_generate_parameters is deprecated [-Wdeprecated-declarations]
       26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);}
          | ^~~~
   |
26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);}
   | ^
In file included from /usr/include/openssl/dsa.h:13,

                 from /tmp/ghc2090505_0/ghc_250.c:7:0: error: 

/usr/include/openssl/dsa.h:117:1: error:
     note: declared here
      117 | DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
          | ^~~~~~~~~~~~~~~~~~
    |
117 | DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
    | ^

/tmp/ghc2090505_0/ghc_250.c:26:233: error:
     warning: passing argument 5 of DSA_generate_parameters from incompatible pointer type [-Wincompatible-pointer-types]
       26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);}
          |                                                                                                                                                                                                                                         ^~
          |                                                                                                                                                                                                                                         |
          |                                                                                                                                                                                                                                         int *
   |
26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);}
   |                                                                                                                                                                                                                                         ^
In file included from /usr/include/openssl/dsa.h:13,

                 from /tmp/ghc2090505_0/ghc_250.c:7:0: error: 

/usr/include/openssl/dsa.h:117:1: error:
     note: expected long unsigned int * but argument is of type int *
      117 | DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
          | ^~~~~~~~~~~~~~~~~~
    |
117 | DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
    | ^
/tmp/ghc2090505_0/ghc_250.c: In function ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign:

/tmp/ghc2090505_0/ghc_250.c:32:207: error:
     warning: passing argument 4 of HsOpenSSL_dsa_sign from incompatible pointer type [-Wincompatible-pointer-types]
       32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);}
          |                                                                                                                                                                                                               ^~
          |                                                                                                                                                                                                               |
          |                                                                                                                                                                                                               BIGNUM ** {aka struct bignum_st **}
   |
32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);}
   |                                                                                                                                                                                                               ^

In file included from /tmp/ghc2090505_0/ghc_250.c:21:0: error: 

cbits/HsOpenSSL.h:108:39: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      108 |                        const BIGNUM **r, const BIGNUM **s);
          |                        ~~~~~~~~~~~~~~~^
    |
108 |                        const BIGNUM **r, const BIGNUM **s);
    |                                       ^

/tmp/ghc2090505_0/ghc_250.c:32:211: error:
     warning: passing argument 5 of HsOpenSSL_dsa_sign from incompatible pointer type [-Wincompatible-pointer-types]
       32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);}
          |                                                                                                                                                                                                                   ^~
          |                                                                                                                                                                                                                   |
          |                                                                                                                                                                                                                   BIGNUM ** {aka struct bignum_st **}
   |
32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);}
   |                                                                                                                                                                                                                   ^

In file included from /tmp/ghc2090505_0/ghc_250.c:21:0: error: 

cbits/HsOpenSSL.h:108:57: error:
     note: expected const BIGNUM ** {aka const struct bignum_st **} but argument is of type BIGNUM ** {aka struct bignum_st **}
      108 |                        const BIGNUM **r, const BIGNUM **s);
          |                                          ~~~~~~~~~~~~~~~^
    |
108 |                        const BIGNUM **r, const BIGNUM **s);
    |                                                         ^
[18 of 33] Compiling OpenSSL.EVP.PKey ( dist/build/OpenSSL/EVP/PKey.hs, dist/build/OpenSSL/EVP/PKey.o, dist/build/OpenSSL/EVP/PKey.dyn_o )
[19 of 33] Compiling OpenSSL.EVP.Verify ( OpenSSL/EVP/Verify.hs, dist/build/OpenSSL/EVP/Verify.o, dist/build/OpenSSL/EVP/Verify.dyn_o )
[20 of 33] Compiling OpenSSL.EVP.Sign ( OpenSSL/EVP/Sign.hs, dist/build/OpenSSL/EVP/Sign.o, dist/build/OpenSSL/EVP/Sign.dyn_o )
[21 of 33] Compiling OpenSSL.EVP.Seal ( OpenSSL/EVP/Seal.hs, dist/build/OpenSSL/EVP/Seal.o, dist/build/OpenSSL/EVP/Seal.dyn_o )
/tmp/ghc2090505_0/ghc_303.c: In function ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziSealZCEVPzuSealInit:

/tmp/ghc2090505_0/ghc_303.c:9:231: error:
     warning: passing argument 3 of EVP_SealInit from incompatible pointer type [-Wincompatible-pointer-types]
        9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);}
          |                                                                                                                                                                                                                                       ^~
          |                                                                                                                                                                                                                                       |
          |                                                                                                                                                                                                                                       char **
  |
9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);}
  |                                                                                                                                                                                                                                       ^

In file included from /tmp/ghc2090505_0/ghc_303.c:7:0: error: 

/usr/include/openssl/evp.h:653:41: error:
     note: expected unsigned char ** but argument is of type char **
      653 |                         unsigned char **ek, int *ekl, unsigned char *iv,
          |                         ~~~~~~~~~~~~~~~~^~
    |
653 |                         unsigned char **ek, int *ekl, unsigned char *iv,
    |                                         ^
/tmp/ghc2090505_0/ghc_310.c: In function ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziSealZCEVPzuSealInit:

/tmp/ghc2090505_0/ghc_310.c:9:231: error:
     warning: passing argument 3 of EVP_SealInit from incompatible pointer type [-Wincompatible-pointer-types]
        9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);}
          |                                                                                                                                                                                                                                       ^~
          |                                                                                                                                                                                                                                       |
          |                                                                                                                                                                                                                                       char **
  |
9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);}
  |                                                                                                                                                                                                                                       ^

In file included from /tmp/ghc2090505_0/ghc_310.c:7:0: error: 

/usr/include/openssl/evp.h:653:41: error:
     note: expected unsigned char ** but argument is of type char **
      653 |                         unsigned char **ek, int *ekl, unsigned char *iv,
          |                         ~~~~~~~~~~~~~~~~^~
    |
653 |                         unsigned char **ek, int *ekl, unsigned char *iv,
    |                                         ^
[22 of 33] Compiling OpenSSL.EVP.Open ( OpenSSL/EVP/Open.hs, dist/build/OpenSSL/EVP/Open.o, dist/build/OpenSSL/EVP/Open.dyn_o )
[23 of 33] Compiling OpenSSL.DH       ( OpenSSL/DH.hs, dist/build/OpenSSL/DH.o, dist/build/OpenSSL/DH.dyn_o )
/tmp/ghc2090505_0/ghc_333.c: In function ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey:

/tmp/ghc2090505_0/ghc_333.c:13:133: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       13 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);}
          |                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   |
13 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);}
   |                                                                                                                                     ^
/tmp/ghc2090505_0/ghc_333.c: In function ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCDHzugeneratezuparameters:

/tmp/ghc2090505_0/ghc_333.c:32:1: error:
     warning: DH_generate_parameters is deprecated [-Wdeprecated-declarations]
       32 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);}
          | ^~
   |
32 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);}
   | ^
In file included from /usr/include/openssl/e_os2.h:13,
                 from /usr/include/openssl/asn1.h:14,
                 from cbits/HsOpenSSL.h:3,

                 from /tmp/ghc2090505_0/ghc_333.c:7:0: error: 

/usr/include/openssl/dh.h:136:1: error:
     note: declared here
      136 | DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
          | ^~~~~~~~~~~~~~~~~~
    |
136 | DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
    | ^
/tmp/ghc2090505_0/ghc_340.c: In function ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey:

/tmp/ghc2090505_0/ghc_340.c:13:133: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       13 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);}
          |                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   |
13 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);}
   |                                                                                                                                     ^
/tmp/ghc2090505_0/ghc_340.c: In function ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCDHzugeneratezuparameters:

/tmp/ghc2090505_0/ghc_340.c:32:1: error:
     warning: DH_generate_parameters is deprecated [-Wdeprecated-declarations]
       32 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);}
          | ^~
   |
32 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);}
   | ^
In file included from /usr/include/openssl/e_os2.h:13,
                 from /usr/include/openssl/asn1.h:14,
                 from cbits/HsOpenSSL.h:3,

                 from /tmp/ghc2090505_0/ghc_340.c:7:0: error: 

/usr/include/openssl/dh.h:136:1: error:
     note: declared here
      136 | DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
          | ^~~~~~~~~~~~~~~~~~
    |
136 | DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
    | ^
[24 of 33] Compiling OpenSSL.BIO      ( OpenSSL/BIO.hs, dist/build/OpenSSL/BIO.o, dist/build/OpenSSL/BIO.dyn_o )
/tmp/ghc2090505_0/ghc_348.c: In function ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszunull:

/tmp/ghc2090505_0/ghc_348.c:9:120: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
        9 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();}
          |                                                                                                                        ^~~~~~~~~~~~
  |
9 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();}
  |                                                                                                                        ^
/tmp/ghc2090505_0/ghc_348.c: In function ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszumem:

/tmp/ghc2090505_0/ghc_348.c:15:119: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       15 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();}
          |                                                                                                                       ^~~~~~~~~~~
   |
15 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();}
   |                                                                                                                       ^
/tmp/ghc2090505_0/ghc_348.c: In function ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubuffer:

/tmp/ghc2090505_0/ghc_348.c:21:122: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       21 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();}
          |                                                                                                                          ^~~~~~~~~~~~~~
   |
21 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();}
   |                                                                                                                          ^
/tmp/ghc2090505_0/ghc_348.c: In function ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubase64:

/tmp/ghc2090505_0/ghc_348.c:26:122: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       26 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();}
          |                                                                                                                          ^~~~~~~~~~~~~~
   |
26 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();}
   |                                                                                                                          ^
/tmp/ghc2090505_0/ghc_355.c: In function ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszunull:

/tmp/ghc2090505_0/ghc_355.c:9:120: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
        9 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();}
          |                                                                                                                        ^~~~~~~~~~~~
  |
9 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();}
  |                                                                                                                        ^
/tmp/ghc2090505_0/ghc_355.c: In function ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszumem:

/tmp/ghc2090505_0/ghc_355.c:15:119: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       15 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();}
          |                                                                                                                       ^~~~~~~~~~~
   |
15 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();}
   |                                                                                                                       ^
/tmp/ghc2090505_0/ghc_355.c: In function ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubuffer:

/tmp/ghc2090505_0/ghc_355.c:21:122: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       21 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();}
          |                                                                                                                          ^~~~~~~~~~~~~~
   |
21 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();}
   |                                                                                                                          ^
/tmp/ghc2090505_0/ghc_355.c: In function ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubase64:

/tmp/ghc2090505_0/ghc_355.c:26:122: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       26 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();}
          |                                                                                                                          ^~~~~~~~~~~~~~
   |
26 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();}
   |                                                                                                                          ^
[25 of 33] Compiling OpenSSL.ASN1     ( dist/build/OpenSSL/ASN1.hs, dist/build/OpenSSL/ASN1.o, dist/build/OpenSSL/ASN1.dyn_o )
/tmp/ghc2090505_0/ghc_363.c: In function ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2ln:

/tmp/ghc2090505_0/ghc_363.c:35:120: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       35 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);}
          |                                                                                                                        ^~~~~~~~~~~~~~
   |
35 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);}
   |                                                                                                                        ^
/tmp/ghc2090505_0/ghc_363.c: In function ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2sn:

/tmp/ghc2090505_0/ghc_363.c:37:120: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       37 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);}
          |                                                                                                                        ^~~~~~~~~~~~~~
   |
37 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);}
   |                                                                                                                        ^
/tmp/ghc2090505_0/ghc_370.c: In function ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2ln:

/tmp/ghc2090505_0/ghc_370.c:35:120: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       35 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);}
          |                                                                                                                        ^~~~~~~~~~~~~~
   |
35 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);}
   |                                                                                                                        ^
/tmp/ghc2090505_0/ghc_370.c: In function ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2sn:

/tmp/ghc2090505_0/ghc_370.c:37:120: error:
     warning: return discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
       37 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);}
          |                                                                                                                        ^~~~~~~~~~~~~~
   |
37 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);}
   |                                                                                                                        ^
[26 of 33] Compiling OpenSSL.X509.Name ( dist/build/OpenSSL/X509/Name.hs, dist/build/OpenSSL/X509/Name.o, dist/build/OpenSSL/X509/Name.dyn_o )
[27 of 33] Compiling OpenSSL.X509     ( dist/build/OpenSSL/X509.hs, dist/build/OpenSSL/X509.o, dist/build/OpenSSL/X509.dyn_o )
/tmp/ghc2090505_0/ghc_393.c: In function ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuemailzufree:

/tmp/ghc2090505_0/ghc_393.c:24:116: error:
     warning: implicit declaration of function X509_email_free; did you mean X509_INFO_free? [-Wimplicit-function-declaration]
       24 | void ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuemailzufree(void* a1) {X509_email_free(a1);}
          |                                                                                                                    ^~~~~~~~~~~~~~~
          |                                                                                                                    X509_INFO_free
   |
24 | void ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuemailzufree(void* a1) {X509_email_free(a1);}
   |                                                                                                                    ^
/tmp/ghc2090505_0/ghc_393.c: In function ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuget1zuemail:

/tmp/ghc2090505_0/ghc_393.c:27:124: error:
     warning: implicit declaration of function X509_get1_email; did you mean X509_get_ext? [-Wimplicit-function-declaration]
       27 | void* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuget1zuemail(X509* a1) {return X509_get1_email(a1);}
          |                                                                                                                            ^~~~~~~~~~~~~~~
          |                                                                                                                            X509_get_ext
   |
27 | void* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuget1zuemail(X509* a1) {return X509_get1_email(a1);}
   |                                                                                                                            ^

/tmp/ghc2090505_0/ghc_393.c:27:124: error:
     warning: returning int from a function with return type void * makes pointer from integer without a cast [-Wint-conversion]
       27 | void* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuget1zuemail(X509* a1) {return X509_get1_email(a1);}
          |                                                                                                                            ^~~~~~~~~~~~~~~~~~~
   |
27 | void* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuget1zuemail(X509* a1) {return X509_get1_email(a1);}
   |                                                                                                                            ^
In file included from cbits/HsOpenSSL.h:20,

                 from /tmp/ghc2090505_0/ghc_393.c:44:0: error: 
/usr/include/openssl/x509v3.h: At top level:

/usr/include/openssl/x509v3.h:681:27: error:
     error: conflicting types for X509_get1_email
      681 | STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x);
          |                           ^~~~~~~~~~~~~~~
    |
681 | STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x);
    |                           ^

/tmp/ghc2090505_0/ghc_393.c:27:124: error:
     note: previous implicit declaration of X509_get1_email was here
       27 | void* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuget1zuemail(X509* a1) {return X509_get1_email(a1);}
          |                                                                                                                            ^~~~~~~~~~~~~~~
   |
27 | void* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi3zm77wUeypiZZj4JCPEIJSScuSZCOpenSSLziX509ZCX509zuget1zuemail(X509* a1) {return X509_get1_email(a1);}
   |                                                                                                                            ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-2088467/HsOpenSSL-0.11.7.3'
Error: cabal: Some packages failed to install:
HsOpenSSL-0.11.7.3-77wUeypiZj4JCPEIJSScuS failed during the building phase.
The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.