See
<https://jenkins.osmocom.org/jenkins/job/master-osmo-bsc/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/25079/display/redirect>
Changes:
------------------------------------------
[...truncated 286.68 KB...]
checking for cdk/cdk.h... yes
checking if gcc supports -fvisibility=hidden... yes
checking whether to enable code coverage support... no
checking for python3... yes
checking for osmotestvty.py... yes
checking whether to enable VTY/CTRL tests... yes
checking for OSMO_GSM_MANUALS_DIR... /opt/osmo-gsm-manuals (from env)
All dependencies installed!
CFLAGS=" -std=gnu11 -fsanitize=address -fsanitize=undefined -Werror
-Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp"
CPPFLAGS=" -fsanitize=address -fsanitize=undefined -Werror -Wno-error=deprecated
-Wno-error=deprecated-declarations -Wno-error=cpp"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/osmocom/Makefile
config.status: creating include/osmocom/bsc/Makefile
config.status: creating src/Makefile
config.status: creating src/osmo-bsc/Makefile
config.status: creating src/ipaccess/Makefile
config.status: creating src/utils/Makefile
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating tests/abis/Makefile
config.status: creating tests/acc/Makefile
config.status: creating tests/bsc/Makefile
config.status: creating tests/codec_pref/Makefile
config.status: creating tests/gsm0408/Makefile
config.status: creating tests/handover/Makefile
config.status: creating tests/nanobts_omlattr/Makefile
config.status: creating tests/paging/Makefile
config.status: creating tests/subscr/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/manuals/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating contrib/osmo-bsc.spec
config.status: creating Makefile
config.status: creating bscconfig.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j 12
echo 1.11.0.81-d7af > .version-t && mv .version-t .version
make all-recursive
make[1]: Entering directory '/build'
Making all in include
make[2]: Entering directory '/build/include'
Making all in osmocom
make[3]: Entering directory '/build/include/osmocom'
Making all in bsc
make[4]: Entering directory '/build/include/osmocom/bsc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/include/osmocom/bsc'
make[4]: Entering directory '/build/include/osmocom'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/include/osmocom'
make[3]: Leaving directory '/build/include/osmocom'
make[3]: Entering directory '/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/include'
make[2]: Leaving directory '/build/include'
Making all in src
make[2]: Entering directory '/build/src'
Making all in osmo-bsc
make[3]: Entering directory '/build/src/osmo-bsc'
CC osmo_bsc_main.o
CC a_reset.lo
CC abis_nm.lo
CC abis_nm_vty.lo
CC abis_om2000.lo
CC abis_osmo.lo
CC abis_om2000_vty.lo
CC abis_rsl.lo
CC acc.lo
CC assignment_fsm.lo
CC bsc_ctrl.lo
CC bsc_ctrl_lookup.lo
CC bsc_init.lo
CC bsc_rf_ctrl.lo
CC bsc_rll.lo
CC bsc_sccp.lo
CC bsc_subscr_conn_fsm.lo
CC bsc_stats.lo
CC bsc_subscriber.lo
CC bsc_vty.lo
CC bts.lo
CC bts_trx.lo
CC bts_trx_ctrl.lo
CC bts_trx_ts_ctrl.lo
CC bts_trx_ts_lchan_ctrl.lo
CC bts_ericsson_rbs2000.lo
CC bts_init.lo
CC bts_ipaccess_nanobts.lo
CC bts_ipaccess_nanobts_omlattr.lo
CC bts_nokia_site.lo
CC bts_siemens_bs11.lo
CC bts_sm.lo
CC bts_osmobts.lo
CC bts_unknown.lo
CC bts_ctrl.lo
CC bts_setup_ramp.lo
CC bts_vty.lo
CC bts_trx_vty.lo
CC chan_alloc.lo
CC chan_counts.lo
CC codec_pref.lo
CC data_rate_pref.lo
CC e1_config.lo
CC gsm_04_08_rr.lo
CC gsm_data.lo
CC handover_cfg.lo
CC handover_ctrl.lo
CC handover_decision.lo
CC handover_decision_2.lo
CC handover_fsm.lo
CC handover_logic.lo
CC handover_vty.lo
CC vgcs_fsm.lo
CC lb.lo
CC lchan.lo
CC lchan_fsm.lo
CC lchan_rtp_fsm.lo
CC lchan_select.lo
CC lcs_loc_req.lo
CC lcs_ta_req.lo
CC meas_feed.lo
CC meas_rep.lo
lchan_rtp_fsm.c: In function 'mgcp_pick_codec':
lchan_rtp_fsm.c:925:17: warning: 'codecs_len' is deprecated: use ptmap[] and
ptmap_len instead [-Wdeprecated-declarations]
925 | verb_info->codecs_len = 0;
| ^~~~~~~~~
In file included from
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_endpoint_fsm.h:4,
from lchan_rtp_fsm.c:25:
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:35:22:
note: declared here
35 | unsigned int codecs_len
| ^~~~~~~~~~
lchan_rtp_fsm.c:929:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
929 | verb_info->codecs[0] = codec;
| ^~~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c:930:9: warning: 'codecs_len' is deprecated: use ptmap[] and
ptmap_len instead [-Wdeprecated-declarations]
930 | verb_info->codecs_len = 1;
| ^~~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:35:22:
note: declared here
35 | unsigned int codecs_len
| ^~~~~~~~~~
lchan_rtp_fsm.c:941:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
941 | if (verb_info->codecs[0] == CODEC_AMR_8000_1) {
| ^~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c:946:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
946 | if (bss_side && verb_info->codecs[0] == CODEC_AMR_8000_1) {
| ^~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c:954:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
954 | else if (!bss_side && verb_info->codecs[0] == CODEC_AMR_8000_1)
{
| ^~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c: In function 'mgcp_codec_is_picked':
lchan_rtp_fsm.c:961:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
961 | return verb_info->codecs[0] == codec;
| ^~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
CC neighbor_ident.lo
CC neighbor_ident_vty.lo
CC neighbor_ident_ctrl.lo
CC net_init.lo
CC nm_common_fsm.lo
CC nm_bb_transc_fsm.lo
neighbor_ident.c: In function 'neighbor_controlif_setup':
neighbor_ident.c:493:9: warning: 'ctrl_interface_setup_dynip2' is deprecated: For
internal use inside libosmocore only. [-Wdeprecated-declarations]
493 | return ctrl_interface_setup_dynip2(net, net->neigh_ctrl.addr,
net->neigh_ctrl.port,
| ^~~~~~
In file included from neighbor_ident.c:37:
/build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:46:21: note:
declared here
46 | struct ctrl_handle *ctrl_interface_setup_dynip2(void *data,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
CC nm_bts_sm_fsm.lo
CC nm_bts_fsm.lo
CC nm_gprs_cell_fsm.lo
CC nm_gprs_nse_fsm.lo
CC nm_gprs_nsvc_fsm.lo
CC nm_channel_fsm.lo
CC nm_rcarrier_fsm.lo
CC gsm_08_08.lo
CC osmo_bsc_bssap.lo
CC osmo_bsc_filter.lo
CC osmo_bsc_grace.lo
CC osmo_bsc_lcls.lo
CC osmo_bsc_mgcp.lo
CC osmo_bsc_msc.lo
CC osmo_bsc_sigtran.lo
CC paging.lo
CC pcu_sock.lo
CC penalty_timers.lo
CC bssmap_reset.lo
CC system_information.lo
CC timeslot_fsm.lo
CC smscb.lo
CC smscb_vty.lo
CC cbch_scheduler.lo
CC cbsp_link.lo
CC power_control.lo
cbsp_link.c: In function 'cbsp_srv_link_accept_cb':
cbsp_link.c:107:42: error: passing argument 2 of 'osmo_stream_srv_set_read_cb'
from incompatible pointer type [-Werror=incompatible-pointer-types]
107 | osmo_stream_srv_set_read_cb(srv, cbsp_srv_read_cb);
| ^~~~~~~~~~~~~~~~
| |
| int (*)(struct osmo_stream_srv *, struct
msgb *)
In file included from ../../include/osmocom/bsc/smscb.h:6,
from cbsp_link.c:25:
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:122:91: note:
expected 'osmo_stream_srv_read_cb2_t' {aka 'int (*)(struct osmo_stream_srv *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_srv *,
struct msgb *)'
122 | void osmo_stream_srv_set_read_cb(struct osmo_stream_srv *conn,
osmo_stream_srv_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
cbsp_link.c: In function 'bsc_cbc_link_restart':
cbsp_link.c:213:71: error: passing argument 2 of 'osmo_stream_cli_set_read_cb2'
from incompatible pointer type [-Werror=incompatible-pointer-types]
213 | osmo_stream_cli_set_read_cb2(cbc->client.cli,
cbsp_client_read_cb);
|
^~~~~~~~~~~~~~~~~~~
| |
| int
(*)(struct osmo_stream_cli *, struct msgb *)
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:214:91: note:
expected 'osmo_stream_cli_read_cb2_t' {aka 'int (*)(struct osmo_stream_cli *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_cli *,
struct msgb *)'
214 | void osmo_stream_cli_set_read_cb2(struct osmo_stream_cli *cli,
osmo_stream_cli_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:793: cbsp_link.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/src/osmo-bsc'
make[2]: *** [Makefile:399: all-recursive] Error 1
make[2]: Leaving directory '/build/src'
make[1]: *** [Makefile:457: all-recursive] Error 1
make: *** [Makefile:389: all] Error 2
make[1]: Leaving directory '/build'
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 2700312 killed;
[ssh-agent] Stopped.
Archiving artifacts
Show replies by date
See
<https://jenkins.osmocom.org/jenkins/job/master-osmo-bsc/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/25080/display/redirect>
Changes:
------------------------------------------
[...truncated 320.85 KB...]
checking for pcap/pcap.h... yes
checking for cdk/cdk.h... yes
checking if gcc supports -fvisibility=hidden... yes
checking whether to enable code coverage support... no
checking for python3... yes
checking for osmotestvty.py... yes
checking whether to enable VTY/CTRL tests... yes
checking for OSMO_GSM_MANUALS_DIR... /opt/osmo-gsm-manuals (from env)
All dependencies installed!
CFLAGS=" -std=gnu11 -fsanitize=address -fsanitize=undefined -Werror
-Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp"
CPPFLAGS=" -fsanitize=address -fsanitize=undefined -Werror -Wno-error=deprecated
-Wno-error=deprecated-declarations -Wno-error=cpp"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/osmocom/Makefile
config.status: creating include/osmocom/bsc/Makefile
config.status: creating src/Makefile
config.status: creating src/osmo-bsc/Makefile
config.status: creating src/ipaccess/Makefile
config.status: creating src/utils/Makefile
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating tests/abis/Makefile
config.status: creating tests/acc/Makefile
config.status: creating tests/bsc/Makefile
config.status: creating tests/codec_pref/Makefile
config.status: creating tests/gsm0408/Makefile
config.status: creating tests/handover/Makefile
config.status: creating tests/nanobts_omlattr/Makefile
config.status: creating tests/paging/Makefile
config.status: creating tests/subscr/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/manuals/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating contrib/osmo-bsc.spec
config.status: creating Makefile
config.status: creating bscconfig.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j 12
echo 1.11.0.81-d7af > .version-t && mv .version-t .version
make all-recursive
make[1]: Entering directory '/build'
Making all in include
make[2]: Entering directory '/build/include'
Making all in osmocom
make[3]: Entering directory '/build/include/osmocom'
Making all in bsc
make[4]: Entering directory '/build/include/osmocom/bsc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/include/osmocom/bsc'
make[4]: Entering directory '/build/include/osmocom'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/include/osmocom'
make[3]: Leaving directory '/build/include/osmocom'
make[3]: Entering directory '/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/include'
make[2]: Leaving directory '/build/include'
Making all in src
make[2]: Entering directory '/build/src'
Making all in osmo-bsc
make[3]: Entering directory '/build/src/osmo-bsc'
CC osmo_bsc_main.o
CC a_reset.lo
CC abis_nm.lo
CC abis_nm_vty.lo
CC abis_om2000.lo
CC abis_om2000_vty.lo
CC abis_osmo.lo
CC abis_rsl.lo
CC acc.lo
CC assignment_fsm.lo
CC bsc_ctrl_lookup.lo
CC bsc_ctrl.lo
CC bsc_init.lo
CC bsc_rf_ctrl.lo
CC bsc_rll.lo
CC bsc_sccp.lo
CC bsc_stats.lo
CC bsc_subscr_conn_fsm.lo
CC bsc_subscriber.lo
CC bsc_vty.lo
CC bts.lo
CC bts_trx.lo
CC bts_trx_ctrl.lo
CC bts_trx_ts_ctrl.lo
CC bts_trx_ts_lchan_ctrl.lo
CC bts_ericsson_rbs2000.lo
CC bts_init.lo
CC bts_ipaccess_nanobts.lo
CC bts_ipaccess_nanobts_omlattr.lo
CC bts_nokia_site.lo
CC bts_siemens_bs11.lo
CC bts_sm.lo
CC bts_osmobts.lo
CC bts_unknown.lo
CC bts_ctrl.lo
CC bts_setup_ramp.lo
CC bts_vty.lo
CC bts_trx_vty.lo
CC chan_alloc.lo
CC chan_counts.lo
CC codec_pref.lo
CC data_rate_pref.lo
CC e1_config.lo
CC gsm_04_08_rr.lo
CC gsm_data.lo
CC handover_cfg.lo
CC handover_ctrl.lo
CC handover_decision.lo
CC handover_decision_2.lo
CC handover_fsm.lo
CC handover_logic.lo
CC handover_vty.lo
CC vgcs_fsm.lo
CC lb.lo
CC lchan.lo
CC lchan_fsm.lo
CC lchan_rtp_fsm.lo
CC lchan_select.lo
CC lcs_loc_req.lo
CC lcs_ta_req.lo
lchan_rtp_fsm.c: In function 'mgcp_pick_codec':
lchan_rtp_fsm.c:925:17: warning: 'codecs_len' is deprecated: use ptmap[] and
ptmap_len instead [-Wdeprecated-declarations]
925 | verb_info->codecs_len = 0;
| ^~~~~~~~~
In file included from
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_endpoint_fsm.h:4,
from lchan_rtp_fsm.c:25:
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:35:22:
note: declared here
35 | unsigned int codecs_len
| ^~~~~~~~~~
lchan_rtp_fsm.c:929:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
929 | verb_info->codecs[0] = codec;
| ^~~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c:930:9: warning: 'codecs_len' is deprecated: use ptmap[] and
ptmap_len instead [-Wdeprecated-declarations]
930 | verb_info->codecs_len = 1;
| ^~~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:35:22:
note: declared here
35 | unsigned int codecs_len
| ^~~~~~~~~~
lchan_rtp_fsm.c:941:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
941 | if (verb_info->codecs[0] == CODEC_AMR_8000_1) {
| ^~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c:946:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
946 | if (bss_side && verb_info->codecs[0] == CODEC_AMR_8000_1) {
| ^~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c:954:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
954 | else if (!bss_side && verb_info->codecs[0] == CODEC_AMR_8000_1)
{
| ^~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c: In function 'mgcp_codec_is_picked':
lchan_rtp_fsm.c:961:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
961 | return verb_info->codecs[0] == codec;
| ^~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
CC meas_feed.lo
CC meas_rep.lo
CC neighbor_ident.lo
CC neighbor_ident_vty.lo
CC neighbor_ident_ctrl.lo
CC net_init.lo
CC nm_common_fsm.lo
CC nm_bb_transc_fsm.lo
CC nm_bts_sm_fsm.lo
CC nm_bts_fsm.lo
CC nm_gprs_cell_fsm.lo
CC nm_gprs_nse_fsm.lo
neighbor_ident.c: In function 'neighbor_controlif_setup':
neighbor_ident.c:493:9: warning: 'ctrl_interface_setup_dynip2' is deprecated: For
internal use inside libosmocore only. [-Wdeprecated-declarations]
493 | return ctrl_interface_setup_dynip2(net, net->neigh_ctrl.addr,
net->neigh_ctrl.port,
| ^~~~~~
In file included from neighbor_ident.c:37:
/build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:46:21: note:
declared here
46 | struct ctrl_handle *ctrl_interface_setup_dynip2(void *data,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
CC nm_gprs_nsvc_fsm.lo
CC nm_channel_fsm.lo
CC nm_rcarrier_fsm.lo
CC gsm_08_08.lo
CC osmo_bsc_bssap.lo
CC osmo_bsc_filter.lo
CC osmo_bsc_grace.lo
CC osmo_bsc_lcls.lo
CC osmo_bsc_mgcp.lo
CC osmo_bsc_msc.lo
CC osmo_bsc_sigtran.lo
CC paging.lo
CC pcu_sock.lo
CC penalty_timers.lo
CC bssmap_reset.lo
CC system_information.lo
CC timeslot_fsm.lo
CC smscb.lo
CC smscb_vty.lo
CC cbch_scheduler.lo
CC cbsp_link.lo
CC power_control.lo
cbsp_link.c: In function 'cbsp_srv_link_accept_cb':
cbsp_link.c:107:42: error: passing argument 2 of 'osmo_stream_srv_set_read_cb'
from incompatible pointer type [-Werror=incompatible-pointer-types]
107 | osmo_stream_srv_set_read_cb(srv, cbsp_srv_read_cb);
| ^~~~~~~~~~~~~~~~
| |
| int (*)(struct osmo_stream_srv *, struct
msgb *)
In file included from ../../include/osmocom/bsc/smscb.h:6,
from cbsp_link.c:25:
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:122:91: note:
expected 'osmo_stream_srv_read_cb2_t' {aka 'int (*)(struct osmo_stream_srv *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_srv *,
struct msgb *)'
122 | void osmo_stream_srv_set_read_cb(struct osmo_stream_srv *conn,
osmo_stream_srv_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
cbsp_link.c: In function 'bsc_cbc_link_restart':
cbsp_link.c:213:71: error: passing argument 2 of 'osmo_stream_cli_set_read_cb2'
from incompatible pointer type [-Werror=incompatible-pointer-types]
213 | osmo_stream_cli_set_read_cb2(cbc->client.cli,
cbsp_client_read_cb);
|
^~~~~~~~~~~~~~~~~~~
| |
| int
(*)(struct osmo_stream_cli *, struct msgb *)
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:214:91: note:
expected 'osmo_stream_cli_read_cb2_t' {aka 'int (*)(struct osmo_stream_cli *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_cli *,
struct msgb *)'
214 | void osmo_stream_cli_set_read_cb2(struct osmo_stream_cli *cli,
osmo_stream_cli_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
cc1: all warnings being treated as errors
make[3]: Leaving directory '/build/src/osmo-bsc'
make[3]: *** [Makefile:793: cbsp_link.lo] Error 1
make[2]: Leaving directory '/build/src'
make[2]: *** [Makefile:399: all-recursive] Error 1
make[1]: Leaving directory '/build'
make[1]: *** [Makefile:457: all-recursive] Error 1
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 3014954 killed;
[ssh-agent] Stopped.
Archiving artifacts
See
<https://jenkins.osmocom.org/jenkins/job/master-osmo-bsc/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/25081/display/redirect>
Changes:
------------------------------------------
[...truncated 312.42 KB...]
checking for pcap/pcap.h... yes
checking for cdk/cdk.h... yes
checking if gcc supports -fvisibility=hidden... yes
checking whether to enable code coverage support... no
checking for python3... yes
checking for osmotestvty.py... yes
checking whether to enable VTY/CTRL tests... yes
checking for OSMO_GSM_MANUALS_DIR... /opt/osmo-gsm-manuals (from env)
All dependencies installed!
CFLAGS=" -std=gnu11 -fsanitize=address -fsanitize=undefined -Werror
-Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp"
CPPFLAGS=" -fsanitize=address -fsanitize=undefined -Werror -Wno-error=deprecated
-Wno-error=deprecated-declarations -Wno-error=cpp"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/osmocom/Makefile
config.status: creating include/osmocom/bsc/Makefile
config.status: creating src/Makefile
config.status: creating src/osmo-bsc/Makefile
config.status: creating src/ipaccess/Makefile
config.status: creating src/utils/Makefile
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating tests/abis/Makefile
config.status: creating tests/acc/Makefile
config.status: creating tests/bsc/Makefile
config.status: creating tests/codec_pref/Makefile
config.status: creating tests/gsm0408/Makefile
config.status: creating tests/handover/Makefile
config.status: creating tests/nanobts_omlattr/Makefile
config.status: creating tests/paging/Makefile
config.status: creating tests/subscr/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/manuals/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating contrib/osmo-bsc.spec
config.status: creating Makefile
config.status: creating bscconfig.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j 12
echo 1.11.0.81-d7af > .version-t && mv .version-t .version
make all-recursive
make[1]: Entering directory '/build'
Making all in include
make[2]: Entering directory '/build/include'
Making all in osmocom
make[3]: Entering directory '/build/include/osmocom'
Making all in bsc
make[4]: Entering directory '/build/include/osmocom/bsc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/include/osmocom/bsc'
make[4]: Entering directory '/build/include/osmocom'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/include/osmocom'
make[3]: Leaving directory '/build/include/osmocom'
make[3]: Entering directory '/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/include'
make[2]: Leaving directory '/build/include'
Making all in src
make[2]: Entering directory '/build/src'
Making all in osmo-bsc
make[3]: Entering directory '/build/src/osmo-bsc'
CC osmo_bsc_main.o
CC a_reset.lo
CC abis_nm.lo
CC abis_om2000_vty.lo
CC abis_nm_vty.lo
CC abis_om2000.lo
CC abis_rsl.lo
CC abis_osmo.lo
CC acc.lo
CC assignment_fsm.lo
CC bsc_ctrl.lo
CC bsc_ctrl_lookup.lo
CC bsc_init.lo
CC bsc_rf_ctrl.lo
CC bsc_rll.lo
CC bsc_sccp.lo
CC bsc_stats.lo
CC bsc_subscr_conn_fsm.lo
CC bsc_subscriber.lo
CC bsc_vty.lo
CC bts.lo
CC bts_trx.lo
CC bts_trx_ctrl.lo
CC bts_trx_ts_ctrl.lo
CC bts_trx_ts_lchan_ctrl.lo
CC bts_ericsson_rbs2000.lo
CC bts_init.lo
CC bts_ipaccess_nanobts.lo
CC bts_ipaccess_nanobts_omlattr.lo
CC bts_nokia_site.lo
CC bts_siemens_bs11.lo
CC bts_sm.lo
CC bts_osmobts.lo
CC bts_unknown.lo
CC bts_ctrl.lo
CC bts_setup_ramp.lo
CC bts_vty.lo
CC bts_trx_vty.lo
CC chan_alloc.lo
CC chan_counts.lo
CC codec_pref.lo
CC data_rate_pref.lo
CC e1_config.lo
CC gsm_04_08_rr.lo
CC gsm_data.lo
CC handover_cfg.lo
CC handover_ctrl.lo
CC handover_decision.lo
CC handover_decision_2.lo
CC handover_fsm.lo
CC handover_logic.lo
CC handover_vty.lo
CC vgcs_fsm.lo
CC lb.lo
CC lchan.lo
CC lchan_fsm.lo
CC lchan_rtp_fsm.lo
CC lchan_select.lo
CC lcs_loc_req.lo
CC lcs_ta_req.lo
CC meas_feed.lo
CC meas_rep.lo
lchan_rtp_fsm.c: In function 'mgcp_pick_codec':
lchan_rtp_fsm.c:925:17: warning: 'codecs_len' is deprecated: use ptmap[] and
ptmap_len instead [-Wdeprecated-declarations]
925 | verb_info->codecs_len = 0;
| ^~~~~~~~~
In file included from
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_endpoint_fsm.h:4,
from lchan_rtp_fsm.c:25:
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:35:22:
note: declared here
35 | unsigned int codecs_len
| ^~~~~~~~~~
lchan_rtp_fsm.c:929:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
929 | verb_info->codecs[0] = codec;
| ^~~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c:930:9: warning: 'codecs_len' is deprecated: use ptmap[] and
ptmap_len instead [-Wdeprecated-declarations]
930 | verb_info->codecs_len = 1;
| ^~~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:35:22:
note: declared here
35 | unsigned int codecs_len
| ^~~~~~~~~~
lchan_rtp_fsm.c:941:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
941 | if (verb_info->codecs[0] == CODEC_AMR_8000_1) {
| ^~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c:946:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
946 | if (bss_side && verb_info->codecs[0] == CODEC_AMR_8000_1) {
| ^~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c:954:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
954 | else if (!bss_side && verb_info->codecs[0] == CODEC_AMR_8000_1)
{
| ^~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
lchan_rtp_fsm.c: In function 'mgcp_codec_is_picked':
lchan_rtp_fsm.c:961:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead
[-Wdeprecated-declarations]
961 | return verb_info->codecs[0] == codec;
| ^~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26:
note: declared here
33 | enum mgcp_codecs codecs[MGCP_MAX_CODECS]
| ^~~~~~
CC neighbor_ident.lo
CC neighbor_ident_vty.lo
CC neighbor_ident_ctrl.lo
CC net_init.lo
CC nm_common_fsm.lo
CC nm_bb_transc_fsm.lo
CC nm_bts_sm_fsm.lo
CC nm_bts_fsm.lo
CC nm_gprs_cell_fsm.lo
CC nm_gprs_nse_fsm.lo
neighbor_ident.c: In function 'neighbor_controlif_setup':
neighbor_ident.c:493:9: warning: 'ctrl_interface_setup_dynip2' is deprecated: For
internal use inside libosmocore only. [-Wdeprecated-declarations]
493 | return ctrl_interface_setup_dynip2(net, net->neigh_ctrl.addr,
net->neigh_ctrl.port,
| ^~~~~~
In file included from neighbor_ident.c:37:
/build/deps/install/stow/libosmocore/include/osmocom/ctrl/control_if.h:46:21: note:
declared here
46 | struct ctrl_handle *ctrl_interface_setup_dynip2(void *data,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
CC nm_gprs_nsvc_fsm.lo
CC nm_channel_fsm.lo
CC nm_rcarrier_fsm.lo
CC gsm_08_08.lo
CC osmo_bsc_bssap.lo
CC osmo_bsc_filter.lo
CC osmo_bsc_grace.lo
CC osmo_bsc_lcls.lo
CC osmo_bsc_mgcp.lo
CC osmo_bsc_msc.lo
CC osmo_bsc_sigtran.lo
CC paging.lo
CC pcu_sock.lo
CC penalty_timers.lo
CC bssmap_reset.lo
CC system_information.lo
CC timeslot_fsm.lo
CC smscb.lo
CC smscb_vty.lo
CC cbch_scheduler.lo
CC cbsp_link.lo
CC power_control.lo
cbsp_link.c: In function 'cbsp_srv_link_accept_cb':
cbsp_link.c:107:42: error: passing argument 2 of 'osmo_stream_srv_set_read_cb'
from incompatible pointer type [-Werror=incompatible-pointer-types]
107 | osmo_stream_srv_set_read_cb(srv, cbsp_srv_read_cb);
| ^~~~~~~~~~~~~~~~
| |
| int (*)(struct osmo_stream_srv *, struct
msgb *)
In file included from ../../include/osmocom/bsc/smscb.h:6,
from cbsp_link.c:25:
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:122:91: note:
expected 'osmo_stream_srv_read_cb2_t' {aka 'int (*)(struct osmo_stream_srv *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_srv *,
struct msgb *)'
122 | void osmo_stream_srv_set_read_cb(struct osmo_stream_srv *conn,
osmo_stream_srv_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
cbsp_link.c: In function 'bsc_cbc_link_restart':
cbsp_link.c:213:71: error: passing argument 2 of 'osmo_stream_cli_set_read_cb2'
from incompatible pointer type [-Werror=incompatible-pointer-types]
213 | osmo_stream_cli_set_read_cb2(cbc->client.cli,
cbsp_client_read_cb);
|
^~~~~~~~~~~~~~~~~~~
| |
| int
(*)(struct osmo_stream_cli *, struct msgb *)
/build/deps/install/stow/libosmo-netif/include/osmocom/netif/stream.h:214:91: note:
expected 'osmo_stream_cli_read_cb2_t' {aka 'int (*)(struct osmo_stream_cli *,
int, struct msgb *)'} but argument is of type 'int (*)(struct osmo_stream_cli *,
struct msgb *)'
214 | void osmo_stream_cli_set_read_cb2(struct osmo_stream_cli *cli,
osmo_stream_cli_read_cb2_t read_cb);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
cc1: all warnings being treated as errors
make[3]: Leaving directory '/build/src/osmo-bsc'
make[3]: *** [Makefile:793: cbsp_link.lo] Error 1
make[2]: *** [Makefile:399: all-recursive] Error 1
make[2]: Leaving directory '/build/src'
make[1]: Leaving directory '/build'
make[1]: *** [Makefile:457: all-recursive] Error 1
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 3172430 killed;
[ssh-agent] Stopped.
Archiving artifacts
See
<https://jenkins.osmocom.org/jenkins/job/master-osmo-bsc/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/25082/display/redirect?page=changes>