=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for srain-1.3.2nb16 ninja: Entering directory `output' [1/93] Generating data/srain-resources_c with a custom command [2/93] Generating data/srain-resources_h with a custom command [3/93] Generating src/meta.h with a custom command [4/93] Compiling C object src/srain.p/meson-generated_.._.._data_srain-resources.c.o [5/93] Compiling C object src/srain.p/config_manager.c.o [6/93] Compiling C object src/srain.p/config_password.c.o [7/93] Compiling C object src/srain.p/config_reader.c.o [8/93] Compiling C object src/srain.p/core_app.c.o [9/93] Compiling C object src/srain.p/core_app_config.c.o [10/93] Compiling C object src/srain.p/core_app_irc_event.c.o ../src/core/app_irc_event.c:336:19: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] nick_match = !g_strcasecmp(srv->cfg->user->nick, nick); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:267:1: note: 'g_strcasecmp' has been explicitly marked deprecated here GLIB_DEPRECATED ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:30:25: note: expanded from macro 'GLIB_DEPRECATED' #define GLIB_DEPRECATED G_DEPRECATED _GLIB_EXTERN ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gmacros.h:1263:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ ../src/core/app_irc_event.c:939:9: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal val; ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gmacros.h:1325:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gmacros.h:1273:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ ../src/core/app_irc_event.c:940:9: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time(&val); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gmain.h:727:1: note: 'g_get_current_time' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_get_real_time) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gmacros.h:1273:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ ../src/core/app_irc_event.c:942:22: warning: 'g_time_val_to_iso8601' is deprecated: Use 'g_date_time_format' instead [-Wdeprecated-declarations] char *time = g_time_val_to_iso8601(&val); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gtimer.h:74:1: note: 'g_time_val_to_iso8601' has been explicitly marked deprecated here GLIB_DEPRECATED_IN_2_62_FOR(g_date_time_format) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:650:40: note: expanded from macro 'GLIB_DEPRECATED_IN_2_62_FOR' #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:31:32: note: expanded from macro 'GLIB_DEPRECATED_FOR' #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gmacros.h:1273:44: note: expanded from macro 'G_DEPRECATED_FOR' #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) ^ ../src/core/app_irc_event.c:1039:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] rawcaps = params[2]; ^ ~~~~~~~~~ ../src/core/app_irc_event.c:1050:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] rawcaps = params[3]; ^ ~~~~~~~~~ 6 warnings generated. [11/93] Compiling C object src/srain.p/core_app_ui_event.c.o [12/93] Compiling C object src/srain.p/core_app_url.c.o [13/93] Compiling C object src/srain.p/core_chat.c.o [14/93] Compiling C object src/srain.p/core_chat_command.c.o [15/93] Compiling C object src/srain.p/core_chat_config.c.o [16/93] Compiling C object src/srain.p/core_chat_user.c.o [17/93] Compiling C object src/srain.p/core_login_config.c.o [18/93] Compiling C object src/srain.p/core_message.c.o [19/93] Compiling C object src/srain.p/core_server.c.o [20/93] Compiling C object src/srain.p/core_server_cap.c.o [21/93] Compiling C object src/srain.p/core_server_config.c.o [22/93] Compiling C object src/srain.p/core_server_state.c.o [23/93] Compiling C object src/srain.p/core_server_user.c.o [24/93] Compiling C object src/srain.p/core_srain.c.o [25/93] Compiling C object src/srain.p/core_user_config.c.o [26/93] Compiling C object src/srain.p/filter_filter.c.o [27/93] Compiling C object src/srain.p/filter_log_filter.c.o [28/93] Compiling C object src/srain.p/filter_pattern_filter.c.o ../src/filter/pattern_filter.c:127:13: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(lst->data, pattern) == 0) { ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:267:1: note: 'g_strcasecmp' has been explicitly marked deprecated here GLIB_DEPRECATED ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:30:25: note: expanded from macro 'GLIB_DEPRECATED' #define GLIB_DEPRECATED G_DEPRECATED _GLIB_EXTERN ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gmacros.h:1263:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ ../src/filter/pattern_filter.c:155:13: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(lst->data, pattern) == 0) { ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:267:1: note: 'g_strcasecmp' has been explicitly marked deprecated here GLIB_DEPRECATED ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/glib-visibility.h:30:25: note: expanded from macro 'GLIB_DEPRECATED' #define GLIB_DEPRECATED G_DEPRECATED _GLIB_EXTERN ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/glib-2.0/glib/gmacros.h:1263:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ 2 warnings generated. [29/93] Compiling C object src/srain.p/filter_user_filter.c.o [30/93] Compiling C object src/srain.p/lib_command.c.o [31/93] Compiling C object src/srain.p/lib_command_test.c.o [32/93] Compiling C object src/srain.p/lib_extra_data.c.o [33/93] Compiling C object src/srain.p/lib_libecdsaauth_base64.c.o [34/93] Compiling C object src/srain.p/lib_libecdsaauth_keypair.c.o ../src/lib/libecdsaauth/keypair.c:31:15: warning: 'EC_KEY_new_by_curve_name' is deprecated [-Wdeprecated-declarations] key->eckey = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1017: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); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:32:2: warning: 'EC_KEY_set_conv_form' is deprecated [-Wdeprecated-declarations] EC_KEY_set_conv_form(key->eckey, POINT_CONVERSION_COMPRESSED); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1094:1: note: 'EC_KEY_set_conv_form' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:45:3: warning: 'EC_KEY_generate_key' is deprecated [-Wdeprecated-declarations] EC_KEY_generate_key(key->eckey); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1120:1: note: 'EC_KEY_generate_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:70:2: warning: 'PEM_read_ECPrivateKey' is deprecated [-Wdeprecated-declarations] PEM_read_ECPrivateKey(in, &key->eckey, NULL, NULL); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/pem.h:466:24: note: 'PEM_read_ECPrivateKey' has been explicitly marked deprecated here DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:73:2: warning: 'EC_KEY_set_conv_form' is deprecated [-Wdeprecated-declarations] EC_KEY_set_conv_form(key->eckey, POINT_CONVERSION_COMPRESSED); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1094:1: note: 'EC_KEY_set_conv_form' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:74:7: warning: 'EC_KEY_check_key' is deprecated [-Wdeprecated-declarations] if (!EC_KEY_check_key(key->eckey)) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1126:1: note: 'EC_KEY_check_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:91:2: warning: 'o2i_ECPublicKey' is deprecated [-Wdeprecated-declarations] o2i_ECPublicKey(&key->eckey, &pubkey_raw_p, len); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1255:1: note: 'o2i_ECPublicKey' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:92:7: warning: 'EC_KEY_check_key' is deprecated [-Wdeprecated-declarations] if (!EC_KEY_check_key(key->eckey)) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1126:1: note: 'EC_KEY_check_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:113:38: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return libecdsaauth_key_from_pubkey(workbuf, len); ^~~~~~~ ../src/lib/libecdsaauth/keypair.c:86:65: note: passing argument to parameter 'pubkey_raw' here libecdsaauth_key_t *libecdsaauth_key_from_pubkey(unsigned char *pubkey_raw, size_t len) ^ ../src/lib/libecdsaauth/keypair.c:122:3: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] EC_KEY_free(key->eckey); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1022:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:135:18: warning: 'i2o_ECPublicKey' is deprecated [-Wdeprecated-declarations] return (size_t) i2o_ECPublicKey(key->eckey, NULL); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1264:1: note: 'i2o_ECPublicKey' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:154:2: warning: 'i2o_ECPublicKey' is deprecated [-Wdeprecated-declarations] i2o_ECPublicKey(key->eckey, &keybuf_p); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1264:1: note: 'i2o_ECPublicKey' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/keypair.c:176:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] base64_encode(keybuf, keylen, b64buf, sizeof b64buf); ^~~~~~ ../src/inc/libecdsaauth/base64.h:46:41: note: passing argument to parameter 'src' here extern size_t base64_encode(char const *src, size_t srclength, char *target, size_t targsize); ^ 13 warnings generated. [35/93] Compiling C object src/srain.p/lib_libecdsaauth_op.c.o ../src/lib/libecdsaauth/op.c:30:11: warning: 'ECDSA_verify' is deprecated [-Wdeprecated-declarations] if (1 != ECDSA_verify(0, blob, len, sig, siglen, key->eckey)) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1466:1: note: 'ECDSA_verify' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst, ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/op.c:44:37: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] siglen = base64_decode(sig_base64, sigbuf, sizeof sigbuf); ^~~~~~ ../src/inc/libecdsaauth/base64.h:47:52: note: passing argument to parameter 'target' here extern size_t base64_decode(char const *src, char *target, size_t targsize); ^ ../src/lib/libecdsaauth/op.c:60:12: warning: 'ECDSA_size' is deprecated [-Wdeprecated-declarations] sig_len = ECDSA_size(key->eckey); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1474:1: note: 'ECDSA_size' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/op.c:64:7: warning: 'ECDSA_sign' is deprecated [-Wdeprecated-declarations] if (!ECDSA_sign(0, in, inlen, sig_buf_p, &sig_len, key->eckey)) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/ec.h:1433:1: note: 'ECDSA_sign' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst, ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/op.c:86:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = base64_decode(in, inbuf, sizeof inbuf); ^~ ../src/inc/libecdsaauth/base64.h:47:41: note: passing argument to parameter 'src' here extern size_t base64_decode(char const *src, char *target, size_t targsize); ^ ../src/lib/libecdsaauth/op.c:91:30: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!libecdsaauth_sign(key, inbuf, len, &outbuf_p, &buflen)) ^~~~~ ../src/lib/libecdsaauth/op.c:52:64: note: passing argument to parameter 'in' here bool libecdsaauth_sign(libecdsaauth_key_t *key, unsigned char *in, size_t inlen, unsigned char **out, size_t *outlen) ^ ../src/lib/libecdsaauth/op.c:98:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = base64_encode(outbuf_p, buflen, buf, sizeof buf); ^~~~~~~~ ../src/inc/libecdsaauth/base64.h:46:41: note: passing argument to parameter 'src' here extern size_t base64_encode(char const *src, size_t srclength, char *target, size_t targsize); ^ ../src/lib/libecdsaauth/op.c:82:17: warning: variable 'workbuf_p' set but not used [-Wunused-but-set-variable] unsigned char *workbuf_p, *outbuf_p; ^ ../src/lib/libecdsaauth/op.c:118:2: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] RAND_pseudo_bytes(challenge->blob, sizeof(challenge->blob)); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/rand.h:79:1: note: 'RAND_pseudo_bytes' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:216:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /Users/pbulk/build/chat/srain/work/.buildlink/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../src/lib/libecdsaauth/op.c:166:39: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bloblen = base64_decode(blob_base64, blob, sizeof blob); ^~~~ ../src/inc/libecdsaauth/base64.h:47:52: note: passing argument to parameter 'target' here extern size_t base64_decode(char const *src, char *target, size_t targsize); ^ 10 warnings generated. [36/93] Compiling C object src/srain.p/lib_i18n.c.o [37/93] Compiling C object src/srain.p/lib_log.c.o [38/93] Compiling C object src/srain.p/lib_markup_renderer.c.o [39/93] Compiling C object src/srain.p/lib_path.c.o FAILED: src/srain.p/lib_path.c.o clang -Isrc/srain.p -Isrc -I../src -I../src/inc -I../src/config -I../src/core -I../src/filter -I../src/render -I../src/lib -I../src/sirc -I../src/sui -Idata -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/libsoup-2.4 -I/opt/pkg/include/libxml2 -I/opt/pkg/include/libsecret-1 -fdiagnostics-color=always -Wall -Winvalid-pch -pipe -Os -D_REENTRANT -MD -MQ src/srain.p/lib_path.c.o -MF src/srain.p/lib_path.c.o.d -o src/srain.p/lib_path.c.o -c ../src/lib/path.c ../src/lib/path.c:393:7: error: redefinition of 'srn_get_executable_path' char *srn_get_executable_path() { ^ ../src/lib/path.c:374:7: note: previous definition is here char *srn_get_executable_path() { ^ ../src/lib/path.c:394:20: error: use of undeclared identifier 'CTL_KERN' int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; ^ ../src/lib/path.c:394:30: error: use of undeclared identifier 'KERN_PROC' int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; ^ ../src/lib/path.c:394:41: error: use of undeclared identifier 'KERN_PROC_PATHNAME' int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; ^ ../src/lib/path.c:399:8: warning: implicit declaration of function 'sysctl' is invalid in C99 [-Wimplicit-function-declaration] if(sysctl(mib, 4, rawPath, &sz, NULL, 0) == -1) { ^ ../src/lib/path.c:406:7: error: redefinition of 'srn_get_executable_dir' char *srn_get_executable_dir() { ^ ../src/lib/path.c:385:7: note: previous definition is here char *srn_get_executable_dir() { ^ 1 warning and 5 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/srain *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/srain