Changes:
------------------------------------------ [...truncated 429.92 KB...] bsc_ussd.c: In function 'ussd_listen_cb': bsc_ussd.c:250:9: warning: 'osmo_counter_inc' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] 250 | osmo_counter_inc(nat->stats.ussd.reconn); | ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/bsc_nat.h:34, from bsc_ussd.c:23: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:28:20: note: declared here 28 | static inline void osmo_counter_inc(struct osmo_counter *ctr) | ^~~~~~~~~~~~~~~~ bsc_ussd.c: In function 'bsc_ussd_check': bsc_ussd.c:428:17: warning: 'gsm0480_decode_ussd_request' is deprecated: Use gsm0480_decode_ss_request() instead [-Wdeprecated-declarations] 428 | if (gsm0480_decode_ussd_request(hdr48, len, &req) != 1) | ^~ In file included from bsc_ussd.c:30: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm0480.h:50:5: note: declared here 50 | int gsm0480_decode_ussd_request(const struct gsm48_hdr *hdr, uint16_t len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bsc_nat_vty.c: In function 'dump_stat_total': bsc_nat_vty.c:295:17: warning: 'osmo_counter_get' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] 295 | osmo_counter_get(nat->stats.sccp.conn), | ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from bsc_nat_vty.c:22: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:35:29: note: declared here 35 | static inline unsigned long osmo_counter_get(struct osmo_counter *ctr) | ^~~~~~~~~~~~~~~~ bsc_nat_vty.c:296:17: warning: 'osmo_counter_get' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] 296 | osmo_counter_get(nat->stats.sccp.calls), VTY_NEWLINE); | ^~~~~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:35:29: note: declared here 35 | static inline unsigned long osmo_counter_get(struct osmo_counter *ctr) | ^~~~~~~~~~~~~~~~ bsc_nat_vty.c:298:17: warning: 'osmo_counter_get' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] 298 | osmo_counter_get(nat->stats.msc.reconn), VTY_NEWLINE); | ^~~~~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:35:29: note: declared here 35 | static inline unsigned long osmo_counter_get(struct osmo_counter *ctr) | ^~~~~~~~~~~~~~~~ bsc_nat_vty.c:302:17: warning: 'osmo_counter_get' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] 302 | osmo_counter_get(nat->stats.bsc.reconn), | ^~~~~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:35:29: note: declared here 35 | static inline unsigned long osmo_counter_get(struct osmo_counter *ctr) | ^~~~~~~~~~~~~~~~ bsc_nat_vty.c:303:17: warning: 'osmo_counter_get' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] 303 | osmo_counter_get(nat->stats.bsc.auth_fail), VTY_NEWLINE); | ^~~~~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:35:29: note: declared here 35 | static inline unsigned long osmo_counter_get(struct osmo_counter *ctr) | ^~~~~~~~~~~~~~~~ bsc_nat.c: In function 'forward_sccp_to_bts': bsc_nat.c:726:33: warning: 'osmo_counter_inc' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] 726 | osmo_counter_inc(nat->stats.sccp.calls); | ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/bsc_nat.h:34, from bsc_nat.c:44: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:28:20: note: declared here 28 | static inline void osmo_counter_inc(struct osmo_counter *ctr) | ^~~~~~~~~~~~~~~~ bsc_nat.c: In function 'msc_connection_connected': bsc_nat.c:815:9: warning: 'osmo_counter_inc' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] 815 | osmo_counter_inc(nat->stats.msc.reconn); | ^~~~~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:28:20: note: declared here 28 | static inline void osmo_counter_inc(struct osmo_counter *ctr) | ^~~~~~~~~~~~~~~~ bsc_nat.c: In function 'bsc_close_connection': bsc_nat.c:952:17: warning: 'ctrl_cmd_send' is deprecated: Use ctrl_cmd_send2() instead. [-Wdeprecated-declarations] 952 | ctrl_cmd_send(&cmd_entry->cmd->ccon->write_queue, cmd_entry->cmd); | ^~~~~~~~~~~~~ In file included from bsc_nat.c:53: /build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:31:5: note: declared here 31 | int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd) OSMO_DEPRECATED("Use ctrl_cmd_send2() instead."); | ^~~~~~~~~~~~~ bsc_nat.c: In function 'verify_key': bsc_nat.c:1028:9: warning: 'osmo_auth_gen_vec' is deprecated: Use osmo_auth_gen_vec2 instead [-Wdeprecated-declarations] 1028 | osmo_auth_gen_vec(&vec, &auth, conn->last_rand); | ^~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_data.h:16, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/ipaccess.h:5, from bsc_nat.c:47: /build/deps/install/stow/libosmocore/include/osmocom/crypt/auth.h:120:5: note: declared here 120 | int osmo_auth_gen_vec(struct osmo_auth_vector *vec, | ^~~~~~~~~~~~~~~~~ bsc_nat.c: In function 'ipaccess_listen_bsc_cb': bsc_nat.c:1394:9: warning: 'osmo_counter_inc' is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] 1394 | osmo_counter_inc(nat->stats.bsc.reconn); | ^~~~~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:28:20: note: declared here 28 | static inline void osmo_counter_inc(struct osmo_counter *ctr) | ^~~~~~~~~~~~~~~~ bsc_nat.c: In function 'main': bsc_nat.c:1620:9: warning: 'osmo_init_logging' is deprecated: use osmo_init_logging2() instead to avoid a NULL talloc ctx [-Wdeprecated-declarations] 1620 | osmo_init_logging(&log_info); | ^~~~~~~~~~~~~~~~~ In file included from bsc_nat.c:59: /build/deps/install/stow/libosmocore/include/osmocom/core/application.h:17:5: note: declared here 17 | int osmo_init_logging(const struct log_info *) | ^~~~~~~~~~~~~~~~~ bsc_nat.c:1664:9: warning: 'telnet_init_dynif' is deprecated: This function ignores dynamic port configuration. Use telnet_init_default() instead [-Wdeprecated-declarations] 1664 | if (telnet_init_dynif(tall_bsc_ctx, NULL, vty_get_bind_addr(), | ^~ In file included from bsc_nat.c:67: /build/deps/install/stow/libosmocore/include/osmocom/vty/telnet_interface.h:49:5: note: declared here 49 | int telnet_init_dynif(void *tall_ctx, void *priv, const char *ip, int port) | ^~~~~~~~~~~~~~~~~ bsc_nat_ctrl.c: In function 'bsc_nat_handle_ctrlif_msg': bsc_nat_ctrl.c:153:25: warning: 'ctrl_cmd_send' is deprecated: Use ctrl_cmd_send2() instead. [-Wdeprecated-declarations] 153 | ctrl_cmd_send(&pending->cmd->ccon->write_queue, cmd); | ^~~~~~~~~~~~~ In file included from bsc_nat_ctrl.c:25: /build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:31:5: note: declared here 31 | int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd) OSMO_DEPRECATED("Use ctrl_cmd_send2() instead."); | ^~~~~~~~~~~~~ bsc_nat_ctrl.c:173:9: warning: 'ctrl_cmd_send' is deprecated: Use ctrl_cmd_send2() instead. [-Wdeprecated-declarations] 173 | ctrl_cmd_send(&bsc->write_queue, cmd); | ^~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:31:5: note: declared here 31 | int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd) OSMO_DEPRECATED("Use ctrl_cmd_send2() instead."); | ^~~~~~~~~~~~~ bsc_nat_ctrl.c: In function 'pending_timeout_cb': bsc_nat_ctrl.c:184:9: warning: 'ctrl_cmd_send' is deprecated: Use ctrl_cmd_send2() instead. [-Wdeprecated-declarations] 184 | ctrl_cmd_send(&pending->cmd->ccon->write_queue, pending->cmd); | ^~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:31:5: note: declared here 31 | int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd) OSMO_DEPRECATED("Use ctrl_cmd_send2() instead."); | ^~~~~~~~~~~~~ bsc_nat_ctrl.c: In function 'forward_to_bsc': bsc_nat_ctrl.c:279:17: warning: 'ctrl_cmd_send' is deprecated: Use ctrl_cmd_send2() instead. [-Wdeprecated-declarations] 279 | if (ctrl_cmd_send(&bsc->write_queue, bsc_cmd)) { | ^~ /build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:31:5: note: declared here 31 | int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd) OSMO_DEPRECATED("Use ctrl_cmd_send2() instead."); | ^~~~~~~~~~~~~ bsc_nat_rewrite.c: In function 'rewrite_sms': bsc_nat_rewrite.c:500:9: warning: 'gsm48_decode_bcd_number' is deprecated: Use gsm48_decode_bcd_number2() for improved bounds checking [-Wdeprecated-declarations] 500 | gsm48_decode_bcd_number(smsc_addr, ARRAY_SIZE(smsc_addr), dest_addr_ptr - 1, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:13, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_nat_rewrite.c:27: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48_ie.h:16:5: note: declared here 16 | int gsm48_decode_bcd_number(char *output, int output_len, | ^~~~~~~~~~~~~~~~~~~~~~~ bsc_nat_rewrite.c:546:9: warning: 'gsm48_decode_bcd_number' is deprecated: Use gsm48_decode_bcd_number2() for improved bounds checking [-Wdeprecated-declarations] 546 | gsm48_decode_bcd_number(_dest_nr + 2, ARRAY_SIZE(_dest_nr) - 2, | ^~~~~~~~~~~~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48_ie.h:16:5: note: declared here 16 | int gsm48_decode_bcd_number(char *output, int output_len, | ^~~~~~~~~~~~~~~~~~~~~~~ CCLD osmo-bsc_nat make[3]: Leaving directory '/build/openbsc/src/osmo-bsc_nat' Making all in osmo-bsc make[3]: Entering directory '/build/openbsc/src/osmo-bsc' CC osmo_bsc_main.o CC osmo_bsc_vty.o CC osmo_bsc_api.o CC osmo_bsc_grace.o CC osmo_bsc_msc.o CC osmo_bsc_sccp.o CC osmo_bsc_filter.o CC osmo_bsc_bssap.o CC osmo_bsc_audio.o CC osmo_bsc_ctrl.o osmo_bsc_msc.c: In function 'handle_ctrl': osmo_bsc_msc.c:233:17: warning: 'ctrl_cmd_send' is deprecated: Use ctrl_cmd_send2() instead. [-Wdeprecated-declarations] 233 | ctrl_cmd_send(&msc->msc_con->write_queue, cmd); | ^~~~~~~~~~~~~ In file included from osmo_bsc_msc.c:25: /build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:31:5: note: declared here 31 | int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd) OSMO_DEPRECATED("Use ctrl_cmd_send2() instead."); | ^~~~~~~~~~~~~ osmo_bsc_msc.c:241:17: warning: 'ctrl_cmd_send' is deprecated: Use ctrl_cmd_send2() instead. [-Wdeprecated-declarations] 241 | ctrl_cmd_send(&msc->msc_con->write_queue, cmd); | ^~~~~~~~~~~~~ /build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:31:5: note: declared here 31 | int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd) OSMO_DEPRECATED("Use ctrl_cmd_send2() instead."); | ^~~~~~~~~~~~~ osmo_bsc_msc.c: In function 'answer_challenge': osmo_bsc_msc.c:484:9: warning: 'osmo_auth_gen_vec' is deprecated: Use osmo_auth_gen_vec2 instead [-Wdeprecated-declarations] 484 | osmo_auth_gen_vec(vec, &auth, mrand); | ^~~~~~~~~~~~~~~~~ In file included from osmo_bsc_msc.c:26: /build/deps/install/stow/libosmocore/include/osmocom/crypt/auth.h:120:5: note: declared here 120 | int osmo_auth_gen_vec(struct osmo_auth_vector *vec, | ^~~~~~~~~~~~~~~~~ osmo_bsc_api.c: In function 'bsc_sapi_n_reject': osmo_bsc_api.c:141:9: warning: 'gsm0808_create_sapi_reject' is deprecated: Use gsm0808_create_sapi_reject_cause() instead [-Wdeprecated-declarations] 141 | resp = gsm0808_create_sapi_reject(dlci); | ^~~~ In file included from osmo_bsc_api.c:27: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm0808.h:80:14: note: declared here 80 | struct msgb *gsm0808_create_sapi_reject(uint8_t link_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ osmo_bsc_main.c: In function 'main': osmo_bsc_main.c:204:9: warning: 'osmo_init_logging' is deprecated: use osmo_init_logging2() instead to avoid a NULL talloc ctx [-Wdeprecated-declarations] 204 | osmo_init_logging(&log_info); | ^~~~~~~~~~~~~~~~~ In file included from osmo_bsc_main.c:37: /build/deps/install/stow/libosmocore/include/osmocom/core/application.h:17:5: note: declared here 17 | int osmo_init_logging(const struct log_info *) | ^~~~~~~~~~~~~~~~~ osmo_bsc_bssap.c: In function 'gsm88_to_chan_mode': osmo_bsc_bssap.c:74:9: warning: enumeration value 'GSM0808_PERM_FR4' not handled in switch [-Wswitch] 74 | switch (speech) { | ^~~~~~ osmo_bsc_bssap.c:74:9: warning: enumeration value 'GSM0808_PERM_FR5' not handled in switch [-Wswitch] osmo_bsc_bssap.c:74:9: warning: enumeration value 'GSM0808_PERM_HR4' not handled in switch [-Wswitch] osmo_bsc_bssap.c:74:9: warning: enumeration value 'GSM0808_PERM_HR6' not handled in switch [-Wswitch] osmo_bsc_bssap.c: In function 'bssmap_handle_paging': osmo_bsc_bssap.c:166:9: warning: 'gsm48_mi_to_string' is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] 166 | gsm48_mi_to_string(mi_string, sizeof(mi_string), | ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/bsc_api.h:6, from ../../include/openbsc/osmo_bsc.h:6, from osmo_bsc_bssap.c:21: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:68:5: note: declared here 68 | int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) | ^~~~~~~~~~~~~~~~~~ osmo_bsc_ctrl.c: In function 'osmo_bsc_send_trap': osmo_bsc_ctrl.c:55:9: error: implicit declaration of function 'ctrl_cmd_send'; did you mean 'ctrl_cmd_trap'? [-Werror=implicit-function-declaration] 55 | ctrl_cmd_send(&msc_con->write_queue, trap); | ^~~~~~~~~~~~~ | ctrl_cmd_trap cc1: some warnings being treated as errors make[3]: *** [Makefile:521: osmo_bsc_ctrl.o] Error 1 make[3]: Leaving directory '/build/openbsc/src/osmo-bsc' make[2]: *** [Makefile:430: all-recursive] Error 1 make[2]: Leaving directory '/build/openbsc/src' make[1]: *** [Makefile:457: all-recursive] Error 1 make[1]: Leaving directory '/build/openbsc' make: *** [Makefile:389: all] Error 2 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 616816 killed; [ssh-agent] Stopped. Archiving artifacts