Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-HsOpenSSL.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-181973-12190/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-HsOpenSSL.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghc-HsOpenSSL-0.11.7.6-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-HsOpenSSL.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-181973-12190/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-HsOpenSSL.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dJxTRS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf HsOpenSSL-0.11.7.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/HsOpenSSL-0.11.7.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd HsOpenSSL-0.11.7.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VG1Nlf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd HsOpenSSL-0.11.7.6 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f AUTHORS -a -x AUTHORS ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f ChangeLog -a -x ChangeLog ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-HsOpenSSL '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -optc-fstack-protector-strong -optc-mbranch-protection=standard -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,--build-id=sha1 -fhide-source-paths' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/HsOpenSSL-0.11.7.6 --global Configuring HsOpenSSL-0.11.7.6... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for HsOpenSSL-0.11.7.6.. Building library for HsOpenSSL-0.11.7.6.. [ 1 of 33] Compiling OpenSSL [ 2 of 33] Compiling OpenSSL.DH.Internal /tmp/ghc3653633_0/ghc_31.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHziInternalZCDHzufree’: /tmp/ghc3653633_0/ghc_31.c:10:1: error: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHziInternalZCDHzufree(DH* a1) {DH_free(a1);} | ^~~~ In file included from /tmp/ghc3653633_0/ghc_31.c:8:0: error: /usr/include/openssl/dh.h:204:28: error: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ | 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^ /tmp/ghc3653633_0/ghc_60.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHziInternalZCDHzufree’: /tmp/ghc3653633_0/ghc_60.c:10:1: error: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHziInternalZCDHzufree(DH* a1) {DH_free(a1);} | ^~~~ In file included from /tmp/ghc3653633_0/ghc_60.c:8:0: error: [ 3 of 33] Compiling OpenSSL.ERR [ 4 of 33] Compiling OpenSSL.EVP.Base64 /usr/include/openssl/dh.h:204:28: error: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ | 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^ /tmp/ghc3653633_0/ghc_47.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock’: /tmp/ghc3653633_0/ghc_47.c:9:169: error: warning: pointer targets in passing argument 1 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ In file included from /tmp/ghc3653633_0/ghc_47.c:8:0: error: /usr/include/openssl/evp.h:873:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 873 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 873 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc3653633_0/ghc_47.c:9:173: error: warning: pointer targets in passing argument 2 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:873:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 873 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 873 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc3653633_0/ghc_47.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock’: /tmp/ghc3653633_0/ghc_47.c:11:169: error: warning: pointer targets in passing argument 1 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:866:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 866 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 866 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc3653633_0/ghc_47.c:11:173: error: warning: pointer targets in passing argument 2 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:866:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 866 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 866 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc3653633_0/ghc_100.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock’: /tmp/ghc3653633_0/ghc_100.c:9:169: error: warning: pointer targets in passing argument 1 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ In file included from /tmp/ghc3653633_0/ghc_100.c:8:0: error: /usr/include/openssl/evp.h:873:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 873 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 873 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc3653633_0/ghc_100.c:9:173: error: warning: pointer targets in passing argument 2 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:873:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 873 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 873 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc3653633_0/ghc_100.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock’: /tmp/ghc3653633_0/ghc_100.c:11:169: error: warning: pointer targets in passing argument 1 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:866:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 866 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 866 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc3653633_0/ghc_100.c:11:173: error: warning: pointer targets in passing argument 2 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:866:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 866 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 866 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ [ 5 of 33] Compiling OpenSSL.Objects [ 6 of 33] Compiling OpenSSL.SSL.Option [ 7 of 33] Compiling OpenSSL.Stack [ 8 of 33] Compiling OpenSSL.Utils [ 9 of 33] Compiling OpenSSL.Random /tmp/ghc3653633_0/ghc_114.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes’: /tmp/ghc3653633_0/ghc_114.c:11:1: error: warning: ‘RAND_pseudo_bytes’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~~~ | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ In file included from /tmp/ghc3653633_0/ghc_114.c:8: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); | ^ /tmp/ghc3653633_0/ghc_114.c:11:149: error: warning: pointer targets in passing argument 1 of ‘RAND_pseudo_bytes’ differ in signedness [-Wpointer-sign] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~ | | | char * | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:79:62: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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); | ^ /tmp/ghc3653633_0/ghc_114.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzubytes’: /tmp/ghc3653633_0/ghc_114.c:13:144: error: warning: pointer targets in passing argument 1 of ‘RAND_bytes’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^~ | | | char * | 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:61:31: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 61 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ | 61 | int RAND_bytes(unsigned char *buf, int num); | ^ /tmp/ghc3653633_0/ghc_125.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes’: /tmp/ghc3653633_0/ghc_125.c:11:1: error: warning: ‘RAND_pseudo_bytes’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~~~ | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ In file included from /tmp/ghc3653633_0/ghc_125.c:8: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); | ^ /tmp/ghc3653633_0/ghc_125.c:11:149: error: warning: pointer targets in passing argument 1 of ‘RAND_pseudo_bytes’ differ in signedness [-Wpointer-sign] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~ | | | char * | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:79:62: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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); | ^ /tmp/ghc3653633_0/ghc_125.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzubytes’: /tmp/ghc3653633_0/ghc_125.c:13:144: error: warning: pointer targets in passing argument 1 of ‘RAND_bytes’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^~ | | | char * | 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:61:31: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 61 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ | 61 | int RAND_bytes(unsigned char *buf, int num); | ^ [10 of 33] Compiling OpenSSL.EVP.Internal /tmp/ghc3653633_0/ghc_150.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal’: /tmp/ghc3653633_0/ghc_150.c:16:1: error: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~~~~~~~ | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ In file included from /tmp/ghc3653633_0/ghc_150.c:14: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/ghc3653633_0/ghc_150.c:16:167: error: warning: pointer targets in passing argument 2 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | char * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:47:68: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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/ghc3653633_0/ghc_150.c:16:171: error: warning: pointer targets in passing argument 3 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | int * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:48:52: error: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 48 | unsigned int *len); | ~~~~~~~~~~~~~~^~~ | 48 | unsigned int *len); | ^ /tmp/ghc3653633_0/ghc_150.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate’: /tmp/ghc3653633_0/ghc_150.c:19:1: error: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~~~~~~ | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate(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/ghc3653633_0/ghc_150.c:19:171: error: warning: pointer targets in passing argument 2 of ‘HMAC_Update’ differ in signedness [-Wpointer-sign] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~ | | | char * | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:45:75: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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/ghc3653633_0/ghc_150.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuInit’: /tmp/ghc3653633_0/ghc_150.c:23:1: error: warning: ‘HMAC_Init’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^~~~~~~ | 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuInit(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, | ^ /tmp/ghc3653633_0/ghc_150.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuDigestFinal’: /tmp/ghc3653633_0/ghc_150.c:29:187: error: warning: pointer targets in passing argument 2 of ‘EVP_DigestFinal’ differ in signedness [-Wpointer-sign] 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^~ | | | char * | 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^ In file included from /tmp/ghc3653633_0/ghc_150.c:8:0: error: /usr/include/openssl/evp.h:725:60: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 725 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~~~~^~ | 725 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ^ /tmp/ghc3653633_0/ghc_150.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherFinal’: /tmp/ghc3653633_0/ghc_150.c:44:183: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherFinal’ differ in signedness [-Wpointer-sign] 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^~ | | | char * | 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:797:64: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 797 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ~~~~~~~~~~~~~~~^~~~ | 797 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ^ /tmp/ghc3653633_0/ghc_150.c: In function ‘ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate’: /tmp/ghc3653633_0/ghc_150.c:47:207: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:795:65: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 795 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ | 795 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ^ /tmp/ghc3653633_0/ghc_150.c:47:215: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:796:61: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 796 | int *outl, const unsigned char *in, int inl); | ~~~~~~~~~~~~~~~~~~~~~^~ | 796 | int *outl, const unsigned char *in, int inl); | ^ /tmp/ghc3653633_0/ghc_150.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit’: /tmp/ghc3653633_0/ghc_150.c:50:214: error: warning: pointer targets in passing argument 3 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:786:48: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 786 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~~ | 786 | const unsigned char *key, const unsigned char *iv, | ^ /tmp/ghc3653633_0/ghc_150.c:50:218: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:786:74: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 786 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~ | 786 | const unsigned char *key, const unsigned char *iv, | ^ /tmp/ghc3653633_0/ghc_171.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal’: /tmp/ghc3653633_0/ghc_171.c:16:1: error: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~~~~~~~ | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ In file included from /tmp/ghc3653633_0/ghc_171.c:14: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/ghc3653633_0/ghc_171.c:16:167: error: warning: pointer targets in passing argument 2 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | char * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:47:68: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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/ghc3653633_0/ghc_171.c:16:171: error: warning: pointer targets in passing argument 3 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | int * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:48:52: error: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 48 | unsigned int *len); | ~~~~~~~~~~~~~~^~~ | 48 | unsigned int *len); | ^ /tmp/ghc3653633_0/ghc_171.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate’: /tmp/ghc3653633_0/ghc_171.c:19:1: error: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~~~~~~ | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate(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/ghc3653633_0/ghc_171.c:19:171: error: warning: pointer targets in passing argument 2 of ‘HMAC_Update’ differ in signedness [-Wpointer-sign] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~ | | | char * | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:45:75: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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/ghc3653633_0/ghc_171.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuInit’: /tmp/ghc3653633_0/ghc_171.c:23:1: error: warning: ‘HMAC_Init’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^~~~~~~ | 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCHMACzuInit(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, | ^ /tmp/ghc3653633_0/ghc_171.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuDigestFinal’: /tmp/ghc3653633_0/ghc_171.c:29:187: error: warning: pointer targets in passing argument 2 of ‘EVP_DigestFinal’ differ in signedness [-Wpointer-sign] 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^~ | | | char * | 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^ In file included from /tmp/ghc3653633_0/ghc_171.c:8:0: error: /usr/include/openssl/evp.h:725:60: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 725 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~~~~^~ | 725 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ^ /tmp/ghc3653633_0/ghc_171.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherFinal’: /tmp/ghc3653633_0/ghc_171.c:44:183: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherFinal’ differ in signedness [-Wpointer-sign] 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^~ | | | char * | 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:797:64: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 797 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ~~~~~~~~~~~~~~~^~~~ | 797 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ^ /tmp/ghc3653633_0/ghc_171.c: In function ‘ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate’: /tmp/ghc3653633_0/ghc_171.c:47:207: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:795:65: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 795 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ | 795 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ^ /tmp/ghc3653633_0/ghc_171.c:47:215: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:796:61: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 796 | int *outl, const unsigned char *in, int inl); | ~~~~~~~~~~~~~~~~~~~~~^~ | 796 | int *outl, const unsigned char *in, int inl); | ^ /tmp/ghc3653633_0/ghc_171.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit’: /tmp/ghc3653633_0/ghc_171.c:50:214: error: warning: pointer targets in passing argument 3 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:786:48: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 786 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~~ | 786 | const unsigned char *key, const unsigned char *iv, | ^ /tmp/ghc3653633_0/ghc_171.c:50:218: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:786:74: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 786 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~ | 786 | const unsigned char *key, const unsigned char *iv, | ^ [11 of 33] Compiling OpenSSL.EVP.Digest /tmp/ghc3653633_0/ghc_190.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1’: /tmp/ghc3653633_0/ghc_190.c:9:239: error: warning: pointer targets in passing argument 3 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /usr/include/openssl/hmac.h:21, from /tmp/ghc3653633_0/ghc_190.c:8:0: error: /usr/include/openssl/evp.h:1492:49: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1492 | const unsigned char *salt, int saltlen, int iter, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 1492 | const unsigned char *salt, int saltlen, int iter, | ^ /tmp/ghc3653633_0/ghc_190.c:9:255: error: warning: pointer targets in passing argument 7 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/evp.h:1493:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1493 | int keylen, unsigned char *out); | ~~~~~~~~~~~~~~~^~~ | 1493 | int keylen, unsigned char *out); | ^ /tmp/ghc3653633_0/ghc_190.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC’: /tmp/ghc3653633_0/ghc_190.c:12:201: error: warning: pointer targets in passing argument 4 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:55:42: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 55 | const unsigned char *data, size_t data_len, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 55 | const unsigned char *data, size_t data_len, | ^ /tmp/ghc3653633_0/ghc_190.c:12:209: error: warning: pointer targets in passing argument 6 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:56:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 56 | unsigned char *md, unsigned int *md_len); | ~~~~~~~~~~~~~~~^~ | 56 | unsigned char *md, unsigned int *md_len); | ^ /tmp/ghc3653633_0/ghc_190.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname’: /tmp/ghc3653633_0/ghc_190.c:15:137: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ | 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^ /tmp/ghc3653633_0/ghc_210.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1’: /tmp/ghc3653633_0/ghc_210.c:9:239: error: warning: pointer targets in passing argument 3 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /usr/include/openssl/hmac.h:21, from /tmp/ghc3653633_0/ghc_210.c:8:0: error: /usr/include/openssl/evp.h:1492:49: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1492 | const unsigned char *salt, int saltlen, int iter, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 1492 | const unsigned char *salt, int saltlen, int iter, | ^ /tmp/ghc3653633_0/ghc_210.c:9:255: error: warning: pointer targets in passing argument 7 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/evp.h:1493:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1493 | int keylen, unsigned char *out); | ~~~~~~~~~~~~~~~^~~ | 1493 | int keylen, unsigned char *out); | ^ /tmp/ghc3653633_0/ghc_210.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC’: /tmp/ghc3653633_0/ghc_210.c:12:201: error: warning: pointer targets in passing argument 4 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:55:42: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 55 | const unsigned char *data, size_t data_len, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 55 | const unsigned char *data, size_t data_len, | ^ /tmp/ghc3653633_0/ghc_210.c:12:209: error: warning: pointer targets in passing argument 6 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:56:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 56 | unsigned char *md, unsigned int *md_len); | ~~~~~~~~~~~~~~~^~ | 56 | unsigned char *md, unsigned int *md_len); | ^ /tmp/ghc3653633_0/ghc_210.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname’: /tmp/ghc3653633_0/ghc_210.c:15:137: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ | 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^ [12 of 33] Compiling OpenSSL.EVP.Cipher [13 of 33] Compiling OpenSSL.Cipher /tmp/ghc3653633_0/ghc_184.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname’: /tmp/ghc3653633_0/ghc_184.c:10:141: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_204.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname’: /tmp/ghc3653633_0/ghc_204.c:10:141: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_119.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzucbczuencrypt’: /tmp/ghc3653633_0/ghc_119.c:10:1: error: warning: ‘AES_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzucbczuencrypt(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/ghc3653633_0/ghc_119.c:8: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/ghc3653633_0/ghc_119.c:10:203: error: warning: pointer targets in passing argument 1 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * /usr/include/openssl/aes.h:66:43: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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/ghc3653633_0/ghc_119.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzudecryptzukey’: /tmp/ghc3653633_0/ghc_119.c:13:1: error: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzudecryptzukey(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/ghc3653633_0/ghc_119.c:13:177: error: warning: pointer targets in passing argument 1 of ‘AES_set_decrypt_key’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^~ | | | char * /usr/include/openssl/aes.h:54:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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/ghc3653633_0/ghc_119.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzuencryptzukey’: /tmp/ghc3653633_0/ghc_119.c:16:1: error: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzuencryptzukey(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, | ^ /tmp/ghc3653633_0/ghc_119.c:16:177: error: warning: pointer targets in passing argument 1 of ‘AES_set_encrypt_key’ differ in signedness [-Wpointer-sign] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^~ | | | char * /usr/include/openssl/aes.h:51:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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, | ^ /tmp/ghc3653633_0/ghc_135.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzucbczuencrypt’: /tmp/ghc3653633_0/ghc_135.c:10:1: error: warning: ‘AES_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzucbczuencrypt(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/ghc3653633_0/ghc_135.c:8: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/ghc3653633_0/ghc_135.c:10:203: error: warning: pointer targets in passing argument 1 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * /usr/include/openssl/aes.h:66:43: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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/ghc3653633_0/ghc_135.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzudecryptzukey’: /tmp/ghc3653633_0/ghc_135.c:13:1: error: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzudecryptzukey(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/ghc3653633_0/ghc_135.c:13:177: error: warning: pointer targets in passing argument 1 of ‘AES_set_decrypt_key’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^~ | | | char * /usr/include/openssl/aes.h:54:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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/ghc3653633_0/ghc_135.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzuencryptzukey’: /tmp/ghc3653633_0/ghc_135.c:16:1: error:[14 of 33] Compiling OpenSSL.BN warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzuencryptzukey(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, | ^ /tmp/ghc3653633_0/ghc_135.c:16:177: error: warning: pointer targets in passing argument 1 of ‘AES_set_encrypt_key’ differ in signedness [-Wpointer-sign] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^~ | | | char * /usr/include/openssl/aes.h:51:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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, | ^ /tmp/ghc3653633_0/ghc_144.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzupseudozurandzurange’: /tmp/ghc3653633_0/ghc_144.c:10:1: error: warning: ‘BN_pseudo_rand_range’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzupseudozurandzurange(BIGNUM* a1, BIGNUM* a2) {return BN_pseudo_rand_range(a1, a2);} | ^~~~~~~ In file included from /tmp/ghc3653633_0/ghc_144.c:8: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); | ^ /tmp/ghc3653633_0/ghc_144.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzumpi2bn’: /tmp/ghc3653633_0/ghc_144.c:25:150: error: warning: pointer targets in passing argument 1 of ‘BN_mpi2bn’ differ in signedness [-Wpointer-sign] 25 | BIGNUM* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzumpi2bn(char* a1, HsInt32 a2, BIGNUM* a3) {return BN_mpi2bn(a1, a2, a3);} | ^~ | | | char * /usr/include/openssl/bn.h:250:40: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 250 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ~~~~~~~~~~~~~~~~~~~~~^ | 250 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ^ /tmp/ghc3653633_0/ghc_144.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzubn2mpi’: /tmp/ghc3653633_0/ghc_144.c:28:142: error: warning: pointer targets in passing argument 2 of ‘BN_bn2mpi’ differ in signedness [-Wpointer-sign] 28 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzubn2mpi(BIGNUM* a1, char* a2) {return BN_bn2mpi(a1, a2);} [15 of 33] Compiling OpenSSL.RSA | ^~ | | | char * /usr/include/openssl/bn.h:251:47: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 251 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ~~~~~~~~~~~~~~~^~ | 251 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ^ /tmp/ghc3653633_0/ghc_168.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzupseudozurandzurange’: /tmp/ghc3653633_0/ghc_168.c:10:1: error: warning: ‘BN_pseudo_rand_range’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzupseudozurandzurange(BIGNUM* a1, BIGNUM* a2) {return BN_pseudo_rand_range(a1, a2);} | ^~~~~~~ In file included from /tmp/ghc3653633_0/ghc_168.c:8: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); | ^ /tmp/ghc3653633_0/ghc_168.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzumpi2bn’: /tmp/ghc3653633_0/ghc_168.c:25:150: error: warning: pointer targets in passing argument 1 of ‘BN_mpi2bn’ differ in signedness [-Wpointer-sign] 25 | BIGNUM* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzumpi2bn(char* a1, HsInt32 a2, BIGNUM* a3) {return BN_mpi2bn(a1, a2, a3);} | ^~ | | | char * /usr/include/openssl/bn.h:250:40: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 250 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ~~~~~~~~~~~~~~~~~~~~~^ | 250 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ^ /tmp/ghc3653633_0/ghc_168.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzubn2mpi’: /tmp/ghc3653633_0/ghc_168.c:28:142: error: warning: pointer targets in passing argument 2 of ‘BN_bn2mpi’ differ in signedness [-Wpointer-sign] 28 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBNZCBNzubn2mpi(BIGNUM* a1, char* a2) {return BN_bn2mpi(a1, a2);} | ^~ | | | char * /usr/include/openssl/bn.h:251:47: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 251 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ~~~~~~~~~~~~~~~^~ | 251 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ^ /tmp/ghc3653633_0/ghc_245.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams’: /tmp/ghc3653633_0/ghc_245.c:11:1: error: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~~~ | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc3653633_0/ghc_245.c:8:0: error: /usr/include/openssl/rsa.h:233:28: error: note: declared here 233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ | 233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^ /tmp/ghc3653633_0/ghc_245.c:11:181: error: warning: passing argument 2 of ‘RSA_get0_crt_params’ from incompatible pointer type [-Wincompatible-pointer-types] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:234:63: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 234 | const BIGNUM **dmp1, | ~~~~~~~~~~~~~~~^~~~ | 234 | const BIGNUM **dmp1, | ^ /tmp/ghc3653633_0/ghc_245.c:11:185: error: warning: passing argument 3 of ‘RSA_get0_crt_params’ from incompatible pointer type [-Wincompatible-pointer-types] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:235:63: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 235 | const BIGNUM **dmq1, | ~~~~~~~~~~~~~~~^~~~ | 235 | const BIGNUM **dmq1, | ^ /tmp/ghc3653633_0/ghc_245.c:11:189: error: warning: passing argument 4 of ‘RSA_get0_crt_params’ from incompatible pointer type [-Wincompatible-pointer-types] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:236:63: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 236 | const BIGNUM **iqmp); | ~~~~~~~~~~~~~~~^~~~ | 236 | const BIGNUM **iqmp); | ^ /tmp/ghc3653633_0/ghc_245.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors’: /tmp/ghc3653633_0/ghc_245.c:15:1: error: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~~~ | 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:228:28: error: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ | 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^ /tmp/ghc3653633_0/ghc_245.c:15:161: error: warning: passing argument 2 of ‘RSA_get0_factors’ from incompatible pointer type [-Wincompatible-pointer-types] 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:229:60: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 229 | const BIGNUM **p, const BIGNUM **q); | ~~~~~~~~~~~~~~~^ | 229 | const BIGNUM **p, const BIGNUM **q); | ^ /tmp/ghc3653633_0/ghc_245.c:15:165: error: warning: passing argument 3 of ‘RSA_get0_factors’ from incompatible pointer type [-Wincompatible-pointer-types] 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:229:78: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 229 | const BIGNUM **p, const BIGNUM **q); | ~~~~~~~~~~~~~~~^ | 229 | const BIGNUM **p, const BIGNUM **q); | ^ /tmp/ghc3653633_0/ghc_245.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey’: /tmp/ghc3653633_0/ghc_245.c:19:1: error: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~~~ | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:225:28: error: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ | 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^ /tmp/ghc3653633_0/ghc_245.c:19:166: error: warning: passing argument 2 of ‘RSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:226:56: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 226 | const BIGNUM **n, const BIGNUM **e, | ~~~~~~~~~~~~~~~^ | 226 | const BIGNUM **n, const BIGNUM **e, | ^ /tmp/ghc3653633_0/ghc_245.c:19:170: error: warning: passing argument 3 of ‘RSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:226:74: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 226 | const BIGNUM **n, const BIGNUM **e, | ~~~~~~~~~~~~~~~^ | 226 | const BIGNUM **n, const BIGNUM **e, | ^ /tmp/ghc3653633_0/ghc_245.c:19:174: error: warning: passing argument 4 of ‘RSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:227:56: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 227 | const BIGNUM **d); | ~~~~~~~~~~~~~~~^ | 227 | const BIGNUM **d); | ^ /tmp/ghc3653633_0/ghc_245.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzugeneratezukey’: /tmp/ghc3653633_0/ghc_245.c:22:1: error: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^~~ | 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:261:30: error: note: declared here 261 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ | 261 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^ /tmp/ghc3653633_0/ghc_245.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzusizze’: /tmp/ghc3653633_0/ghc_245.c:35:1: error: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^~~~~~~ | 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^ /usr/include/openssl/rsa.h:212:27: error: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ | 212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^ /tmp/ghc3653633_0/ghc_245.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPrivateKeyzudup’: /tmp/ghc3653633_0/ghc_245.c:38:1: error: warning: ‘RSAPrivateKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^~~ | 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^ In file included from /usr/include/openssl/rsa.h:21:0: error: /usr/include/openssl/rsa.h:457:1: error: note: declared here 457 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 457 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^ /tmp/ghc3653633_0/ghc_245.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPublicKeyzudup’: /tmp/ghc3653633_0/ghc_245.c:41:1: error: warning: ‘RSAPublicKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^~~ | 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^ /usr/include/openssl/rsa.h:456:1: error: note: declared here 456 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 456 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^ /tmp/ghc3653633_0/ghc_266.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams’: /tmp/ghc3653633_0/ghc_266.c:11:1: error: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~~~ | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc3653633_0/ghc_266.c:8:0: error: /usr/include/openssl/rsa.h:233:28: error: note: declared here 233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ | 233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^ /tmp/ghc3653633_0/ghc_266.c:11:181: error: warning: passing argument 2 of ‘RSA_get0_crt_params’ from incompatible pointer type [-Wincompatible-pointer-types] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:234:63: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 234 | const BIGNUM **dmp1, | ~~~~~~~~~~~~~~~^~~~ | 234 | const BIGNUM **dmp1, | ^ /tmp/ghc3653633_0/ghc_266.c:11:185: error: warning: passing argument 3 of ‘RSA_get0_crt_params’ from incompatible pointer type [-Wincompatible-pointer-types] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:235:63: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 235 | const BIGNUM **dmq1, | ~~~~~~~~~~~~~~~^~~~ | 235 | const BIGNUM **dmq1, | ^ /tmp/ghc3653633_0/ghc_266.c:11:189: error: warning: passing argument 4 of ‘RSA_get0_crt_params’ from incompatible pointer type [-Wincompatible-pointer-types] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:236:63: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 236 | const BIGNUM **iqmp); | ~~~~~~~~~~~~~~~^~~~ | 236 | const BIGNUM **iqmp); | ^ /tmp/ghc3653633_0/ghc_266.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors’: /tmp/ghc3653633_0/ghc_266.c:15:1: error: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~~~ | 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:228:28: error: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ | 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^ /tmp/ghc3653633_0/ghc_266.c:15:161: error: warning: passing argument 2 of ‘RSA_get0_factors’ from incompatible pointer type [-Wincompatible-pointer-types] 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:229:60: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 229 | const BIGNUM **p, const BIGNUM **q); | ~~~~~~~~~~~~~~~^ | 229 | const BIGNUM **p, const BIGNUM **q); | ^ /tmp/ghc3653633_0/ghc_266.c:15:165: error: warning: passing argument 3 of ‘RSA_get0_factors’ from incompatible pointer type [-Wincompatible-pointer-types] 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:229:78: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 229 | const BIGNUM **p, const BIGNUM **q); | ~~~~~~~~~~~~~~~^ | 229 | const BIGNUM **p, const BIGNUM **q); | ^ /tmp/ghc3653633_0/ghc_266.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey’: /tmp/ghc3653633_0/ghc_266.c:19:1: error: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~~~ | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:225:28: error: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ | 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^ /tmp/ghc3653633_0/ghc_266.c:19:166: error: warning: passing argument 2 of ‘RSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:226:56: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 226 | const BIGNUM **n, const BIGNUM **e, | ~~~~~~~~~~~~~~~^ | 226 | const BIGNUM **n, const BIGNUM **e, | ^ /tmp/ghc3653633_0/ghc_266.c:19:170: error: warning: passing argument 3 of ‘RSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:226:74: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 226 | const BIGNUM **n, const BIGNUM **e, | ~~~~~~~~~~~~~~~^ | 226 | const BIGNUM **n, const BIGNUM **e, | ^ /tmp/ghc3653633_0/ghc_266.c:19:174: error: warning: passing argument 4 of ‘RSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:227:56: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 227 | const BIGNUM **d); | ~~~~~~~~~~~~~~~^ | 227 | const BIGNUM **d); | ^ /tmp/ghc3653633_0/ghc_266.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzugeneratezukey’: /tmp/ghc3653633_0/ghc_266.c:22:1: error: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^~~ | 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:261:30: error: note: declared here 261 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ | 261 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^ /tmp/ghc3653633_0/ghc_266.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzusizze’: /tmp/ghc3653633_0/ghc_266.c:35:1: error: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^~~~~~~ | 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^ /usr/include/openssl/rsa.h:212:27: error: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ | 212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^ /tmp/ghc3653633_0/ghc_266.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPrivateKeyzudup’: /tmp/ghc3653633_0/ghc_266.c:38:1: error: warning: ‘RSAPrivateKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^~~ | 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^ In file included from /usr/include/openssl/rsa.h:21:0: error: /usr/include/openssl/rsa.h:457:1: error: note: declared here 457 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 457 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^ /tmp/ghc3653633_0/ghc_266.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPublicKeyzudup’: /tmp/ghc3653633_0/ghc_266.c:41:1: error: warning: ‘RSAPublicKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^~~ | 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^ /usr/include/openssl/rsa.h:456:1: error: note: declared here 456 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 456 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^ [16 of 33] Compiling OpenSSL.DER /tmp/ghc3653633_0/ghc_276.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPrivateKey’: /tmp/ghc3653633_0/ghc_276.c:10:1: error: warning: ‘i2d_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^ In file included from cbits/HsOpenSSL.h:3, from /tmp/ghc3653633_0/ghc_276.c:8:0: error: /usr/include/openssl/rsa.h:317:1: error: note: declared here 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_276.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey’: /tmp/ghc3653633_0/ghc_276.c:13:1: error: warning: ‘d2i_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^~~ | 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:317:1: error: note: declared here 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_276.c:13:170: error: warning: passing argument 2 of ‘d2i_RSAPrivateKey’ from incompatible pointer type [-Wincompatible-pointer-types] 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^~ | | | HsWord8 ** {aka unsigned char **} | 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:317:1: error: note: expected ‘const unsigned char **’ but argument is of type ‘HsWord8 **’ {aka ‘unsigned char **’} 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_276.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPublicKey’: /tmp/ghc3653633_0/ghc_276.c:16:1: error: warning: ‘i2d_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^~~~~~~ | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^ /usr/include/openssl/rsa.h:315:1: error: note: declared here 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_276.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey’: /tmp/ghc3653633_0/ghc_276.c:19:1: error: warning: ‘d2i_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^~~ | 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:315:1: error: note: declared here 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_276.c:19:168: error: warning: passing argument 2 of ‘d2i_RSAPublicKey’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^~ | | | HsWord8 ** {aka unsigned char **} | 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:315:1: error: note: expected ‘const unsigned char **’ but argument is of type ‘HsWord8 **’ {aka ‘unsigned char **’} 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_286.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPrivateKey’: /tmp/ghc3653633_0/ghc_286.c:10:1: error: warning: ‘i2d_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^ In file included from cbits/HsOpenSSL.h:3, from /tmp/ghc3653633_0/ghc_286.c:8:0: error: /usr/include/openssl/rsa.h:317:1: error: note: declared here 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_286.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey’: /tmp/ghc3653633_0/ghc_286.c:13:1: error: warning: ‘d2i_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^~~ | 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:317:1: error: note: declared here 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_286.c:13:170: error: warning: passing argument 2 of ‘d2i_RSAPrivateKey’ from incompatible pointer type [-Wincompatible-pointer-types] 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^~ | | | HsWord8 ** {aka unsigned char **} | 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:317:1: error: note: expected ‘const unsigned char **’ but argument is of type ‘HsWord8 **’ {aka ‘unsigned char **’} 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_286.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPublicKey’: /tmp/ghc3653633_0/ghc_286.c:16:1: error: warning: ‘i2d_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^~~~~~~ | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^ /usr/include/openssl/rsa.h:315:1: error: note: declared here 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_286.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey’: /tmp/ghc3653633_0/ghc_286.c:19:1: error: warning: ‘d2i_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^~~ | 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:315:1: error: note: declared here 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc3653633_0/ghc_286.c:19:168: error: warning: passing argument 2 of ‘d2i_RSAPublicKey’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^~ | | | HsWord8 ** {aka unsigned char **} | 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:315:1: error: note: expected ‘const unsigned char **’ but argument is of type ‘HsWord8 **’ {aka ‘unsigned char **’} 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ [17 of 33] Compiling OpenSSL.DSA /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuset0zukey’: /tmp/ghc3653633_0/ghc_259.c:10:1: error: warning: ‘DSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuset0zukey(void* a1, BIGNUM* a2, BIGNUM* a3) {return DSA_set0_key(a1, a2, a3);} | ^~~~~~~ In file included from /tmp/ghc3653633_0/ghc_259.c:8:0: error: /usr/include/openssl/dsa.h:206:27: error: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ | 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^ /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuset0zupqg’: /tmp/ghc3653633_0/ghc_259.c:13:1: error: warning: ‘DSA_set0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuset0zupqg(void* a1, BIGNUM* a2, BIGNUM* a3, BIGNUM* a4) {return DSA_set0_pqg(a1, a2, a3, a4);} | ^~~~~~~ /usr/include/openssl/dsa.h:203:27: error: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ | 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^ /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zukey’: /tmp/ghc3653633_0/ghc_259.c:16:1: error: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~~~ /usr/include/openssl/dsa.h:204:28: error: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ | 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /tmp/ghc3653633_0/ghc_259.c:16:154: error: warning: passing argument 2 of ‘DSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:204:70: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ~~~~~~~~~~~~~~~^~~~~~~ | 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /tmp/ghc3653633_0/ghc_259.c:16:158: error: warning: passing argument 3 of ‘DSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:205:56: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 205 | const BIGNUM **priv_key); | ~~~~~~~~~~~~~~~^~~~~~~~ | 205 | const BIGNUM **priv_key); | ^ /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg’: /tmp/ghc3653633_0/ghc_259.c:19:1: error: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^~~~ /usr/include/openssl/dsa.h:201:28: error: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ | 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /tmp/ghc3653633_0/ghc_259.c:19:167: error: warning: passing argument 2 of ‘DSA_get0_pqg’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg(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:201:70: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ~~~~~~~~~~~~~~~^ | 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /tmp/ghc3653633_0/ghc_259.c:19:171: error: warning: passing argument 3 of ‘DSA_get0_pqg’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg(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:202:56: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 202 | const BIGNUM **q, const BIGNUM **g); | ~~~~~~~~~~~~~~~^ | 202 | const BIGNUM **q, const BIGNUM **g); | ^ /tmp/ghc3653633_0/ghc_259.c:19:175: error: warning: passing argument 4 of ‘DSA_get0_pqg’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg(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:202:74: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 202 | const BIGNUM **q, const BIGNUM **g); | ~~~~~~~~~~~~~~~^ | 202 | const BIGNUM **q, const BIGNUM **g); | ^ /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzusizze’: /tmp/ghc3653633_0/ghc_259.c:21:1: error: warning: ‘DSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzusizze(void* a1) {return DSA_size(a1);} | ^~~~~~~ /usr/include/openssl/dsa.h:130:27: error: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^~~~~~~~ | 130 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^ /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezuparameters’: /tmp/ghc3653633_0/ghc_259.c:27:1: error: warning: ‘DSA_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezuparameters(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:159:6: error: note: declared here 159 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^~~~~~~~~~~~~~~~~~~~~~~ | 159 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc3653633_0/ghc_259.c:27:220: error: warning: pointer targets in passing argument 2 of ‘DSA_generate_parameters’ differ in signedness [-Wpointer-sign] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezuparameters(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);} | ^~ | | | char * /usr/include/openssl/dsa.h:159:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 159 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ~~~~~~~~~~~~~~~^~~~ | 159 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc3653633_0/ghc_259.c:27:232: error: warning: passing argument 5 of ‘DSA_generate_parameters’ from incompatible pointer type [-Wincompatible-pointer-types] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezuparameters(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:160:63: error: note: expected ‘long unsigned int *’ but argument is of type ‘int *’ 160 | int *counter_ret, unsigned long *h_ret, | ~~~~~~~~~~~~~~~^~~~~ | 160 | int *counter_ret, unsigned long *h_ret, | ^ /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazuverify’: /tmp/ghc3653633_0/ghc_259.c:30:200: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_verify’ differ in signedness [-Wpointer-sign] 30 | HsInt32 ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazuverify(void* a1, char* a2, HsInt32 a3, BIGNUM* a4, BIGNUM* a5) {return HsOpenSSL_dsa_verify(a1, a2, a3, a4, a5);} | ^~ | | | char * In file included from /tmp/ghc3653633_0/ghc_259.c:22:0: error: cbits/HsOpenSSL.h:109:57: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazusign’: /tmp/ghc3653633_0/ghc_259.c:33:198: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_sign’ differ in signedness [-Wpointer-sign] 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^~ | | | char * cbits/HsOpenSSL.h:107:55: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc3653633_0/ghc_259.c:33:206: error: warning: passing argument 4 of ‘HsOpenSSL_dsa_sign’ from incompatible pointer type [-Wincompatible-pointer-types] 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazusign(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: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/ghc3653633_0/ghc_259.c:33:210: error: warning: passing argument 5 of ‘HsOpenSSL_dsa_sign’ from incompatible pointer type [-Wincompatible-pointer-types] 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazusign(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/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezukey’: /tmp/ghc3653633_0/ghc_259.c:35:1: error: warning: ‘DSA_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | void ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezukey(void* a1) {DSA_generate_key(a1);} | ^~~~ /usr/include/openssl/dsa.h:174:27: error: note: declared here 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ | 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^ /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzunew’: /tmp/ghc3653633_0/ghc_259.c:37:1: error: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | void* ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzunew(void) {return DSA_new();} | ^~~~ /usr/include/openssl/dsa.h:125:28: error: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ | 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^ /tmp/ghc3653633_0/ghc_259.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzufree’: /tmp/ghc3653633_0/ghc_259.c:42:1: error: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 42 | void ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzufree(void* a1) {DSA_free(a1);} | ^~~~ /usr/include/openssl/dsa.h:127:28: error: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ | 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuset0zukey’: /tmp/ghc3653633_0/ghc_279.c:10:1: error: warning: ‘DSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuset0zukey(void* a1, BIGNUM* a2, BIGNUM* a3) {return DSA_set0_key(a1, a2, a3);} | ^~~~~~~ In file included from /tmp/ghc3653633_0/ghc_279.c:8:0: error: /usr/include/openssl/dsa.h:206:27: error: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ | 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuset0zupqg’: /tmp/ghc3653633_0/ghc_279.c:13:1: error: warning: ‘DSA_set0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuset0zupqg(void* a1, BIGNUM* a2, BIGNUM* a3, BIGNUM* a4) {return DSA_set0_pqg(a1, a2, a3, a4);} | ^~~~~~~ /usr/include/openssl/dsa.h:203:27: error: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ | 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zukey’: /tmp/ghc3653633_0/ghc_279.c:16:1: error: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~~~ /usr/include/openssl/dsa.h:204:28: error: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ | 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /tmp/ghc3653633_0/ghc_279.c:16:154: error: warning: passing argument 2 of ‘DSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:204:70: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ~~~~~~~~~~~~~~~^~~~~~~ | 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /tmp/ghc3653633_0/ghc_279.c:16:158: error: warning: passing argument 3 of ‘DSA_get0_key’ from incompatible pointer type [-Wincompatible-pointer-types] 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:205:56: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 205 | const BIGNUM **priv_key); | ~~~~~~~~~~~~~~~^~~~~~~~ | 205 | const BIGNUM **priv_key); | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg’: /tmp/ghc3653633_0/ghc_279.c:19:1: error: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^~~~ /usr/include/openssl/dsa.h:201:28: error: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ | 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /tmp/ghc3653633_0/ghc_279.c:19:167: error: warning: passing argument 2 of ‘DSA_get0_pqg’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg(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:201:70: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ~~~~~~~~~~~~~~~^ | 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /tmp/ghc3653633_0/ghc_279.c:19:171: error: warning: passing argument 3 of ‘DSA_get0_pqg’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg(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:202:56: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 202 | const BIGNUM **q, const BIGNUM **g); | ~~~~~~~~~~~~~~~^ | 202 | const BIGNUM **q, const BIGNUM **g); | ^ /tmp/ghc3653633_0/ghc_279.c:19:175: error: warning: passing argument 4 of ‘DSA_get0_pqg’ from incompatible pointer type [-Wincompatible-pointer-types] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzuget0zupqg(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:202:74: error: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 202 | const BIGNUM **q, const BIGNUM **g); | ~~~~~~~~~~~~~~~^ | 202 | const BIGNUM **q, const BIGNUM **g); | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzusizze’: /tmp/ghc3653633_0/ghc_279.c:21:1: error: warning: ‘DSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzusizze(void* a1) {return DSA_size(a1);} | ^~~~~~~ /usr/include/openssl/dsa.h:130:27: error: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^~~~~~~~ | 130 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezuparameters’: /tmp/ghc3653633_0/ghc_279.c:27:1: error: warning: ‘DSA_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezuparameters(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:159:6: error: note: declared here 159 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^~~~~~~~~~~~~~~~~~~~~~~ | 159 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc3653633_0/ghc_279.c:27:220: error: warning: pointer targets in passing argument 2 of ‘DSA_generate_parameters’ differ in signedness [-Wpointer-sign] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezuparameters(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);} | ^~ | | | char * /usr/include/openssl/dsa.h:159:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 159 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ~~~~~~~~~~~~~~~^~~~ | 159 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc3653633_0/ghc_279.c:27:232: error: warning: passing argument 5 of ‘DSA_generate_parameters’ from incompatible pointer type [-Wincompatible-pointer-types] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezuparameters(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:160:63: error: note: expected ‘long unsigned int *’ but argument is of type ‘int *’ 160 | int *counter_ret, unsigned long *h_ret, | ~~~~~~~~~~~~~~~^~~~~ | 160 | int *counter_ret, unsigned long *h_ret, | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazuverify’: /tmp/ghc3653633_0/ghc_279.c:30:200: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_verify’ differ in signedness [-Wpointer-sign] 30 | HsInt32 ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazuverify(void* a1, char* a2, HsInt32 a3, BIGNUM* a4, BIGNUM* a5) {return HsOpenSSL_dsa_verify(a1, a2, a3, a4, a5);} | ^~ | | | char * In file included from /tmp/ghc3653633_0/ghc_279.c:22:0: error: cbits/HsOpenSSL.h:109:57: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazusign’: /tmp/ghc3653633_0/ghc_279.c:33:198: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_sign’ differ in signedness [-Wpointer-sign] 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^~ | | | char * cbits/HsOpenSSL.h:107:55: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc3653633_0/ghc_279.c:33:206: error: warning: passing argument 4 of ‘HsOpenSSL_dsa_sign’ from incompatible pointer type [-Wincompatible-pointer-types] 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazusign(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: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/ghc3653633_0/ghc_279.c:33:210: error: warning: passing argument 5 of ‘HsOpenSSL_dsa_sign’ from incompatible pointer type [-Wincompatible-pointer-types] 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCHsOpenSSLzudsazusign(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/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezukey’: /tmp/ghc3653633_0/ghc_279.c:35:1: error: warning: ‘DSA_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | void ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzugeneratezukey(void* a1) {DSA_generate_key(a1);} | ^~~~ /usr/include/openssl/dsa.h:174:27: error: note: declared here 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ | 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzunew’: /tmp/ghc3653633_0/ghc_279.c:37:1: error: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | void* ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzunew(void) {return DSA_new();} | ^~~~ /usr/include/openssl/dsa.h:125:28: error: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ | 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^ /tmp/ghc3653633_0/ghc_279.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzufree’: /tmp/ghc3653633_0/ghc_279.c:42:1: error: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 42 | void ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDSAZCDSAzufree(void* a1) {DSA_free(a1);} | ^~~~ /usr/include/openssl/dsa.h:127:28: error: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ | 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); [18 of 33] Compiling OpenSSL.EVP.PKey | ^ /tmp/ghc3653633_0/ghc_296.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA’: /tmp/ghc3653633_0/ghc_296.c:10:1: error: warning: ‘EVP_PKEY_set1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^ In file included from /tmp/ghc3653633_0/ghc_296.c:8:0: error: /usr/include/openssl/evp.h:1363:5: error: note: declared here 1363 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1363 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^ /tmp/ghc3653633_0/ghc_296.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA’: /tmp/ghc3653633_0/ghc_296.c:13:1: error: warning: ‘EVP_PKEY_get1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^~~~ | 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^ /usr/include/openssl/evp.h:1367:16: error: note: declared here 1367 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1367 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^ /tmp/ghc3653633_0/ghc_296.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA’: /tmp/ghc3653633_0/ghc_296.c:17:1: error: warning: ‘EVP_PKEY_set1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^~~~~~~ | 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^ /usr/include/openssl/evp.h:1354:5: error: note: declared here 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^ /tmp/ghc3653633_0/ghc_296.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA’: /tmp/ghc3653633_0/ghc_296.c:21:1: error: warning: ‘EVP_PKEY_get1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^~~ | 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^ /usr/include/openssl/evp.h:1358:16: error: note: declared here 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^ /tmp/ghc3653633_0/ghc_303.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA’: /tmp/ghc3653633_0/ghc_303.c:10:1: error: warning: ‘EVP_PKEY_set1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^ In file included from /tmp/ghc3653633_0/ghc_303.c:8:0: error: /usr/include/openssl/evp.h:1363:5: error: note: declared here 1363 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1363 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^ /tmp/ghc3653633_0/ghc_303.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA’: /tmp/ghc3653633_0/ghc_303.c:13:1: error: warning: ‘EVP_PKEY_get1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^~~~ | 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^ /usr/include/openssl/evp.h:1367:16: error: note: declared here 1367 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1367 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^ /tmp/ghc3653633_0/ghc_303.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA’: /tmp/ghc3653633_0/ghc_303.c:17:1: error: warning: ‘EVP_PKEY_set1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^~~~~~~ | 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^ /usr/include/openssl/evp.h:1354:5: error: note: declared here 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^ /tmp/ghc3653633_0/ghc_303.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA’: /tmp/ghc3653633_0/ghc_303.c:21:1: error: warning: ‘EVP_PKEY_get1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^~~ | 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^ /usr/include/openssl/evp.h:1358:16: error: note: declared here 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^ [19 of 33] Compiling OpenSSL.EVP.Verify /tmp/ghc3653633_0/ghc_318.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal’: /tmp/ghc3653633_0/ghc_318.c:10:194: error: warning: pointer targets in passing argument 2 of ‘EVP_VerifyFinal’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc3653633_0/ghc_318.c:8:0: error: /usr/include/openssl/evp.h:816:66: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 816 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 816 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ^ /tmp/ghc3653633_0/ghc_343.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal’: /tmp/ghc3653633_0/ghc_343.c:10:194: error: warning: pointer targets in passing argument 2 of ‘EVP_VerifyFinal’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc3653633_0/ghc_343.c:8:0: error: /usr/include/openssl/evp.h:816:66: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 816 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 816 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ^ [20 of 33] Compiling OpenSSL.EVP.Sign [21 of 33] Compiling OpenSSL.EVP.Seal /tmp/ghc3653633_0/ghc_337.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit’: /tmp/ghc3653633_0/ghc_337.c:10:230: error: warning: passing argument 3 of ‘EVP_SealInit’ from incompatible pointer type [-Wincompatible-pointer-types] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit(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 ** | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit(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/ghc3653633_0/ghc_337.c:8:0: error: /usr/include/openssl/evp.h:854:41: error: note: expected ‘unsigned char **’ but argument is of type ‘char **’ 854 | unsigned char **ek, int *ekl, unsigned char *iv, | ~~~~~~~~~~~~~~~~^~ | 854 | unsigned char **ek, int *ekl, unsigned char *iv, | ^ /tmp/ghc3653633_0/ghc_337.c:10:238: error: warning: pointer targets in passing argument 5 of ‘EVP_SealInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit(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 * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit(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);} | ^ /usr/include/openssl/evp.h:854:70: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 854 | unsigned char **ek, int *ekl, unsigned char *iv, | ~~~~~~~~~~~~~~~^~ | 854 | unsigned char **ek, int *ekl, unsigned char *iv, | ^ /tmp/ghc3653633_0/ghc_359.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit’: /tmp/ghc3653633_0/ghc_359.c:10:230: error: warning: passing argument 3 of ‘EVP_SealInit’ from incompatible pointer type [-Wincompatible-pointer-types] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit(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 ** | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit(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/ghc3653633_0/ghc_359.c:8:0: error: /usr/include/openssl/evp.h:854:41: error: note: expected ‘unsigned char **’ but argument is of type ‘char **’ 854 | unsigned char **ek, int *ekl, unsigned char *iv, | ~~~~~~~~~~~~~~~~^~ | 854 | unsigned char **ek, int *ekl, unsigned char *iv, | ^ /tmp/ghc3653633_0/ghc_359.c:10:238: error: warning: pointer targets in passing argument 5 of ‘EVP_SealInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit(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 * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziSealZCEVPzuSealInit(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);} | ^ /usr/include/openssl/evp.h:854:70: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 854 | unsigned char **ek, int *ekl, unsigned char *iv, | ~~~~~~~~~~~~~~~^~ | 854 | unsigned char **ek, int *ekl, unsigned char *iv, | ^ [22 of 33] Compiling OpenSSL.EVP.Open /tmp/ghc3653633_0/ghc_312.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziOpenZCEVPzuOpenInit’: /tmp/ghc3653633_0/ghc_312.c:10:219: error: warning: pointer targets in passing argument 3 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * In file included from /tmp/ghc3653633_0/ghc_312.c:8:0: error: /usr/include/openssl/evp.h:849:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 849 | const unsigned char *ek, int ekl, | ~~~~~~~~~~~~~~~~~~~~~^~ | 849 | const unsigned char *ek, int ekl, | ^ /tmp/ghc3653633_0/ghc_312.c:10:227: error: warning: pointer targets in passing argument 5 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * /usr/include/openssl/evp.h:850:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 850 | const unsigned char *iv, EVP_PKEY *priv); | ~~~~~~~~~~~~~~~~~~~~~^~ | 850 | const unsigned char *iv, EVP_PKEY *priv); | ^ /tmp/ghc3653633_0/ghc_331.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziOpenZCEVPzuOpenInit’: /tmp/ghc3653633_0/ghc_331.c:10:219: error: warning: pointer targets in passing argument 3 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * In file included from /tmp/ghc3653633_0/ghc_331.c:8:0: error: /usr/include/openssl/evp.h:849:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 849 | const unsigned char *ek, int ekl, | ~~~~~~~~~~~~~~~~~~~~~^~ | 849 | const unsigned char *ek, int ekl, | ^ /tmp/ghc3653633_0/ghc_331.c:10:227: error: warning: pointer targets in passing argument 5 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * [23 of 33] Compiling OpenSSL.DH /usr/include/openssl/evp.h:850:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 850 | const unsigned char *iv, EVP_PKEY *priv); | ~~~~~~~~~~~~~~~~~~~~~^~ | 850 | const unsigned char *iv, EVP_PKEY *priv); | ^ /tmp/ghc3653633_0/ghc_196.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey’: /tmp/ghc3653633_0/ghc_196.c:14:132: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_196.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzusizze’: /tmp/ghc3653633_0/ghc_196.c:20:1: error: warning: ‘DH_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 20 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzusizze(DH* a1) {return DH_size(a1);} | ^~~~~~~ In file included from cbits/HsOpenSSL.h:6, from /tmp/ghc3653633_0/ghc_196.c:8:0: error: /usr/include/openssl/dh.h:207:27: error: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ | 207 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^ /tmp/ghc3653633_0/ghc_196.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzucheck’: /tmp/ghc3653633_0/ghc_196.c:23:1: error: warning: ‘DH_check’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 23 | HsBool ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzucheck(DH* a1, int* a2) {return DH_check(a1, a2);} | ^~~~~~ /usr/include/openssl/dh.h:224:27: error: note: declared here 224 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^~~~~~~~ | 224 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^ /tmp/ghc3653633_0/ghc_196.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzucomputezukey’: /tmp/ghc3653633_0/ghc_196.c:27:1: error: warning: ‘DH_compute_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 27 | HsInt32 ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzucomputezukey(HsWord8* a1, BIGNUM* a2, DH* a3) {return DH_compute_key(a1, a2, a3);} | ^~~~~~~ /usr/include/openssl/dh.h:228:27: error: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ | 228 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^ /tmp/ghc3653633_0/ghc_196.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzugeneratezukey’: /tmp/ghc3653633_0/ghc_196.c:30:1: error: warning: ‘DH_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 30 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzugeneratezukey(DH* a1) {return DH_generate_key(a1);} | ^~~~~~~ /usr/include/openssl/dh.h:227:27: error: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ | 227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^ /tmp/ghc3653633_0/ghc_196.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzugeneratezuparameters’: /tmp/ghc3653633_0/ghc_196.c:33:1: error: warning: ‘DH_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 33 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);} | ^~ /usr/include/openssl/dh.h:322:29: error: note: declared here 322 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^~~~~~~~~~~~~~~~~~~~~~ | 322 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^ /tmp/ghc3653633_0/ghc_230.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey’: /tmp/ghc3653633_0/ghc_230.c:14:132: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_230.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzusizze’: /tmp/ghc3653633_0/ghc_230.c:20:1: error: warning: ‘DH_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 20 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzusizze(DH* a1) {return DH_size(a1);} | ^~~~~~~ In file included from cbits/HsOpenSSL.h:6, from /tmp/ghc3653633_0/ghc_230.c:8:0: error: /usr/include/openssl/dh.h:207:27: error: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ | 207 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^ /tmp/ghc3653633_0/ghc_230.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzucheck’: /tmp/ghc3653633_0/ghc_230.c:23:1: error: warning: ‘DH_check’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 23 | HsBool ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzucheck(DH* a1, int* a2) {return DH_check(a1, a2);} | ^~~~~~ /usr/include/openssl/dh.h:224:27: error: note: declared here 224 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^~~~~~~~ | 224 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^ /tmp/ghc3653633_0/ghc_230.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzucomputezukey’: /tmp/ghc3653633_0/ghc_230.c:27:1: error: warning: ‘DH_compute_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 27 | HsInt32 ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzucomputezukey(HsWord8* a1, BIGNUM* a2, DH* a3) {return DH_compute_key(a1, a2, a3);} | ^~~~~~~ /usr/include/openssl/dh.h:228:27: error: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ | 228 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^ /tmp/ghc3653633_0/ghc_230.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzugeneratezukey’: /tmp/ghc3653633_0/ghc_230.c:30:1: error: warning: ‘DH_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 30 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzugeneratezukey(DH* a1) {return DH_generate_key(a1);} | ^~~~~~~ /usr/include/openssl/dh.h:227:27: error: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ | 227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^ /tmp/ghc3653633_0/ghc_230.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzugeneratezuparameters’: /tmp/ghc3653633_0/ghc_230.c:33:1: error: warning: ‘DH_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 33 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);} | ^~ /usr/include/openssl/dh.h:322:29: error: note: declared here 322 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^~~~~~~~~~~~~~~~~~~~~~ | 322 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^ [24 of 33] Compiling OpenSSL.BIO /tmp/ghc3653633_0/ghc_141.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzuszunull’: /tmp/ghc3653633_0/ghc_141.c:10:119: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();} | ^~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_141.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzuszumem’: /tmp/ghc3653633_0/ghc_141.c:16:118: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 16 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();} | ^~~~~~~~~~~ /tmp/ghc3653633_0/ghc_141.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzufzubuffer’: /tmp/ghc3653633_0/ghc_141.c:22:121: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();} | ^~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_141.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzufzubase64’: /tmp/ghc3653633_0/ghc_141.c:27:121: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();} | ^~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_162.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzuszunull’: /tmp/ghc3653633_0/ghc_162.c:10:119: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();} | ^~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_162.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzuszumem’: /tmp/ghc3653633_0/ghc_162.c:16:118: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 16 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();} | ^~~~~~~~~~~ /tmp/ghc3653633_0/ghc_162.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzufzubuffer’: /tmp/ghc3653633_0/ghc_162.c:22:121: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();} | ^~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_162.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzufzubase64’: /tmp/ghc3653633_0/ghc_162.c:27:121: error:[25 of 33] Compiling OpenSSL.ASN1 [26 of 33] Compiling OpenSSL.X509.Name warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();} | ^~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_193.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziASN1ZCOBJzunid2ln’: /tmp/ghc3653633_0/ghc_193.c:36:119: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);} | ^~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_193.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziASN1ZCOBJzunid2sn’: /tmp/ghc3653633_0/ghc_193.c:38:119: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);} | ^~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_225.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziASN1ZCOBJzunid2ln’: /tmp/ghc3653633_0/ghc_225.c:36:119: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);} | ^~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_225.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziASN1ZCOBJzunid2sn’: /tmp/ghc3653633_0/ghc_225.c:38:119: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);} | ^~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_242.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt’: /tmp/ghc3653633_0/ghc_242.c:24:257: error: warning: pointer targets in passing argument 4 of ‘X509_NAME_add_entry_by_txt’ differ in signedness [-Wpointer-sign] 24 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt(X509_NAME* a1, char* a2, HsInt32 a3, char* a4, HsInt32 a5, HsInt32 a6, HsInt32 a7) {return X509_NAME_add_entry_by_txt(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * In file included from /tmp/ghc3653633_0/ghc_242.c:8:0: error: /usr/include/openssl/x509.h:1061:53: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1061 | const unsigned char *bytes, int len, int loc, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 1061 | const unsigned char *bytes, int len, int loc, | ^ /tmp/ghc3653633_0/ghc_253.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt’: /tmp/ghc3653633_0/ghc_253.c:24:257: error: warning: pointer targets in passing argument 4 of ‘X509_NAME_add_entry_by_txt’ differ in signedness [-Wpointer-sign] 24 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt(X509_NAME* a1, char* a2, HsInt32 a3, char* a4, HsInt32 a5, HsInt32 a6, HsInt32 a7) {return X509_NAME_add_entry_by_txt(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * In file included from /tmp/ghc3653633_0/ghc_253.c:8:0: error: [27 of 33] Compiling OpenSSL.X509 /usr/include/openssl/x509.h:1061:53: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1061 | const unsigned char *bytes, int len, int loc, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 1061 | const unsigned char *bytes, int len, int loc, | ^ [28 of 33] Compiling OpenSSL.X509.Request [29 of 33] Compiling OpenSSL.X509.Revocation /tmp/ghc3653633_0/ghc_370.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate’: /tmp/ghc3653633_0/ghc_370.c:11:166: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 11 | ASN1_TIME* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate(X509_REVOKED* a1) {return X509_REVOKED_get0_revocationDate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_370.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber’: /tmp/ghc3653633_0/ghc_370.c:15:167: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | ASN1_INTEGER* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber(X509_REVOKED* a1) {return X509_REVOKED_get0_serialNumber(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_370.c: In function ‘ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate’: /tmp/ghc3653633_0/ghc_370.c:60:165: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | ASN1_TIME* ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_nextUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_370.c: In function ‘ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate’: /tmp/ghc3653633_0/ghc_370.c:64:165: error:[30 of 33] Compiling OpenSSL.X509.Store [31 of 33] Compiling OpenSSL.Session warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | ASN1_TIME* ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_lastUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_384.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate’: /tmp/ghc3653633_0/ghc_384.c:11:166: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 11 | ASN1_TIME* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate(X509_REVOKED* a1) {return X509_REVOKED_get0_revocationDate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_384.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber’: /tmp/ghc3653633_0/ghc_384.c:15:167: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | ASN1_INTEGER* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber(X509_REVOKED* a1) {return X509_REVOKED_get0_serialNumber(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_384.c: In function ‘ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate’: /tmp/ghc3653633_0/ghc_384.c:60:165: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | ASN1_TIME* ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_nextUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_384.c: In function ‘ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate’: /tmp/ghc3653633_0/ghc_384.c:64:165: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | ASN1_TIME* ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_lastUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/ghc3653633_0/ghc_450.c: In function ‘ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos’: /tmp/ghc3653633_0/ghc_450.c:72:193: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_alpn_protos’ differ in signedness [-Wpointer-sign] 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^~ | | | char * | 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^ In file included from /tmp/ghc3653633_0/ghc_450.c:8:0: error: /usr/include/openssl/ssl.h:841:71: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ^ /tmp/ghc3653633_0/ghc_450.c: In function ‘ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext’: /tmp/ghc3653633_0/ghc_450.c:75:208: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_session_id_context’ differ in signedness [-Wpointer-sign] 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^~ | | | char * | 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^ /usr/include/openssl/ssl.h:1917:64: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1917 | const unsigned char *sid_ctx, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 1917 | const unsigned char *sid_ctx, | ^ /tmp/ghc3653633_0/ghc_457.c: In function ‘ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos’: /tmp/ghc3653633_0/ghc_457.c:72:193: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_alpn_protos’ differ in signedness [-Wpointer-sign] 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^~ | | | char * | 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^ In file included from /tmp/ghc3653633_0/ghc_457.c:8:0: error: /usr/include/openssl/ssl.h:841:71: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ^ /tmp/ghc3653633_0/ghc_457.c: In function ‘ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext’: /tmp/ghc3653633_0/ghc_457.c:75:208: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_session_id_context’ differ in signedness [-Wpointer-sign] 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^~ | | | char * | 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^ /usr/include/openssl/ssl.h:1917:64: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1917 | const unsigned char *sid_ctx, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 1917 | const unsigned char *sid_ctx, | ^ [32 of 33] Compiling OpenSSL.PKCS7 [33 of 33] Compiling OpenSSL.PEM /tmp/ghc3653633_0/ghc_436.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziPEMZCPEMzureadzubiozuDHparams’: /tmp/ghc3653633_0/ghc_436.c:13:1: error: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | DH* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziPEMZCPEMzureadzubiozuDHparams(BIO* a1, DH** a2, void* a3, void* a4) {return PEM_read_bio_DHparams(a1, a2, a3, a4);} | ^~ In file included from /tmp/ghc3653633_0/ghc_436.c:10:0: error: /usr/include/openssl/pem.h:469:1: error: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ /tmp/ghc3653633_0/ghc_436.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams’: /tmp/ghc3653633_0/ghc_436.c:17:1: error: warning: ‘PEM_write_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams(BIO* a1, DH* a2) {return PEM_write_bio_DHparams(a1, a2);} | ^~~~~~~ /usr/include/openssl/pem.h:469:1: error: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ /tmp/ghc3653633_0/ghc_444.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziPEMZCPEMzureadzubiozuDHparams’: /tmp/ghc3653633_0/ghc_444.c:13:1: error: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | DH* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziPEMZCPEMzureadzubiozuDHparams(BIO* a1, DH** a2, void* a3, void* a4) {return PEM_read_bio_DHparams(a1, a2, a3, a4);} | ^~ In file included from /tmp/ghc3653633_0/ghc_444.c:10:0: error: /usr/include/openssl/pem.h:469:1: error: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ /tmp/ghc3653633_0/ghc_444.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams’: /tmp/ghc3653633_0/ghc_444.c:17:1: error: warning: ‘PEM_write_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmBaTULfJPv8J141eSExDUQNZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams(BIO* a1, DH* a2) {return PEM_write_bio_DHparams(a1, a2);} | ^~~~~~~ /usr/include/openssl/pem.h:469:1: error: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 469 | 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:194:1: error: note: declared here 194 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 194 | 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:260:28: error: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ | 260 | 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:257:28: error: note: declared here 257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ | 257 | 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:113:32: error: note: declared here 113 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ | 113 | 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:115:27: error: note: declared here 115 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ | 115 | 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:148:1: error: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 148 | 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:148:1: error: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 148 | 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:150:1: error: note: declared here 150 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 150 | 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:150:1: error: note: declared here 150 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 150 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: At top level: cbits/HsOpenSSL.c:274:13: error: warning: ‘HsOpenSSL_dynlockDestroyCallback’ defined but not used [-Wunused-function] 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:265:13: error: warning: ‘HsOpenSSL_dynlockLockCallback’ defined but not used [-Wunused-function] 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:256:37: error: warning: ‘HsOpenSSL_dynlockCreateCallback’ defined but not used [-Wunused-function] 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^ cbits/HsOpenSSL.c:252:22: error: warning: ‘HsOpenSSL_idCallback’ defined but not used [-Wunused-function] 252 | static unsigned long HsOpenSSL_idCallback() { | ^~~~~~~~~~~~~~~~~~~~ | 252 | static unsigned long HsOpenSSL_idCallback() { | ^ cbits/HsOpenSSL.c:243:13: error: warning: ‘HsOpenSSL_lockingCallback’ defined but not used [-Wunused-function] 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^ 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:194:1: error: note: declared here 194 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 194 | 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:260:28: error: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ | 260 | 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:257:28: error: note: declared here 257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ | 257 | 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:113:32: error: note: declared here 113 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ | 113 | 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:115:27: error: note: declared here 115 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ | 115 | 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:148:1: error: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 148 | 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:148:1: error: note: declared here 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 148 | 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:150:1: error: note: declared here 150 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 150 | 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:150:1: error: note: declared here 150 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 150 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: At top level: cbits/HsOpenSSL.c:274:13: error: warning: ‘HsOpenSSL_dynlockDestroyCallback’ defined but not used [-Wunused-function] 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:265:13: error: warning: ‘HsOpenSSL_dynlockLockCallback’ defined but not used [-Wunused-function] 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:256:37: error: warning: ‘HsOpenSSL_dynlockCreateCallback’ defined but not used [-Wunused-function] 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^ cbits/HsOpenSSL.c:252:22: error: warning: ‘HsOpenSSL_idCallback’ defined but not used [-Wunused-function] 252 | static unsigned long HsOpenSSL_idCallback() { | ^~~~~~~~~~~~~~~~~~~~ | 252 | static unsigned long HsOpenSSL_idCallback() { | ^ cbits/HsOpenSSL.c:243:13: error: warning: ‘HsOpenSSL_lockingCallback’ defined but not used [-Wunused-function] 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^ + '[' -n dist/build/libHSHsOpenSSL-0.11.7.6-BaTULfJPv8J141eSExDUQN-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for HsOpenSSL-0.11.7.6.. Running Haddock on library for HsOpenSSL-0.11.7.6.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, base-4.17.1.0, bytestring-0.11.4.0, deepseq-1.4.8.0, directory-1.3.7.1, filepath-1.4.2.2, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, network-3.1.4.0, pretty-1.1.3.6, template-haskell-2.19.0.0, time-1.12.2, unix-2.7.3 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 100% ( 2 / 2) in 'OpenSSL' 100% ( 9 / 9) in 'OpenSSL.EVP.Base64' 100% ( 5 / 5) in 'OpenSSL.Random' Warning: 'cipher' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 11% ( 5 / 43) in 'OpenSSL.EVP.Internal' Missing documentation for: Module header EVP_CIPHER (OpenSSL/EVP/Internal.hsc:95) withCipherPtr (OpenSSL/EVP/Internal.hsc:97) cipherIvLength (OpenSSL/EVP/Internal.hsc:103) CipherCtx (OpenSSL/EVP/Internal.hsc:108) EVP_CIPHER_CTX (OpenSSL/EVP/Internal.hsc:109) newCipherCtx (OpenSSL/EVP/Internal.hsc:131) withCipherCtxPtr (OpenSSL/EVP/Internal.hsc:137) withNewCipherCtxPtr (OpenSSL/EVP/Internal.hsc:140) cipherSetPadding (OpenSSL/EVP/Internal.hsc:158) cipherInitBS (OpenSSL/EVP/Internal.hsc:173) cipherUpdateBS (OpenSSL/EVP/Internal.hsc:191) cipherFinalBS (OpenSSL/EVP/Internal.hsc:206) cipherStrictly (OpenSSL/EVP/Internal.hsc:216) cipherLazily (OpenSSL/EVP/Internal.hsc:222) EVP_MD (OpenSSL/EVP/Internal.hsc:235) withMDPtr (OpenSSL/EVP/Internal.hsc:237) DigestCtx (OpenSSL/EVP/Internal.hsc:242) EVP_MD_CTX (OpenSSL/EVP/Internal.hsc:243) withDigestCtxPtr (OpenSSL/EVP/Internal.hsc:268) digestUpdateBS (OpenSSL/EVP/Internal.hsc:287) digestFinalBS (OpenSSL/EVP/Internal.hsc:298) digestFinal (OpenSSL/EVP/Internal.hsc:306) digestStrictly (OpenSSL/EVP/Internal.hsc:315) digestLazily (OpenSSL/EVP/Internal.hsc:321) HmacCtx (OpenSSL/EVP/Internal.hsc:328) HMAC_CTX (OpenSSL/EVP/Internal.hsc:329) withHmacCtxPtr (OpenSSL/EVP/Internal.hsc:351) hmacUpdateBS (OpenSSL/EVP/Internal.hsc:363) hmacFinalBS (OpenSSL/EVP/Internal.hsc:369) hmacLazily (OpenSSL/EVP/Internal.hsc:377) EVP_PKEY (OpenSSL/EVP/Internal.hsc:388) createPKey (OpenSSL/EVP/Internal.hsc:418) wrapPKeyPtr (OpenSSL/EVP/Internal.hsc:415) withPKeyPtr (OpenSSL/EVP/Internal.hsc:424) withPKeyPtr' (OpenSSL/EVP/Internal.hsc:427) unsafePKeyToPtr (OpenSSL/EVP/Internal.hsc:432) touchPKey (OpenSSL/EVP/Internal.hsc:435) 90% ( 9 / 10) in 'OpenSSL.EVP.Digest' Missing documentation for: hmacLBS (OpenSSL/EVP/Digest.hsc:104) 100% ( 9 / 9) in 'OpenSSL.EVP.Cipher' 60% ( 3 / 5) in 'OpenSSL.Cipher' Missing documentation for: Mode (OpenSSL/Cipher.hsc:37) AESCtx (OpenSSL/Cipher.hsc:44) 88% ( 22 / 25) in 'OpenSSL.BN' 89% ( 17 / 19) in 'OpenSSL.RSA' 100% ( 5 / 5) in 'OpenSSL.DER' 94% ( 18 / 19) in 'OpenSSL.DSA' 100% ( 5 / 5) in 'OpenSSL.EVP.PKey' 100% ( 5 / 5) in 'OpenSSL.EVP.Verify' 100% ( 4 / 4) in 'OpenSSL.EVP.Sign' 100% ( 4 / 4) in 'OpenSSL.EVP.Seal' 100% ( 4 / 4) in 'OpenSSL.EVP.Open' 72% ( 8 / 11) in 'OpenSSL.DH' Missing documentation for: DHP (OpenSSL/DH/Internal.hs:28) DH (OpenSSL/DH/Internal.hs:39) DHGen (OpenSSL/DH.hs:35) 81% ( 27 / 33) in 'OpenSSL.X509' Warning: 'subjectAltName' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 85% ( 18 / 21) in 'OpenSSL.X509.Request' 88% ( 22 / 25) in 'OpenSSL.X509.Revocation' 31% ( 5 / 16) in 'OpenSSL.X509.Store' Warning: 'blocking' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'blocked' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 92% ( 59 / 64) in 'OpenSSL.Session' Missing documentation for: contextSetVerificationMode (OpenSSL/Session.hsc:297) contextSetALPNProtos (OpenSSL/Session.hsc:385) ShutdownType (OpenSSL/Session.hsc:758) SSLContext_ (OpenSSL/Session.hsc:134) SSL_ (OpenSSL/Session.hsc:418) 81% ( 13 / 16) in 'OpenSSL.PKCS7' 100% ( 27 / 27) in 'OpenSSL.PEM' Warning: OpenSSL: could not find link destinations for: - GHC.Types.IO Warning: OpenSSL.EVP.Base64: could not find link destinations for: - GHC.Base.String - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.Random: could not find link destinations for: - GHC.Types.Int - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString Warning: OpenSSL.EVP.Internal: could not find link destinations for: - GHC.Ptr.Ptr - GHC.Types.IO - GHC.Types.Int - GHC.ForeignPtr.ForeignPtr - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString - GHC.Base.String - GHC.Maybe.Maybe - GHC.Maybe.Nothing Warning: OpenSSL.EVP.Digest: could not find link destinations for: - GHC.Base.String - GHC.Types.IO - GHC.Maybe.Maybe - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString - GHC.Types.Int Warning: OpenSSL.EVP.Cipher: could not find link destinations for: - GHC.Base.String - GHC.Types.IO - GHC.Maybe.Maybe - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.Cipher: could not find link destinations for: - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - Data.ByteString.Internal.Type.ByteString - GHC.Types.IO Warning: OpenSSL.BN: could not find link destinations for: - GHC.Types.IO - GHC.Num.Integer.Integer - Data.ByteString.Internal.Type.ByteString - GHC.Types.Bool Warning: OpenSSL.RSA: could not find link destinations for: - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Ptr.Ptr - GHC.Types.IO - GHC.Maybe.Maybe - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min Warning: OpenSSL.DER: could not find link destinations for: - Data.ByteString.Internal.Type.ByteString - GHC.Maybe.Maybe Warning: OpenSSL.DSA: could not find link destinations for: - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Ptr.Ptr - GHC.Types.IO - GHC.Maybe.Maybe - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Data.ByteString.Internal.Type.ByteString Warning: OpenSSL.EVP.PKey: could not find link destinations for: - GHC.Classes.Eq - Data.Typeable.Internal.Typeable - GHC.Maybe.Maybe - GHC.Maybe.Nothing - GHC.Types.IO - GHC.Types.Int - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= Warning: OpenSSL.EVP.Verify: could not find link destinations for: - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.EVP.Sign: could not find link destinations for: - GHC.Base.String - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.EVP.Seal: could not find link destinations for: - GHC.Base.String - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.EVP.Open: could not find link destinations for: - GHC.Base.String - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.DH: could not find link destinations for: - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Types.IO - GHC.Num.Integer.Integer - Data.ByteString.Internal.Type.ByteString Warning: OpenSSL.X509: could not find link destinations for: - GHC.Types.IO - Data.ByteString.Lazy.Internal.ByteString - GHC.Types.Ordering - GHC.Maybe.Maybe - GHC.Base.String - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Types.Bool - Data.Time.Clock.Internal.UTCTime.UTCTime Warning: OpenSSL.X509.Request: could not find link destinations for: - GHC.Types.IO - GHC.Maybe.Maybe - GHC.Base.String - Data.ByteString.Lazy.Internal.ByteString - GHC.Types.Int - GHC.Types.Bool - Foreign.C.Types.CInt Warning: OpenSSL.X509.Revocation: could not find link destinations for: - GHC.Num.Integer.Integer - Data.Time.Clock.Internal.UTCTime.UTCTime - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Types.IO - GHC.Maybe.Maybe Warning: OpenSSL.X509.Store: could not find link destinations for: - GHC.Types.IO Warning: OpenSSL.Session: could not find link destinations for: - GHC.Types.IO - GHC.IO.FilePath - GHC.Base.String - GHC.Types.Bool - GHC.Maybe.Maybe - Data.ByteString.Internal.Type.ByteString - Data.Foldable.Foldable - GHC.Types.Type - Data.Foldable.fold - GHC.Base.Monoid - Data.Foldable.foldMap - Data.Foldable.foldMap' - Data.Foldable.foldr - Data.Foldable.foldr' - Data.Foldable.foldl - Data.Foldable.foldl' - Data.Foldable.foldr1 - Data.Foldable.foldl1 - Data.Foldable.toList - Data.Foldable.null - Data.Foldable.length - GHC.Types.Int - Data.Foldable.elem - GHC.Classes.Eq - Data.Foldable.maximum - GHC.Classes.Ord - Data.Foldable.minimum - Data.Foldable.sum - GHC.Num.Num - Data.Foldable.product - Data.Traversable.Traversable - Data.Traversable.traverse - GHC.Base.Applicative - Data.Traversable.sequenceA - Data.Traversable.mapM - GHC.Base.Monad - Data.Traversable.sequence - GHC.Base.Functor - GHC.Base.fmap - GHC.Base.<$ - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.== - GHC.Classes./= - Network.Socket.Types.Socket - System.Posix.Types.Fd - GHC.Ptr.Ptr - Data.ByteString.Lazy.Internal.ByteString - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Exception.Type.Exception - GHC.Exception.Type.toException - GHC.Exception.Type.SomeException - GHC.Exception.Type.fromException - GHC.Exception.Type.displayException Warning: OpenSSL.PKCS7: could not find link destinations for: - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Maybe.Maybe - GHC.Types.IO Warning: OpenSSL.PEM: could not find link destinations for: - GHC.Types.Int - GHC.Types.IO - GHC.Base.String - Data.ByteString.Internal.Type.ByteString - GHC.Maybe.Maybe Documentation created: dist/doc/html/HsOpenSSL/index.html, dist/doc/html/HsOpenSSL/HsOpenSSL.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O7OquJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64 + cd HsOpenSSL-0.11.7.6 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64 Installing library in /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/HsOpenSSL-0.11.7.6 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d HsOpenSSL-0.11.7.6.conf ']' + install -D --mode=0644 HsOpenSSL-0.11.7.6.conf /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/package.conf.d/HsOpenSSL-0.11.7.6.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/package.conf.d/HsOpenSSL-0.11.7.6.conf ']' + rm -f ghc-HsOpenSSL.files ghc-HsOpenSSL-doc.files + touch ghc-HsOpenSSL.files ghc-HsOpenSSL-doc.files + for i in /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5${subsubdir}/libHSHsOpenSSL-0.11.7.6-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSHsOpenSSL-0.11.7.6-BaTULfJPv8J141eSExDUQN-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSHsOpenSSL-0.11.7.6-BaTULfJPv8J141eSExDUQN-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/HsOpenSSL-0.11.7.6 + '[' -d /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/HsOpenSSL-0.11.7.6 ']' + find /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/HsOpenSSL-0.11.7.6 -type d -fprintf ghc-HsOpenSSL-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-HsOpenSSL-prof.files -o -fprint ghc-HsOpenSSL-devel.files + ls /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/package.conf.d/HsOpenSSL-0.11.7.6.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/HsOpenSSL-0.11.7.6 + '[' -d /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/doc/ghc/html/libraries/HsOpenSSL-0.11.7.6 ']' + echo /usr/share/doc/ghc/html/libraries/HsOpenSSL-0.11.7.6 + for i in ghc-HsOpenSSL.files ghc-HsOpenSSL-devel.files ghc-HsOpenSSL-doc.files ghc-HsOpenSSL-prof.files + '[' -f ghc-HsOpenSSL.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64!!g' ghc-HsOpenSSL.files + for i in ghc-HsOpenSSL.files ghc-HsOpenSSL-devel.files ghc-HsOpenSSL-doc.files ghc-HsOpenSSL-prof.files + '[' -f ghc-HsOpenSSL-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64!!g' ghc-HsOpenSSL-devel.files + for i in ghc-HsOpenSSL.files ghc-HsOpenSSL-devel.files ghc-HsOpenSSL-doc.files ghc-HsOpenSSL-prof.files + '[' -f ghc-HsOpenSSL-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64!!g' ghc-HsOpenSSL-doc.files + for i in ghc-HsOpenSSL.files ghc-HsOpenSSL-devel.files ghc-HsOpenSSL-doc.files ghc-HsOpenSSL-prof.files + '[' -f ghc-HsOpenSSL-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64!!g' ghc-HsOpenSSL-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSHsOpenSSL-0.11.7.6-BaTULfJPv8J141eSExDUQN-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSHsOpenSSL-0.11.7.6-BaTULfJPv8J141eSExDUQN-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSHsOpenSSL-0.11.7.6-BaTULfJPv8J141eSExDUQN-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib:/usr/lib64/ghc-9.4.5/lib/aarch64-linux-ghc-9.4.5 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kacnTy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd HsOpenSSL-0.11.7.6 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qBhlkv + umask 022 + cd /builddir/build/BUILD + cd HsOpenSSL-0.11.7.6 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/licenses/ghc-HsOpenSSL + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/licenses/ghc-HsOpenSSL + cp -pr COPYING /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/licenses/ghc-HsOpenSSL + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-HsOpenSSL = 0.11.7.6-1.ocs23 ghc-HsOpenSSL(aarch-64) = 0.11.7.6-1.ocs23 libHSHsOpenSSL-0.11.7.6-BaTULfJPv8J141eSExDUQN-ghc9.4.5.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libHSarray-0.5.4.0-ghc9.4.5.so()(64bit) libHSbase-4.17.1.0-ghc9.4.5.so()(64bit) libHSbytestring-0.11.4.0-ghc9.4.5.so()(64bit) libHSdeepseq-1.4.8.0-ghc9.4.5.so()(64bit) libHSdirectory-1.3.7.1-ghc9.4.5.so()(64bit) libHSfilepath-1.4.2.2-ghc9.4.5.so()(64bit) libHSghc-bignum-1.3-ghc9.4.5.so()(64bit) libHSghc-boot-th-9.4.5-ghc9.4.5.so()(64bit) libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit) libHSnetwork-3.1.4.0-FvtFepOtuCUH79FCWyNxIc-ghc9.4.5.so()(64bit) libHSpretty-1.1.3.6-ghc9.4.5.so()(64bit) libHStemplate-haskell-2.19.0.0-ghc9.4.5.so()(64bit) libHStime-1.12.2-ghc9.4.5.so()(64bit) libHSunix-2.7.3-ghc9.4.5.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: ghc-HsOpenSSL-devel-0.11.7.6-1.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QdBpsI + umask 022 + cd /builddir/build/BUILD + cd HsOpenSSL-0.11.7.6 + DOCDIR=/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/doc/ghc-HsOpenSSL-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/doc/ghc-HsOpenSSL-devel + cp -pr AUTHORS /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/doc/ghc-HsOpenSSL-devel + cp -pr ChangeLog /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/doc/ghc-HsOpenSSL-devel + cp -pr README.md /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/doc/ghc-HsOpenSSL-devel + cp -pr examples /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/doc/ghc-HsOpenSSL-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-HsOpenSSL-devel = 0.11.7.6-1.ocs23 ghc-HsOpenSSL-devel(aarch-64) = 0.11.7.6-1.ocs23 ghc-HsOpenSSL-static = 0.11.7.6-1.ocs23 ghc-devel(HsOpenSSL-0.11.7.6-BaTULfJPv8J141eSExDUQN) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.17.1.0) ghc-devel(bytestring-0.11.4.0) ghc-devel(network-3.1.4.0-FvtFepOtuCUH79FCWyNxIc) ghc-devel(time-1.12.2) Processing files: ghc-HsOpenSSL-doc-0.11.7.6-1.ocs23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CwKmbY + umask 022 + cd /builddir/build/BUILD + cd HsOpenSSL-0.11.7.6 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/licenses/ghc-HsOpenSSL-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/licenses/ghc-HsOpenSSL-doc + cp -pr COPYING /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64/usr/share/licenses/ghc-HsOpenSSL-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-HsOpenSSL-doc = 0.11.7.6-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64 Wrote: /builddir/build/RPMS/ghc-HsOpenSSL-0.11.7.6-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/ghc-HsOpenSSL-doc-0.11.7.6-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/ghc-HsOpenSSL-devel-0.11.7.6-1.ocs23.aarch64.rpm Child return code was: 0