=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/security/ocaml-ssl", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for ocaml-ssl-0.5.10nb3 In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:32: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/bio.h:313:69: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] OSSL_DEPRECATEDIN_3_0 void BIO_set_callback(BIO *b, BIO_callback_fn callback); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :47:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:32: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/bio.h:323:53: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex callback); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :51:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:34: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/x509.h:31: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/evp.h:28: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/core_dispatch.h:16: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/indicator.h:18: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/params.h:16: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/bn.h:103:47: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback)(int, int, void *), ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :88:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:34: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/x509.h:31: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/evp.h:28: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/core_dispatch.h:16: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/indicator.h:18: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/params.h:16: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/bn.h:107:42: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void BN_GENCB_set(BN_GENCB *gencb, int (*callback)(int, int, BN_GENCB *), ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :92:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:34: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/x509.h:31: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/evp.h:28: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/core_dispatch.h:16: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/indicator.h:18: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/params.h:16: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/bn.h:365:12: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void (*callback)(int, int, void *), ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :96:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:34: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/x509.h:31: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/evp.h:28: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/core_dispatch.h:16: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/indicator.h:18: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/params.h:16: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/bn.h:369:12: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void (*callback)(int, int, void *), ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :100:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:34: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/x509.h:31: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/evp.h:28: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/core_dispatch.h:16: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/indicator.h:18: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/params.h:16: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/bn.h:373:12: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void (*callback)(int, int, void *), ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :104:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:34: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/x509.h:38: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/rsa.h:264:81: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void (*callback)(int, int, void *), ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :53:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:34: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/x509.h:39: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/dsa.h:31: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/dh.h:324:12: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void (*callback)(int, int, ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :82:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:34: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/x509.h:39: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/dsa.h:165:12: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void (*callback)(int, int, void *), ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :95:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:39: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/pem.h:377:22: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] pem_password_cb *callback, void *u); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :182:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:39: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/pem.h:426:22: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] pem_password_cb *callback, void *u); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :190:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:41: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/async.h:67:24: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] ASYNC_callback_fn *callback, ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :51:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: In file included from /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:41: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/async.h:70:23: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] ASYNC_callback_fn callback, ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :55:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:1686:53: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void SSL_set_verify(SSL *s, int mode, SSL_verify_cb callback); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :38:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:1840:63: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, SSL_verify_cb callback); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :49:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:1997:75: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] __owur int SSL_CTX_set_async_callback(SSL_CTX *ctx, SSL_async_callback_fn callback); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :54:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:1999:65: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] __owur int SSL_set_async_callback(SSL *s, SSL_async_callback_fn callback); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :58:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2659:65: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] int SSL_set_ct_validation_callback(SSL *s, ssl_ct_validation_cb callback, ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :84:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ In file included from ssl_stubs.c:46: /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2662:26: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] ssl_ct_validation_cb callback, ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :88:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ssl_stubs.c:335:20: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_client_method(); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2072:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:251:33: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' #define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:339:20: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_server_method(); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2071:1: note: 'TLSv1_server_method' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:251:33: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' #define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:343:20: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_method(); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2070:1: note: 'TLSv1_method' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_method(void); /* TLSv1.0 */ ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:251:33: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' #define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:353:20: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_1_client_method(); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2080:1: note: 'TLSv1_1_client_method' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_client_method(void); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:251:33: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' #define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:357:20: warning: 'TLSv1_1_server_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_1_server_method(); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2079:1: note: 'TLSv1_1_server_method' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_server_method(void); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:251:33: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' #define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:361:20: warning: 'TLSv1_1_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_1_method(); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2078:1: note: 'TLSv1_1_method' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_1_method(void); /* TLSv1.1 */ ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:251:33: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' #define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:372:20: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_2_client_method(); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2088:1: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_client_method(void); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:251:33: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' #define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:376:20: warning: 'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_2_server_method(); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2087:1: note: 'TLSv1_2_server_method' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_server_method(void); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:251:33: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' #define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:380:20: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_2_method(); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:2086:1: note: 'TLSv1_2_method' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_method(void); /* TLSv1.2 */ ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:251:33: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' #define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:446:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *cert_name = String_val(cert); ^ ~~~~~~~~~~~~~~~~ ssl_stubs.c:447:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *privkey_name = String_val(privkey); ^ ~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:477:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *cert_data = String_val(cert); ^ ~~~~~~~~~~~~~~~~ ssl_stubs.c:479:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *privkey_data = String_val(privkey); ^ ~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:495:9: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated [-Wdeprecated-declarations] rsa = PEM_read_bio_RSAPrivateKey(kbio, NULL, 0, NULL); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/pem.h:457:24: note: 'PEM_read_bio_RSAPrivateKey' has been explicitly marked deprecated here DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:496:22: warning: 'SSL_CTX_use_RSAPrivateKey' is deprecated [-Wdeprecated-declarations] if (NULL == rsa || SSL_CTX_use_RSAPrivateKey(ctx, rsa) <= 0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ssl.h:1848:1: note: 'SSL_CTX_use_RSAPrivateKey' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:556:9: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] int (*callback) (int, X509_STORE_CTX*) = NULL; ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :109:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ssl_stubs.c:585:5: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] callback = (int(*) (int, X509_STORE_CTX*))Field(vcallback, 0); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :113:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ssl_stubs.c:588:33: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] SSL_CTX_set_verify(ctx, mode, callback); ^ /opt/pkg/lib/ocaml/caml/compatibility.h:71:18: note: expanded from macro 'callback' #define callback CAML_DEPRECATED("callback", "caml_callback") caml_callback ^ /opt/pkg/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /opt/pkg/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :117:6: note: expanded from here GCC warning "\"callback\" is deprecated: use \"caml_callback\" instead" ^ ssl_stubs.c:613:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *filename = String_val(vfilename); ^ ~~~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:733:8: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *out = String_val(selected_protocol); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:824:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *ciphers = String_val(ciphers_string); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:946:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *dh_cfile_path = String_val(dh_file_path); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:960:5: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dh); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/dh.h:211:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:976:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *ec_curve_name = String_val(curve_name); ^ ~~~~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:987:10: warning: 'EC_KEY_new_by_curve_name' is deprecated [-Wdeprecated-declarations] ecdh = EC_KEY_new_by_curve_name(nid); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ec.h:1009:1: note: 'EC_KEY_new_by_curve_name' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:995:5: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] EC_KEY_free(ecdh); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/ec.h:1014:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ssl_stubs.c:1036:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *filename = String_val(vfilename); ^ ~~~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:1063:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *filename = String_val(vfilename); ^ ~~~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:1178:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *CAfile = String_val(ca_file); ^ ~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:1179:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *CApath = String_val(ca_path); ^ ~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:1262:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *hostname = String_val(vhostname); ^ ~~~~~~~~~~~~~~~~~~~~~ ssl_stubs.c:1794:7: warning: 'PEM_read_bio_DHparams' is deprecated [-Wdeprecated-declarations] ret=PEM_read_bio_DHparams(bio,NULL,NULL,NULL); ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/pem.h:479:21: note: 'PEM_read_bio_DHparams' has been explicitly marked deprecated here DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:229:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /var/tmp/work/security/ocaml-ssl/work/.buildlink/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED' #define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 52 warnings generated.