See https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/10994/display/redirect
Changes:
------------------------------------------ [...truncated 278.99 KB...] CC abis_rsl.o CC acc_ramp.o CC bsc_rll.o CC bsc_subscriber.o abis_om2000_vty.c: In function ‘cfg_bts_alt_mode’: abis_om2000_vty.c:427:20: warning: unused variable ‘cg’ [-Wunused-variable] struct con_group *cg; ^~ In file included from https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/gsm48.h:10, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from abis_nm.c:37: abis_nm.c: In function ‘abis_nm_rx_get_attr_resp’: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/tlv.h:548:35: warning: passing argument 2 of ‘parse_attr_resp_info_unreported’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define TLVP_VAL(x, y) (x)->lv[y].val ~~~~~~~~~~^~~~ abis_nm.c:560:50: note: in expansion of macro ‘TLVP_VAL’ data = parse_attr_resp_info_unreported(bts->nr, TLVP_VAL(&tp, NM_ATT_GET_ARI), TLVP_LEN(&tp, NM_ATT_GET_ARI), ^~~~~~~~ abis_nm.c:458:81: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘const uint8_t *’ {aka ‘const unsigned char *’} static inline uint8_t *parse_attr_resp_info_unreported(uint8_t bts_nr, uint8_t *ari, uint16_t ari_len, uint16_t *out_len) ~~~~~~~~~^~~ CC paging.o CC bts_ericsson_rbs2000.o CC bts_ipaccess_nanobts.o paging.c: In function ‘page_ms’: paging.c:88:3: warning: ‘gsm48_generate_mid_from_imsi’ is deprecated: Instead use: l = msgb_tl_put(msg, GSM48_IE_MOBILE_ID); *l = osmo_mobile_identity_encode_msgb(...) [-Wdeprecated-declarations] mi_len = gsm48_generate_mid_from_imsi(mi, request->bsub->imsi); ^~~~~~ In file included from paging.c:42: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/gsm48.h:56:5: note: declared here int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ paging.c:90:3: warning: ‘gsm48_generate_mid_from_tmsi’ is deprecated: Instead use: l = msgb_tl_put(msg, GSM48_IE_MOBILE_ID); *l = osmo_mobile_identity_encode_msgb(...) [-Wdeprecated-declarations] mi_len = gsm48_generate_mid_from_tmsi(mi, request->bsub->tmsi); ^~~~~~ In file included from paging.c:42: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/gsm48.h:53:5: note: declared here int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ bts_ericsson_rbs2000.c: In function ‘inp_sig_cb’: bts_ericsson_rbs2000.c:121:3: warning: enumeration value ‘E1INP_SIGN_NONE’ not handled in switch [-Wswitch] switch (isd->link_type) { ^~~~~~ bts_ericsson_rbs2000.c:121:3: warning: enumeration value ‘E1INP_SIGN_RSL’ not handled in switch [-Wswitch] bts_ericsson_rbs2000.c:121:3: warning: enumeration value ‘E1INP_SIGN_OSMO’ not handled in switch [-Wswitch] CC bts_siemens_bs11.o CC bts_nokia_site.o CC bts_unknown.o bts_siemens_bs11.c: In function ‘inp_sig_cb’: bts_siemens_bs11.c:573:3: warning: enumeration value ‘E1INP_SIGN_NONE’ not handled in switch [-Wswitch] switch (isd->link_type) { ^~~~~~ bts_siemens_bs11.c:573:3: warning: enumeration value ‘E1INP_SIGN_RSL’ not handled in switch [-Wswitch] bts_siemens_bs11.c:573:3: warning: enumeration value ‘E1INP_SIGN_OSMO’ not handled in switch [-Wswitch] bts_nokia_site.c: In function ‘inp_sig_cb’: bts_nokia_site.c:156:3: warning: enumeration value ‘E1INP_SIGN_NONE’ not handled in switch [-Wswitch] switch (isd->link_type) { ^~~~~~ bts_nokia_site.c:156:3: warning: enumeration value ‘E1INP_SIGN_RSL’ not handled in switch [-Wswitch] bts_nokia_site.c:156:3: warning: enumeration value ‘E1INP_SIGN_OSMO’ not handled in switch [-Wswitch] CC bts_sysmobts.o CC chan_alloc.o CC handover_decision.o CC handover_logic.o CC meas_rep.o CC pcu_sock.o CC rest_octets.o CC system_information.o CC e1_config.o pcu_sock.c: In function ‘pcu_tx_info_ind’: pcu_sock.c:208:2: warning: #warning "isn't dl_tbf_ext wrong?: * 10 and no ntohs" [-Wcpp] #warning "isn't dl_tbf_ext wrong?: * 10 and no ntohs" ^~~~~~~ pcu_sock.c:210:2: warning: #warning "isn't ul_tbf_ext wrong?: * 10 and no ntohs" [-Wcpp] #warning "isn't ul_tbf_ext wrong?: * 10 and no ntohs" ^~~~~~~ pcu_sock.c: In function ‘pcu_rx_data_req’: pcu_sock.c:362:25: warning: unused variable ‘ts’ [-Wunused-variable] struct gsm_bts_trx_ts *ts; ^~ pcu_sock.c:361:22: warning: unused variable ‘trx’ [-Wunused-variable] struct gsm_bts_trx *trx; ^~~ pcu_sock.c:360:10: warning: unused variable ‘is_ptcch’ [-Wunused-variable] uint8_t is_ptcch; ^~~~~~~~ CC bsc_api.o system_information.c: In function ‘band_compatible’: system_information.c:51:7: warning: ‘gsm_arfcn2band’ is deprecated: Use gsm_arfcn2band_rc() instead [-Wdeprecated-declarations] enum gsm_band band = gsm_arfcn2band(arfcn); ^~~~~~~~ In file included from https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/protocol/gsm_04_08.h:12, from https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/sysinfo.h:9, from system_information.c:32: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/gsm_utils.h:161:15: note: declared here enum gsm_band gsm_arfcn2band(uint16_t arfcn) OSMO_DEPRECATED("Use gsm_arfcn2band_rc() instead"); ^~~~~~~~~~~~~~ e1_config.c: In function ‘e1_reconfig_ts’: e1_config.c:68:37: warning: passing argument 3 of ‘e1inp_ts_config_trau’ from incompatible pointer type [-Wincompatible-pointer-types] e1inp_ts_config_trau(e1_ts, line, subch_cb); ^~~~~~~~ In file included from ../../include/openbsc/gsm_data_shared.h:21, from ../../include/openbsc/gsm_data.h:178, from e1_config.c:26: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/abis/e1_input.h:291:32: note: expected ‘int (*)(struct subch_demux *, int, const ubit_t *, int, void *)’ {aka ‘int (*)(struct subch_demux *, int, const unsigned char *, int, void *)’} but argument is of type ‘int (*)(struct subch_demux *, int, uint8_t *, int, void *)’ {aka ‘int (*)(struct subch_demux *, int, unsigned char *, int, void *)’} int (*trau_rcv_cb)(struct subch_demux *dmx, int ch, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const ubit_t *data, int len, void *_priv)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsc_api.c: In function ‘lchan_to_chosen_channel’: bsc_api.c:55:2: warning: enumeration value ‘GSM48_CMODE_SPEECH_V1_VAMOS’ not handled in switch [-Wswitch] switch (lchan->tch_mode) { ^~~~~~ bsc_api.c:55:2: warning: enumeration value ‘GSM48_CMODE_SPEECH_V2_VAMOS’ not handled in switch [-Wswitch] bsc_api.c:55:2: warning: enumeration value ‘GSM48_CMODE_SPEECH_V3_VAMOS’ not handled in switch [-Wswitch] bsc_api.c:55:2: warning: enumeration value ‘GSM48_CMODE_SPEECH_V5_VAMOS’ not handled in switch [-Wswitch] CC bsc_msc.o CC bsc_vty.o CC gsm_04_08_utils.o gsm_04_08_utils.c: In function ‘gsm48_extract_mi’: gsm_04_08_utils.c:284:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] return gsm48_mi_to_string(mi_string, GSM48_MI_SIZE, mi_lv+1, *mi_lv); ^~~~~~ In file included from gsm_04_08_utils.c:31: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/gsm48.h:65:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ CC gsm_04_80_utils.o CC bsc_init.o CC bts_init.o CC bsc_rf_ctrl.o gsm_04_80_utils.c: In function ‘bsc_send_ussd_release_complete’: gsm_04_80_utils.c:36:9: warning: ‘gsm0480_create_ussd_release_complete’ is deprecated: Use gsm0480_create_release_complete() instead. [-Wdeprecated-declarations] struct msgb *msg = gsm0480_create_ussd_release_complete(); ^~~~ In file included from gsm_04_80_utils.c:22: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/gsm0480.h:120:14: note: declared here struct msgb *gsm0480_create_ussd_release_complete(void) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC arfcn_range_encode.o In file included from https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/crypt/auth.h:10, from ../../include/openbsc/gsm_data.h:16, from abis_nm.c:37: abis_nm.c: In function ‘abis_nm_perform_test’: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/core/msgb.h:337:20: error: potential null pointer dereference [-Werror=null-dereference] if (OSMO_UNLIKELY(msgb_headroom(msgb) < (int) len)) ^~~~~~~~~~~~~~~~~~~ https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/core/utils.h:44:48: note: in definition of macro ‘OSMO_UNLIKELY’ #define OSMO_UNLIKELY(exp) __builtin_expect(!!(exp), 0) ^~~ https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/core/msgb.h:337:20: error: potential null pointer dereference [-Werror=null-dereference] if (OSMO_UNLIKELY(msgb_headroom(msgb) < (int) len)) ^~~~~~~~~~~~~~~~~~~ https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/core/utils.h:44:48: note: in definition of macro ‘OSMO_UNLIKELY’ #define OSMO_UNLIKELY(exp) __builtin_expect(!!(exp), 0) ^~~ CC bsc_ctrl_commands.o CC bsc_ctrl_lookup.o CC net_init.o CC bsc_dyn_ts.o CC bts_ipaccess_nanobts_omlattr.o cc1: some warnings being treated as errors make[3]: *** [Makefile:525: abis_nm.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src/libbsc' make[2]: *** [Makefile:429: all-recursive] Error 1 make[2]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src' make[1]: *** [Makefile:455: all-recursive] Error 1 make[1]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc' make: *** [Makefile:387: all] Error 2 + make make all-recursive make[1]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc' Making all in doc make[2]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/doc' Making all in examples make[3]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/doc/examples' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/doc/examples' make[3]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/doc' make[2]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/doc' Making all in include make[2]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/include' Making all in openbsc make[3]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/include/openbsc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/include/openbsc' make[3]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/include' make[2]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/include' Making all in src make[2]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src' Making all in libcommon make[3]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src/libcommon' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src/libcommon' Making all in libmgcp make[3]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src/libmgcp' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src/libmgcp' Making all in libbsc make[3]: Entering directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src/libbsc' CC abis_nm.o In file included from https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/gsm48.h:10, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from abis_nm.c:37: abis_nm.c: In function ‘abis_nm_rx_get_attr_resp’: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/gsm/tlv.h:548:35: warning: passing argument 2 of ‘parse_attr_resp_info_unreported’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] #define TLVP_VAL(x, y) (x)->lv[y].val ~~~~~~~~~~^~~~ abis_nm.c:560:50: note: in expansion of macro ‘TLVP_VAL’ data = parse_attr_resp_info_unreported(bts->nr, TLVP_VAL(&tp, NM_ATT_GET_ARI), TLVP_LEN(&tp, NM_ATT_GET_ARI), ^~~~~~~~ abis_nm.c:458:81: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘const uint8_t *’ {aka ‘const unsigned char *’} static inline uint8_t *parse_attr_resp_info_unreported(uint8_t bts_nr, uint8_t *ari, uint16_t ari_len, uint16_t *out_len) ~~~~~~~~~^~~ In file included from https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/crypt/auth.h:10, from ../../include/openbsc/gsm_data.h:16, from abis_nm.c:37: abis_nm.c: In function ‘abis_nm_perform_test’: https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/core/msgb.h:337:20: error: potential null pointer dereference [-Werror=null-dereference] if (OSMO_UNLIKELY(msgb_headroom(msgb) < (int) len)) ^~~~~~~~~~~~~~~~~~~ https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/core/utils.h:44:48: note: in definition of macro ‘OSMO_UNLIKELY’ #define OSMO_UNLIKELY(exp) __builtin_expect(!!(exp), 0) ^~~ https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/core/msgb.h:337:20: error: potential null pointer dereference [-Werror=null-dereference] if (OSMO_UNLIKELY(msgb_headroom(msgb) < (int) len)) ^~~~~~~~~~~~~~~~~~~ https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/inst-osmo-nitb/include/osmocom/core/utils.h:44:48: note: in definition of macro ‘OSMO_UNLIKELY’ #define OSMO_UNLIKELY(exp) __builtin_expect(!!(exp), 0) ^~~ cc1: some warnings being treated as errors make[3]: *** [Makefile:525: abis_nm.o] Error 1 make[3]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src/libbsc' make[2]: *** [Makefile:429: all-recursive] Error 1 make[2]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc/src' make[1]: *** [Makefile:455: all-recursive] Error 1 make[1]: Leaving directory 'https://jenkins.osmocom.org/jenkins/job/osmo-gsm-tester_build-osmo-nitb/ws/openbsc/openbsc' make: *** [Makefile:387: all] Error 2 Build step 'Execute shell' marked build as failure Skipped archiving because build is not successful