==> Cloning haskell-hsopenssl ... Cloning into 'haskell-hsopenssl'... ==> Collecting packager identity from makepkg.conf -> name : Reproducible Arch Linux tests -> email : reproducible@archlinux.org -> gpg-key : undefined -> protocol: https ==> Configuring haskell-hsopenssl :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 133k 100 133k 0 0 788k 0 --:--:-- --:--:-- --:--:-- 792k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8557k 100 8557k 0 0 21.2M 0 --:--:-- --:--:-- --:--:-- 21.2M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 142k 100 142k 0 0 418k 0 --:--:-- --:--:-- --:--:-- 417k 100 142k 100 142k 0 0 418k 0 --:--:-- --:--:-- --:--:-- 417k :: Starting full system upgrade... there is nothing to do PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp/archlinux-ci/ SOURCE_DATE_EPOCH=1710035356 SHELL=/bin/bash SCHROOT_CHROOT_NAME=jenkins-reproducible-archlinux no_proxy=localhost,127.0.0.1 SCHROOT_COMMAND=bash -l -c SOURCE_DATE_EPOCH='1710035356' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' TMPDIR='/tmp/archlinux-ci/' printenv 2>&1 SCHROOT_SESSION_ID=archlinux-haskell-hsopenssl-rb-build-h3ysIwrA PWD=/tmp/archlinux-ci/haskell-hsopenssl-rb-build-h3ysIwrA/haskell-hsopenssl LOGNAME=jenkins SCHROOT_ALIAS_NAME=jenkins-reproducible-archlinux SCHROOT_GROUP=jenkins SCHROOT_USER=jenkins ftp_proxy=http://127.0.0.1:3128 HOME=/var/lib/jenkins LANG=C https_proxy=http://127.0.0.1:3128 USER=jenkins FTP_PROXY=http://127.0.0.1:3128 SHLVL=1 HTTPS_PROXY=http://127.0.0.1:3128 HTTP_PROXY=http://127.0.0.1:3128 SCHROOT_GID=116 http_proxy=http://127.0.0.1:3128 DEBUGINFOD_URLS=https://debuginfod.archlinux.org SCHROOT_UID=108 HG=/usr/bin/hg _=/usr/sbin/printenv ==> Making package: haskell-hsopenssl 0.11.7.6-21 (Sun Mar 10 01:49:34 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (3) numactl-2.0.18-1 ghc-libs-9.2.8-1 haskell-network-3.1.4.0-19 Total Download Size: 16.52 MiB Total Installed Size: 124.91 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 83803 100 83803 0 0 56.6M 0 --:--:-- --:--:-- --:--:-- 79.9M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16.1M 100 16.1M 0 0 177M 0 --:--:-- --:--:-- --:--:-- 179M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 286k 100 286k 0 0 142M 0 --:--:-- --:--:-- --:--:-- 279M checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing numactl... installing ghc-libs... installing haskell-network... :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Registering Haskell modules... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (1) ghc-9.2.8-1 Total Download Size: 33.73 MiB Total Installed Size: 232.52 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 33.7M 100 33.7M 0 0 145M 0 --:--:-- --:--:-- --:--:-- 146M checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing ghc... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Downloading HsOpenSSL-0.11.7.6.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 82968 100 82968 0 0 858k 0 --:--:-- --:--:-- --:--:-- 858k ==> Validating source files with sha512sums... HsOpenSSL-0.11.7.6.tar.gz ... Passed ==> Extracting sources... -> Extracting HsOpenSSL-0.11.7.6.tar.gz with bsdtar ==> Starting build()... Configuring HsOpenSSL-0.11.7.6... Preprocessing library for HsOpenSSL-0.11.7.6.. Building library for HsOpenSSL-0.11.7.6.. [ 1 of 33] Compiling OpenSSL ( OpenSSL.hs, dist/build/OpenSSL.dyn_o ) [ 2 of 33] Compiling OpenSSL.DH.Internal ( OpenSSL/DH/Internal.hs, dist/build/OpenSSL/DH/Internal.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_35.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHziInternalZCDHzufree': /tmp/archlinux-ci/ghc3679037_0/ghc_35.c:9:1: error: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHziInternalZCDHzufree(DH* a1) {DH_free(a1);} | ^~~~ In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_35.c:7:0: error: /usr/include/openssl/dh.h:207:28: error: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ | 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^ [ 3 of 33] Compiling OpenSSL.ERR ( OpenSSL/ERR.hs, dist/build/OpenSSL/ERR.dyn_o ) [ 4 of 33] Compiling OpenSSL.EVP.Base64 ( OpenSSL/EVP/Base64.hs, dist/build/OpenSSL/EVP/Base64.dyn_o ) [ 5 of 33] Compiling OpenSSL.Objects ( dist/build/OpenSSL/Objects.hs, dist/build/OpenSSL/Objects.dyn_o ) [ 6 of 33] Compiling OpenSSL.SSL.Option ( dist/build/OpenSSL/SSL/Option.hs, dist/build/OpenSSL/SSL/Option.dyn_o ) [ 7 of 33] Compiling OpenSSL.Stack ( dist/build/OpenSSL/Stack.hs, dist/build/OpenSSL/Stack.dyn_o ) [ 8 of 33] Compiling OpenSSL.Utils ( OpenSSL/Utils.hs, dist/build/OpenSSL/Utils.dyn_o ) [ 9 of 33] Compiling OpenSSL.Random ( OpenSSL/Random.hs, dist/build/OpenSSL/Random.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_77.c: In function 'ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRandomZCRANDzupseudozubytes': /tmp/archlinux-ci/ghc3679037_0/ghc_77.c:10:1: error: warning: 'RAND_pseudo_bytes' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~~~ | 10 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_77.c:7:0: error: /usr/include/openssl/rand.h:79:29: error: note: declared here 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^~~~~~~~~~~~~~~~~ | 79 | OSSL_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.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_103.c: In function 'ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziInternalZCHMACzuFinal': /tmp/archlinux-ci/ghc3679037_0/ghc_103.c:15:1: error: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 15 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~~~~~~~ | 15 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_103.c:13:0: error: /usr/include/openssl/hmac.h:47:27: error: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ | 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_103.c: In function 'ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziInternalZCHMACzuUpdate': /tmp/archlinux-ci/ghc3679037_0/ghc_103.c:18:1: error: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 18 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~~~~~~ | 18 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:45:27: error: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ | 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_103.c: In function 'ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziInternalZCHMACzuInit': /tmp/archlinux-ci/ghc3679037_0/ghc_103.c:22:1: error: warning: 'HMAC_Init' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 22 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^~~~~~~ | 22 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^ /usr/include/openssl/hmac.h:38:36: error: note: declared here 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, | ^~~~~~~~~ | 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, | ^ [11 of 33] Compiling OpenSSL.EVP.Digest ( dist/build/OpenSSL/EVP/Digest.hs, dist/build/OpenSSL/EVP/Digest.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_126.c: In function 'ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname': /tmp/archlinux-ci/ghc3679037_0/ghc_126.c:14:137: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ | 14 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^ [12 of 33] Compiling OpenSSL.EVP.Cipher ( OpenSSL/EVP/Cipher.hs, dist/build/OpenSSL/EVP/Cipher.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_119.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname': /tmp/archlinux-ci/ghc3679037_0/ghc_119.c:9:141: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ [13 of 33] Compiling OpenSSL.Cipher ( dist/build/OpenSSL/Cipher.hs, dist/build/OpenSSL/Cipher.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_82.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziCipherZCAESzucbczuencrypt': /tmp/archlinux-ci/ghc3679037_0/ghc_82.c:9:1: error: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^~~~ In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_82.c:7:0: error: /usr/include/openssl/aes.h:66:6: error: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ | 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_82.c: In function 'ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziCipherZCAESzusetzudecryptzukey': /tmp/archlinux-ci/ghc3679037_0/ghc_82.c:12:1: error: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^~~~~~~ /usr/include/openssl/aes.h:54:5: error: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ | 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_82.c: In function 'ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziCipherZCAESzusetzuencryptzukey': /tmp/archlinux-ci/ghc3679037_0/ghc_82.c:15:1: error: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 15 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^~~~~~~ /usr/include/openssl/aes.h:51:5: error: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ | 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^ [14 of 33] Compiling OpenSSL.BN ( dist/build/OpenSSL/BN.hs, dist/build/OpenSSL/BN.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_100.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBNZCBNzupseudozurandzurange': /tmp/archlinux-ci/ghc3679037_0/ghc_100.c:9:1: error: warning: 'BN_pseudo_rand_range' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBNZCBNzupseudozurandzurange(BIGNUM* a1, BIGNUM* a2) {return BN_pseudo_rand_range(a1, a2);} | ^~~~~~~ In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_100.c:7:0: error: /usr/include/openssl/bn.h:233:5: error: note: declared here 233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); | ^~~~~~~~~~~~~~~~~~~~ | 233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); | ^ [15 of 33] Compiling OpenSSL.RSA ( dist/build/OpenSSL/RSA.hs, dist/build/OpenSSL/RSA.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_156.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zucrtzuparams': /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:10:1: error: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~~~ | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:7:0: error: /usr/include/openssl/rsa.h:236:28: error: note: declared here 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ | 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:10:181: error: warning: passing argument 2 of 'RSA_get0_crt_params' from incompatible pointer type [-Wincompatible-pointer-types] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:237:63: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 237 | const BIGNUM **dmp1, | ~~~~~~~~~~~~~~~^~~~ | 237 | const BIGNUM **dmp1, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:10:185: error: warning: passing argument 3 of 'RSA_get0_crt_params' from incompatible pointer type [-Wincompatible-pointer-types] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:238:63: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 238 | const BIGNUM **dmq1, | ~~~~~~~~~~~~~~~^~~~ | 238 | const BIGNUM **dmq1, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:10:189: error: warning: passing argument 4 of 'RSA_get0_crt_params' from incompatible pointer type [-Wincompatible-pointer-types] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:239:63: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 239 | const BIGNUM **iqmp); | ~~~~~~~~~~~~~~~^~~~ | 239 | const BIGNUM **iqmp); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c: In function 'ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zufactors': /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:14:1: error: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~~~ | 14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:231:28: error: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ | 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:14:161: error: warning: passing argument 2 of 'RSA_get0_factors' from incompatible pointer type [-Wincompatible-pointer-types] 14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:232:60: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 232 | const BIGNUM **p, const BIGNUM **q); | ~~~~~~~~~~~~~~~^ | 232 | const BIGNUM **p, const BIGNUM **q); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:14:165: error: warning: passing argument 3 of 'RSA_get0_factors' from incompatible pointer type [-Wincompatible-pointer-types] 14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 14 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:232:78: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 232 | const BIGNUM **p, const BIGNUM **q); | ~~~~~~~~~~~~~~~^ | 232 | const BIGNUM **p, const BIGNUM **q); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c: In function 'ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zukey': /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:18:1: error: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~~~ | 18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:228:28: error: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ | 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:18:166: error: warning: passing argument 2 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types] 18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:229:56: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 229 | const BIGNUM **n, const BIGNUM **e, | ~~~~~~~~~~~~~~~^ | 229 | const BIGNUM **n, const BIGNUM **e, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:18:170: error: warning: passing argument 3 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types] 18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:229:74: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 229 | const BIGNUM **n, const BIGNUM **e, | ~~~~~~~~~~~~~~~^ | 229 | const BIGNUM **n, const BIGNUM **e, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:18:174: error: warning: passing argument 4 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types] 18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 18 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:230:56: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 230 | const BIGNUM **d); | ~~~~~~~~~~~~~~~^ | 230 | const BIGNUM **d); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c: In function 'ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzugeneratezukey': /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:21:1: error: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^~~ | 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:264:30: error: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ | 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c: In function 'ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzusizze': /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:34:1: error: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^~~~~~~ | 34 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^ /usr/include/openssl/rsa.h:215:27: error: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ | 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c: In function 'ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAPrivateKeyzudup': /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:37:1: error: warning: 'RSAPrivateKey_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^~~ | 37 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^ In file included from /usr/include/openssl/rsa.h:21:0: error: /usr/include/openssl/rsa.h:460:1: error: note: declared here 460 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 460 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_156.c: In function 'ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAPublicKeyzudup': /tmp/archlinux-ci/ghc3679037_0/ghc_156.c:40:1: error: warning: 'RSAPublicKey_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 40 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^~~ | 40 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^ /usr/include/openssl/rsa.h:459:1: error: note: declared here 459 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 459 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^ [16 of 33] Compiling OpenSSL.DER ( dist/build/OpenSSL/DER.hs, dist/build/OpenSSL/DER.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_170.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCi2dzuRSAPrivateKey': /tmp/archlinux-ci/ghc3679037_0/ghc_170.c:9:1: error: warning: 'i2d_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^~~~~~~ | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^ In file included from cbits/HsOpenSSL.h:3, from /tmp/archlinux-ci/ghc3679037_0/ghc_170.c:7:0: error: /usr/include/openssl/rsa.h:320:1: error: note: declared here 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_170.c: In function 'ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPrivateKey': /tmp/archlinux-ci/ghc3679037_0/ghc_170.c:12:1: error: warning: 'd2i_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^~~ | 12 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:320:1: error: note: declared here 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_170.c:12:170: error: warning: passing argument 2 of 'd2i_RSAPrivateKey' from incompatible pointer type [-Wincompatible-pointer-types] 12 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^~ | | | HsWord8 ** {aka unsigned char **} | 12 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:320:1: error: note: expected 'const unsigned char **' but argument is of type 'HsWord8 **' {aka 'unsigned char **'} 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_170.c: In function 'ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCi2dzuRSAPublicKey': /tmp/archlinux-ci/ghc3679037_0/ghc_170.c:15:1: error: warning: 'i2d_RSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 15 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^~~~~~~ | 15 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^ /usr/include/openssl/rsa.h:318:1: error: note: declared here 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_170.c: In function 'ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPublicKey': /tmp/archlinux-ci/ghc3679037_0/ghc_170.c:18:1: error: warning: 'd2i_RSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 18 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^~~ | 18 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:318:1: error: note: declared here 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_170.c:18:168: error: warning: passing argument 2 of 'd2i_RSAPublicKey' from incompatible pointer type [-Wincompatible-pointer-types] 18 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^~ | | | HsWord8 ** {aka unsigned char **} | 18 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:318:1: error: note: expected 'const unsigned char **' but argument is of type 'HsWord8 **' {aka 'unsigned char **'} 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ [17 of 33] Compiling OpenSSL.DSA ( dist/build/OpenSSL/DSA.hs, dist/build/OpenSSL/DSA.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuset0zukey': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:9:1: error: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuset0zukey(void* a1, BIGNUM* a2, BIGNUM* a3) {return DSA_set0_key(a1, a2, a3);} | ^~~~~~~ In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:7:0: error: /usr/include/openssl/dsa.h:211:27: error: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ | 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuset0zupqg': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:12:1: error: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuset0zupqg(void* a1, BIGNUM* a2, BIGNUM* a3, BIGNUM* a4) {return DSA_set0_pqg(a1, a2, a3, a4);} | ^~~~~~~ /usr/include/openssl/dsa.h:208:27: error: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ | 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuget0zukey': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:15:1: error: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~~~ /usr/include/openssl/dsa.h:209:28: error: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ | 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:15:154: error: warning: passing argument 2 of 'DSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types] 15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:209:70: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ~~~~~~~~~~~~~~~^~~~~~~ | 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:15:158: error: warning: passing argument 3 of 'DSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types] 15 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:210:56: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 210 | const BIGNUM **priv_key); | ~~~~~~~~~~~~~~~^~~~~~~~ | 210 | const BIGNUM **priv_key); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuget0zupqg': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:18:1: error: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^~~~ /usr/include/openssl/dsa.h:206:28: error: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ | 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:18:167: error: warning: passing argument 2 of 'DSA_get0_pqg' from incompatible pointer type [-Wincompatible-pointer-types] 18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:206:70: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ~~~~~~~~~~~~~~~^ | 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:18:171: error: warning: passing argument 3 of 'DSA_get0_pqg' from incompatible pointer type [-Wincompatible-pointer-types] 18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:207:56: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 207 | const BIGNUM **q, const BIGNUM **g); | ~~~~~~~~~~~~~~~^ | 207 | const BIGNUM **q, const BIGNUM **g); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:18:175: error: warning: passing argument 4 of 'DSA_get0_pqg' from incompatible pointer type [-Wincompatible-pointer-types] 18 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:207:74: error: note: expected 'const BIGNUM **' {aka 'const struct bignum_st **'} but argument is of type 'BIGNUM **' {aka 'struct bignum_st **'} 207 | const BIGNUM **q, const BIGNUM **g); | ~~~~~~~~~~~~~~~^ | 207 | const BIGNUM **q, const BIGNUM **g); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzusizze': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:20:1: error: warning: 'DSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 20 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzusizze(void* a1) {return DSA_size(a1);} | ^~~~~~~ /usr/include/openssl/dsa.h:135:27: error: note: declared here 135 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^~~~~~~~ | 135 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzugeneratezuparameters': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:26:1: error: warning: 'DSA_generate_parameters' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzugeneratezuparameters(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);} | ^~~~ /usr/include/openssl/dsa.h:164:6: error: note: declared here 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^~~~~~~~~~~~~~~~~~~~~~~ | 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:26:232: error: warning: passing argument 5 of 'DSA_generate_parameters' from incompatible pointer type [-Wincompatible-pointer-types] 26 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzugeneratezuparameters(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 * /usr/include/openssl/dsa.h:165:63: error: note: expected 'long unsigned int *' but argument is of type 'int *' 165 | int *counter_ret, unsigned long *h_ret, | ~~~~~~~~~~~~~~~^~~~~ | 165 | int *counter_ret, unsigned long *h_ret, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCHsOpenSSLzudsazusign': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:32:206: error: warning: passing argument 4 of 'HsOpenSSL_dsa_sign' from incompatible pointer type [-Wincompatible-pointer-types] 32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_164.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/archlinux-ci/ghc3679037_0/ghc_164.c:32:210: error: warning: passing argument 5 of 'HsOpenSSL_dsa_sign' from incompatible pointer type [-Wincompatible-pointer-types] 32 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} 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/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzugeneratezukey': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:34:1: error: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | void ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzugeneratezukey(void* a1) {DSA_generate_key(a1);} | ^~~~ /usr/include/openssl/dsa.h:179:27: error: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ | 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzunew': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:36:1: error: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 36 | void* ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzunew(void) {return DSA_new();} | ^~~~ /usr/include/openssl/dsa.h:130:28: error: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ | 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_164.c: In function 'ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzufree': /tmp/archlinux-ci/ghc3679037_0/ghc_164.c:41:1: error: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 41 | void ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDSAZCDSAzufree(void* a1) {DSA_free(a1);} | ^~~~ /usr/include/openssl/dsa.h:132:28: error: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ | 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^ [18 of 33] Compiling OpenSSL.EVP.PKey ( dist/build/OpenSSL/EVP/PKey.hs, dist/build/OpenSSL/EVP/PKey.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_181.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA': /tmp/archlinux-ci/ghc3679037_0/ghc_181.c:9:1: error: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^~~~~~~ | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^ In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_181.c:7:0: error: /usr/include/openssl/evp.h:1361:5: error: note: declared here 1361 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1361 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_181.c: In function 'ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA': /tmp/archlinux-ci/ghc3679037_0/ghc_181.c:12:1: error: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^~~~ | 12 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^ /usr/include/openssl/evp.h:1365:16: error: note: declared here 1365 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1365 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_181.c: In function 'ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA': /tmp/archlinux-ci/ghc3679037_0/ghc_181.c:16:1: error: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^~~~~~~ | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^ /usr/include/openssl/evp.h:1352:5: error: note: declared here 1352 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1352 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_181.c: In function 'ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA': /tmp/archlinux-ci/ghc3679037_0/ghc_181.c:20:1: error: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 20 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^~~ | 20 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^ /usr/include/openssl/evp.h:1356:16: error: note: declared here 1356 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1356 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^ [19 of 33] Compiling OpenSSL.EVP.Verify ( OpenSSL/EVP/Verify.hs, dist/build/OpenSSL/EVP/Verify.dyn_o ) [20 of 33] Compiling OpenSSL.EVP.Sign ( OpenSSL/EVP/Sign.hs, dist/build/OpenSSL/EVP/Sign.dyn_o ) [21 of 33] Compiling OpenSSL.EVP.Seal ( OpenSSL/EVP/Seal.hs, dist/build/OpenSSL/EVP/Seal.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_204.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziSealZCEVPzuSealInit': /tmp/archlinux-ci/ghc3679037_0/ghc_204.c:9:230: error: warning: passing argument 3 of 'EVP_SealInit' from incompatible pointer type [-Wincompatible-pointer-types] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziSealZCEVPzuSealInit(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 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziEVPziSealZCEVPzuSealInit(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/archlinux-ci/ghc3679037_0/ghc_204.c:7:0: error: /usr/include/openssl/evp.h:855:41: error: note: expected 'unsigned char **' but argument is of type 'char **' 855 | unsigned char **ek, int *ekl, unsigned char *iv, | ~~~~~~~~~~~~~~~~^~ | 855 | unsigned char **ek, int *ekl, unsigned char *iv, | ^ [22 of 33] Compiling OpenSSL.EVP.Open ( OpenSSL/EVP/Open.hs, dist/build/OpenSSL/EVP/Open.dyn_o ) [23 of 33] Compiling OpenSSL.DH ( OpenSSL/DH.hs, dist/build/OpenSSL/DH.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_132.c: In function 'ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey': /tmp/archlinux-ci/ghc3679037_0/ghc_132.c:13:132: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/ghc3679037_0/ghc_132.c: In function 'ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzusizze': /tmp/archlinux-ci/ghc3679037_0/ghc_132.c:19:1: error: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzusizze(DH* a1) {return DH_size(a1);} | ^~~~~~~ In file included from cbits/HsOpenSSL.h:6, from /tmp/archlinux-ci/ghc3679037_0/ghc_132.c:7:0: error: /usr/include/openssl/dh.h:210:27: error: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ | 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_132.c: In function 'ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzucheck': /tmp/archlinux-ci/ghc3679037_0/ghc_132.c:22:1: error: warning: 'DH_check' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 22 | HsBool ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzucheck(DH* a1, int* a2) {return DH_check(a1, a2);} | ^~~~~~ /usr/include/openssl/dh.h:227:27: error: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^~~~~~~~ | 227 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_132.c: In function 'ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzucomputezukey': /tmp/archlinux-ci/ghc3679037_0/ghc_132.c:26:1: error: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 26 | HsInt32 ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzucomputezukey(HsWord8* a1, BIGNUM* a2, DH* a3) {return DH_compute_key(a1, a2, a3);} | ^~~~~~~ /usr/include/openssl/dh.h:231:27: error: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ | 231 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_132.c: In function 'ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzugeneratezukey': /tmp/archlinux-ci/ghc3679037_0/ghc_132.c:29:1: error: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzugeneratezukey(DH* a1) {return DH_generate_key(a1);} | ^~~~~~~ /usr/include/openssl/dh.h:230:27: error: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ | 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_132.c: In function 'ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzugeneratezuparameters': /tmp/archlinux-ci/ghc3679037_0/ghc_132.c:32:1: error: warning: 'DH_generate_parameters' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 32 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);} | ^~ /usr/include/openssl/dh.h:325:29: error: note: declared here 325 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^~~~~~~~~~~~~~~~~~~~~~ | 325 | OSSL_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.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_95.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBIOZCBIOzuszunull': /tmp/archlinux-ci/ghc3679037_0/ghc_95.c:9:119: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();} | ^~~~~~~~~~~~ /tmp/archlinux-ci/ghc3679037_0/ghc_95.c: In function 'ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBIOZCBIOzuszumem': /tmp/archlinux-ci/ghc3679037_0/ghc_95.c:15:118: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();} | ^~~~~~~~~~~ /tmp/archlinux-ci/ghc3679037_0/ghc_95.c: In function 'ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBIOZCBIOzufzubuffer': /tmp/archlinux-ci/ghc3679037_0/ghc_95.c:21:121: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();} | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/ghc3679037_0/ghc_95.c: In function 'ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBIOZCBIOzufzubase64': /tmp/archlinux-ci/ghc3679037_0/ghc_95.c:26:121: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();} | ^~~~~~~~~~~~~~ [25 of 33] Compiling OpenSSL.ASN1 ( dist/build/OpenSSL/ASN1.hs, dist/build/OpenSSL/ASN1.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_129.c: In function 'ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziASN1ZCOBJzunid2ln': /tmp/archlinux-ci/ghc3679037_0/ghc_129.c:35:119: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 35 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);} | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/ghc3679037_0/ghc_129.c: In function 'ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziASN1ZCOBJzunid2sn': /tmp/archlinux-ci/ghc3679037_0/ghc_129.c:37:119: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 37 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);} | ^~~~~~~~~~~~~~ [26 of 33] Compiling OpenSSL.X509.Name ( dist/build/OpenSSL/X509/Name.hs, dist/build/OpenSSL/X509/Name.dyn_o ) [27 of 33] Compiling OpenSSL.X509 ( dist/build/OpenSSL/X509.hs, dist/build/OpenSSL/X509.dyn_o ) [28 of 33] Compiling OpenSSL.X509.Request ( OpenSSL/X509/Request.hs, dist/build/OpenSSL/X509/Request.dyn_o ) [29 of 33] Compiling OpenSSL.X509.Revocation ( dist/build/OpenSSL/X509/Revocation.hs, dist/build/OpenSSL/X509/Revocation.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_226.c: In function 'ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate': /tmp/archlinux-ci/ghc3679037_0/ghc_226.c:10:166: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | ASN1_TIME* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate(X509_REVOKED* a1) {return X509_REVOKED_get0_revocationDate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/ghc3679037_0/ghc_226.c: In function 'ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber': /tmp/archlinux-ci/ghc3679037_0/ghc_226.c:14:167: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | ASN1_INTEGER* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber(X509_REVOKED* a1) {return X509_REVOKED_get0_serialNumber(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/ghc3679037_0/ghc_226.c: In function 'ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate': /tmp/archlinux-ci/ghc3679037_0/ghc_226.c:59:165: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | ASN1_TIME* ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_nextUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/ghc3679037_0/ghc_226.c: In function 'ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate': /tmp/archlinux-ci/ghc3679037_0/ghc_226.c:63:165: error: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | ASN1_TIME* ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_lastUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [30 of 33] Compiling OpenSSL.X509.Store ( dist/build/OpenSSL/X509/Store.hs, dist/build/OpenSSL/X509/Store.dyn_o ) [31 of 33] Compiling OpenSSL.Session ( dist/build/OpenSSL/Session.hs, dist/build/OpenSSL/Session.dyn_o ) [32 of 33] Compiling OpenSSL.PKCS7 ( dist/build/OpenSSL/PKCS7.hs, dist/build/OpenSSL/PKCS7.dyn_o ) [33 of 33] Compiling OpenSSL.PEM ( OpenSSL/PEM.hs, dist/build/OpenSSL/PEM.dyn_o ) /tmp/archlinux-ci/ghc3679037_0/ghc_261.c: In function 'ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziPEMZCPEMzureadzubiozuDHparams': /tmp/archlinux-ci/ghc3679037_0/ghc_261.c:12:1: error: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12 | DH* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziPEMZCPEMzureadzubiozuDHparams(BIO* a1, DH** a2, void* a3, void* a4) {return PEM_read_bio_DHparams(a1, a2, a3, a4);} | ^~ In file included from /tmp/archlinux-ci/ghc3679037_0/ghc_261.c:9:0: error: /usr/include/openssl/pem.h:473:1: error: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ /tmp/archlinux-ci/ghc3679037_0/ghc_261.c: In function 'ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams': /tmp/archlinux-ci/ghc3679037_0/ghc_261.c:16:1: error: warning: 'PEM_write_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zm3GwIwRsXaos3wi79fp971NZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams(BIO* a1, DH* a2) {return PEM_write_bio_DHparams(a1, a2);} | ^~~~~~~ /usr/include/openssl/pem.h:473:1: error: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DHparams_dup': cbits/HsOpenSSL.c:57:5: error: warning: 'DHparams_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 57 | return DHparams_dup(dh); | ^~~~~~ | 57 | return DHparams_dup(dh); | ^ In file included from cbits/HsOpenSSL.h:3, from cbits/HsOpenSSL.c:2:0: error: /usr/include/openssl/dh.h:197:1: error: note: declared here 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_HMAC_CTX_new': cbits/HsOpenSSL.c:76:5: error: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | return HMAC_CTX_new(); | ^~~~~~ | 76 | return HMAC_CTX_new(); | ^ In file included from cbits/HsOpenSSL.h:9:0: error: /usr/include/openssl/hmac.h:33:33: error: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ | 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_HMAC_CTX_free': cbits/HsOpenSSL.c:86:5: error: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ | 86 | HMAC_CTX_free(ctx); | ^ /usr/include/openssl/hmac.h:35:28: error: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ | 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DH_get_pub_key': cbits/HsOpenSSL.c:185:5: error: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | DH_get0_key(dh, pub_key, priv_key); | ^~~~~~~~~~~ | 185 | DH_get0_key(dh, pub_key, priv_key); | ^ In file included from cbits/HsOpenSSL.h:6:0: error: /usr/include/openssl/dh.h:263:28: error: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ | 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DH_length': cbits/HsOpenSSL.c:197:5: error: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 197 | DH_get0_pqg(dh, p, q, g); | ^~~~~~~~~~~ | 197 | DH_get0_pqg(dh, p, q, g); | ^ /usr/include/openssl/dh.h:260:28: error: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ | 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_dsa_sign': cbits/HsOpenSSL.c:303:3: error: warning: 'DSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^~~~~~~ | 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from cbits/HsOpenSSL.h:14:0: error: /usr/include/openssl/dsa.h:118:32: error: note: declared here 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ | 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_dsa_verify': cbits/HsOpenSSL.c:325:3: error: warning: 'DSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^~~ | 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^ /usr/include/openssl/dsa.h:120:27: error: note: declared here 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ | 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DSAPublicKey_dup': cbits/HsOpenSSL.c:349:5: error: warning: 'i2d_DSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:349:5: error: warning: 'd2i_DSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DSAPrivateKey_dup': cbits/HsOpenSSL.c:353:5: error: warning: 'i2d_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:353:5: error: warning: 'd2i_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DHparams_dup': cbits/HsOpenSSL.c:57:5: error: warning: 'DHparams_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 57 | return DHparams_dup(dh); | ^~~~~~ | 57 | return DHparams_dup(dh); | ^ In file included from cbits/HsOpenSSL.h:3, from cbits/HsOpenSSL.c:2:0: error: /usr/include/openssl/dh.h:197:1: error: note: declared here 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_HMAC_CTX_new': cbits/HsOpenSSL.c:76:5: error: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | return HMAC_CTX_new(); | ^~~~~~ | 76 | return HMAC_CTX_new(); | ^ In file included from cbits/HsOpenSSL.h:9:0: error: /usr/include/openssl/hmac.h:33:33: error: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ | 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_HMAC_CTX_free': cbits/HsOpenSSL.c:86:5: error: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ | 86 | HMAC_CTX_free(ctx); | ^ /usr/include/openssl/hmac.h:35:28: error: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ | 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DH_get_pub_key': cbits/HsOpenSSL.c:185:5: error: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | DH_get0_key(dh, pub_key, priv_key); | ^~~~~~~~~~~ | 185 | DH_get0_key(dh, pub_key, priv_key); | ^ In file included from cbits/HsOpenSSL.h:6:0: error: /usr/include/openssl/dh.h:263:28: error: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ | 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DH_length': cbits/HsOpenSSL.c:197:5: error: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 197 | DH_get0_pqg(dh, p, q, g); | ^~~~~~~~~~~ | 197 | DH_get0_pqg(dh, p, q, g); | ^ /usr/include/openssl/dh.h:260:28: error: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ | 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_dsa_sign': cbits/HsOpenSSL.c:303:3: error: warning: 'DSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^~~~~~~ | 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from cbits/HsOpenSSL.h:14:0: error: /usr/include/openssl/dsa.h:118:32: error: note: declared here 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ | 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_dsa_verify': cbits/HsOpenSSL.c:325:3: error: warning: 'DSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^~~ | 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^ /usr/include/openssl/dsa.h:120:27: error: note: declared here 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ | 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DSAPublicKey_dup': cbits/HsOpenSSL.c:349:5: error: warning: 'i2d_DSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:349:5: error: warning: 'd2i_DSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: In function 'HsOpenSSL_DSAPrivateKey_dup': cbits/HsOpenSSL.c:353:5: error: warning: 'i2d_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:353:5: error: warning: 'd2i_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ Preprocessing test suite 'test-der' for HsOpenSSL-0.11.7.6.. Building test suite 'test-der' for HsOpenSSL-0.11.7.6.. [1 of 2] Compiling TestUtils ( Test/OpenSSL/TestUtils.hs, dist/build/test-der/test-der-tmp/TestUtils.dyn_o ) [2 of 2] Compiling Main ( Test/OpenSSL/DER.hs, dist/build/test-der/test-der-tmp/Main.dyn_o ) Linking dist/build/test-der/test-der ... Preprocessing test suite 'test-dsa' for HsOpenSSL-0.11.7.6.. Building test suite 'test-dsa' for HsOpenSSL-0.11.7.6.. [1 of 2] Compiling TestUtils ( Test/OpenSSL/TestUtils.hs, dist/build/test-dsa/test-dsa-tmp/TestUtils.dyn_o ) [2 of 2] Compiling Main ( Test/OpenSSL/DSA.hs, dist/build/test-dsa/test-dsa-tmp/Main.dyn_o ) Linking dist/build/test-dsa/test-dsa ... Preprocessing test suite 'test-evp-base64' for HsOpenSSL-0.11.7.6.. Building test suite 'test-evp-base64' for HsOpenSSL-0.11.7.6.. [1 of 2] Compiling TestUtils ( Test/OpenSSL/TestUtils.hs, dist/build/test-evp-base64/test-evp-base64-tmp/TestUtils.dyn_o ) [2 of 2] Compiling Main ( Test/OpenSSL/EVP/Base64.hs, dist/build/test-evp-base64/test-evp-base64-tmp/Main.dyn_o ) Linking dist/build/test-evp-base64/test-evp-base64 ... Preprocessing test suite 'test-evp-digest' for HsOpenSSL-0.11.7.6.. Building test suite 'test-evp-digest' for HsOpenSSL-0.11.7.6.. [1 of 2] Compiling TestUtils ( Test/OpenSSL/TestUtils.hs, dist/build/test-evp-digest/test-evp-digest-tmp/TestUtils.dyn_o ) [2 of 2] Compiling Main ( Test/OpenSSL/EVP/Digest.hs, dist/build/test-evp-digest/test-evp-digest-tmp/Main.dyn_o ) Linking dist/build/test-evp-digest/test-evp-digest ... Unregistering HsOpenSSL-0.11.7.6... ==> Entering fakeroot environment... ==> Starting package()... Installing library in /tmp/archlinux-ci/haskell-hsopenssl-rb-build-h3ysIwrA/haskell-hsopenssl/pkg/haskell-hsopenssl/usr/lib/ghc-9.2.8/site-local/HsOpenSSL-0.11.7.6 ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "haskell-hsopenssl"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Creating package "haskell-hsopenssl-debug"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: haskell-hsopenssl 0.11.7.6-21 (Sun Mar 10 01:50:06 2024)