See
<https://jenkins.osmocom.org/jenkins/job/master-openbsc/IU=--disable-iu,MGCP=--disable-mgcp-transcoding,SMPP=--enable-smpp,a4=default,label=osmocom-master/16357/display/redirect>
Changes:
------------------------------------------
[...truncated 428.62 KB...]
102 | nat->stats.ussd.reconn =
osmo_counter_alloc("nat.ussd.conn");
| ^~~
/build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:47:22: note: declared
here
47 | struct osmo_counter *osmo_counter_alloc(const char *name)
| ^~~~~~~~~~~~~~~~~~
bsc_nat_utils.c: In function 'bsc_nat_free':
bsc_nat_utils.c:130:9: warning: 'osmo_counter_free' is deprecated: Implement as
osmo_stat_item instead [-Wdeprecated-declarations]
130 | osmo_counter_free(nat->stats.sccp.conn);
| ^~~~~~~~~~~~~~~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:50:6: note: declared
here
50 | void osmo_counter_free(struct osmo_counter *ctr)
| ^~~~~~~~~~~~~~~~~
bsc_nat_utils.c:131:9: warning: 'osmo_counter_free' is deprecated: Implement as
osmo_stat_item instead [-Wdeprecated-declarations]
131 | osmo_counter_free(nat->stats.sccp.calls);
| ^~~~~~~~~~~~~~~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:50:6: note: declared
here
50 | void osmo_counter_free(struct osmo_counter *ctr)
| ^~~~~~~~~~~~~~~~~
bsc_nat_utils.c:132:9: warning: 'osmo_counter_free' is deprecated: Implement as
osmo_stat_item instead [-Wdeprecated-declarations]
132 | osmo_counter_free(nat->stats.bsc.reconn);
| ^~~~~~~~~~~~~~~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:50:6: note: declared
here
50 | void osmo_counter_free(struct osmo_counter *ctr)
| ^~~~~~~~~~~~~~~~~
bsc_nat_utils.c:133:9: warning: 'osmo_counter_free' is deprecated: Implement as
osmo_stat_item instead [-Wdeprecated-declarations]
133 | osmo_counter_free(nat->stats.bsc.auth_fail);
| ^~~~~~~~~~~~~~~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:50:6: note: declared
here
50 | void osmo_counter_free(struct osmo_counter *ctr)
| ^~~~~~~~~~~~~~~~~
bsc_nat_utils.c:134:9: warning: 'osmo_counter_free' is deprecated: Implement as
osmo_stat_item instead [-Wdeprecated-declarations]
134 | osmo_counter_free(nat->stats.msc.reconn);
| ^~~~~~~~~~~~~~~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:50:6: note: declared
here
50 | void osmo_counter_free(struct osmo_counter *ctr)
| ^~~~~~~~~~~~~~~~~
bsc_nat_utils.c:135:9: warning: 'osmo_counter_free' is deprecated: Implement as
osmo_stat_item instead [-Wdeprecated-declarations]
135 | osmo_counter_free(nat->stats.ussd.reconn);
| ^~~~~~~~~~~~~~~~~
/build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:50:6: note: declared
here
50 | void osmo_counter_free(struct osmo_counter *ctr)
| ^~~~~~~~~~~~~~~~~
CC bsc_sccp.o
CC bsc_ussd.o
CC bsc_nat_ctrl.o
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_sccp.c: In function 'create_sccp_src_ref':
bsc_sccp.c:132:9: warning: 'osmo_counter_inc' is deprecated: Implement as
osmo_stat_item instead [-Wdeprecated-declarations]
132 | osmo_counter_inc(bsc->cfg->nat->stats.sccp.conn);
| ^~~~~~~~~~~~~~~~
In file included from
/build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2,
from ../../include/openbsc/bsc_nat.h:34,
from bsc_sccp.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)
| ^~~~~~~~~~~~~~~~
CC bsc_nat_rewrite.o
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_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.");
| ^~~~~~~~~~~~~
CC bsc_nat_rewrite_trie.o
CC bsc_nat_filter.o
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
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_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)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
CC osmo_bsc_msc.o
CC osmo_bsc_sccp.o
CC osmo_bsc_filter.o
CC osmo_bsc_bssap.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_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)
| ^~~~~~~~~~~~~~~~~~
CC osmo_bsc_audio.o
CC osmo_bsc_ctrl.o
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 1371827 killed;
[ssh-agent] Stopped.
Archiving artifacts